diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-09-25 16:31:42 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-10-01 17:49:31 +0200 |
commit | 53393c894dd4ab944d88acd4e7070714342d1597 (patch) | |
tree | 168cdd120b38474dfc1b41d0a4302327da8d2469 /meson_options.txt | |
parent | 28add648a8307d088d2997f7b722770af6a875c9 (diff) | |
download | systemd-53393c894dd4ab944d88acd4e7070714342d1597.tar.gz |
Look at /etc/login.defs for the system_max_[ug]id values
It makes little sense to make the boundary between systemd and user guids
configurable. Nevertheless, a completely fixed compile-time define is not
enough in two scenarios:
- the systemd_uid_max boundary has moved over time. The default used to be
500 for a long time. Systems which are upgraded over time might have users
in the wrong range, but changing existing systems is complicated and
expensive (offline disks, backups, remote systems, read-only media, etc.)
- systems are used in a heterogenous enviornment, where some vendors pick
one value and others another.
So let's make this boundary overridable using /etc/login.defs.
Fixes #3855, #10184.
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/meson_options.txt b/meson_options.txt index fc9e4379f3..a33b6e27ae 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -28,9 +28,9 @@ option('static-libsystemd', type : 'combo', description : '''install a static library for libsystemd''') option('static-libudev', type : 'combo', choices : ['false', 'true', 'pic', 'no-pic'], - description : '''install a static library for libudev''') + description : 'install a static library for libudev') option('standalone-binaries', type : 'boolean', value : 'false', - description : '''also build standalone versions of supported binaries''') + description : 'also build standalone versions of supported binaries') option('sysvinit-path', type : 'string', value : '/etc/init.d', description : 'the directory where the SysV init scripts are located') @@ -40,8 +40,10 @@ option('telinit-path', type : 'string', value : '/lib/sysvinit/telinit', description : 'path to telinit') option('rc-local', type : 'string', value : '/etc/rc.local') -option('initrd', type: 'boolean', +option('initrd', type : 'boolean', description : 'install services for use when running systemd in initrd') +option('compat-mutable-uid-boundaries', type : 'boolean', value : 'false', + description : 'look at uid boundaries in /etc/login.defs for compatibility') option('quotaon-path', type : 'string', description : 'path to quotaon') option('quotacheck-path', type : 'string', description : 'path to quotacheck') |