elogind: fix nobody ids

This commit is contained in:
Anubhav Kini 2021-05-07 18:47:30 +05:30 committed by Érico Nogueira Rolim
parent 50458639f1
commit 23505ee966
2 changed files with 14 additions and 1 deletions

View file

@ -0,0 +1,13 @@
--- src/basic/user-util.h
+++ src/basic/user-util.h
@@ -70,8 +70,8 @@ int take_etc_passwd_lock(const char *root);
#define UID_INVALID ((uid_t) -1)
#define GID_INVALID ((gid_t) -1)
-#define UID_NOBODY ((uid_t) 65534U)
-#define GID_NOBODY ((gid_t) 65534U)
+#define UID_NOBODY ((uid_t) 99U)
+#define GID_NOBODY ((gid_t) 99U)
#define ETC_PASSWD_LOCK_PATH "/etc/.pwd.lock"

View file

@ -2,7 +2,7 @@
pkgname=elogind
reverts="246.10_1"
version=246.9.2
revision=2
revision=3
build_style=meson
configure_args="-Dcgroup-controller=elogind -Dhalt-path=/usr/bin/halt
-Drootlibexecdir=/usr/libexec/elogind -Dreboot-path=/usr/bin/reboot