systemd: do not use host system-uid/gid ranges
authorAnssi Hannula <anssi.hannula@bitwise.fi>
Thu, 8 Mar 2018 14:25:09 +0000 (16:25 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 9 Mar 2018 21:35:21 +0000 (22:35 +0100)
commit183d2097ffef5d8d7e1ac07d3b613ecacdd8c876
treea1f068b24ec97ad562ca9a58c267caf909408a6e
parent3df649aa4206bc68181f3e8bb7f624d1adcacba6
systemd: do not use host system-uid/gid ranges

systemd meson.build uses values from host /etc/login.defs if
system-uid-max and system-gid-max build options are not explicitly
specified.

Avoid that by setting system-uid-max and system-gid-max to 999 which is
the systemd default if SYSTEM_UID_MAX and SYSTEM_GID_MAX are not set in
/etc/login.defs.

Signed-off-by: Anssi Hannula <anssi.hannula@bitwise.fi>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/systemd/systemd.mk