summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-09-25 16:31:42 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-10-01 17:49:31 +0200
commit53393c894dd4ab944d88acd4e7070714342d1597 (patch)
tree168cdd120b38474dfc1b41d0a4302327da8d2469 /meson.build
parent28add648a8307d088d2997f7b722770af6a875c9 (diff)
downloadsystemd-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.build')
-rw-r--r--meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 36314f7157..8083cf655b 100644
--- a/meson.build
+++ b/meson.build
@@ -1443,6 +1443,7 @@ foreach term : ['analyze',
'idn',
'ima',
'initrd',
+ 'compat-mutable-uid-boundaries',
'ldconfig',
'localed',
'logind',
@@ -3627,6 +3628,7 @@ foreach tuple : [
['libcurl'],
['idn'],
['initrd'],
+ ['compat-mutable-uid-boundaries'],
['libidn2'],
['libidn'],
['libiptc'],