mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-24 14:32:56 +02:00
elogind: fix nobody ids
This commit is contained in:
parent
50458639f1
commit
23505ee966
2 changed files with 14 additions and 1 deletions
13
srcpkgs/elogind/patches/id-nobody.patch
Normal file
13
srcpkgs/elogind/patches/id-nobody.patch
Normal 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"
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
pkgname=elogind
|
pkgname=elogind
|
||||||
reverts="246.10_1"
|
reverts="246.10_1"
|
||||||
version=246.9.2
|
version=246.9.2
|
||||||
revision=2
|
revision=3
|
||||||
build_style=meson
|
build_style=meson
|
||||||
configure_args="-Dcgroup-controller=elogind -Dhalt-path=/usr/bin/halt
|
configure_args="-Dcgroup-controller=elogind -Dhalt-path=/usr/bin/halt
|
||||||
-Drootlibexecdir=/usr/libexec/elogind -Dreboot-path=/usr/bin/reboot
|
-Drootlibexecdir=/usr/libexec/elogind -Dreboot-path=/usr/bin/reboot
|
||||||
|
|
Loading…
Add table
Reference in a new issue