package/systemd: add userdb support
PATCH 1/1 package/systemd: add userdb support
systemd-userdbd is a system service that multiplexes user/group lookups to all local services that provide JSON user/group record definitions to the system. In addition it synthesizes JSON user/group records from classic UNIX/glibc NSS user/group records in order to provide full backwards compatibility.
--- package/systemd/Config.in | 11 +++++++++++ package/systemd/systemd.mk | 7 ++++++- 2 files changed, 17 insertions(+), 1 deletion(-)
package/systemd/Config.in +11 -0
@@ -233,6 +233,17 @@ config BR2_PACKAGE_SYSTEMD_LOCALED http://www.freedesktop.org/software/systemd/man/systemd-localed.service.html +config BR2_PACKAGE_SYSTEMD_USERDB + bool "enable userdb daemon" + help + systemd-userdbd is a system service that multiplexes user/group + lookups to all local services that provide JSON user/group record + definitions to the system. In addition it synthesizes JSON + user/group records from classic UNIX/glibc NSS user/group records + in order to provide full backwards compatibility. + + https://www.freedesktop.org/software/systemd/man/systemd-userdbd.service.html + config BR2_PACKAGE_SYSTEMD_LOGIND bool "enable login daemon" help
package/systemd/systemd.mk +6 -1
@@ -42,7 +42,6 @@ SYSTEMD_CONF_OPTS += \ -Dnobody-group=nogroup \ -Didn=true \ -Drepart=false \ - -Duserdb=false \ -Dhomed=false \ -Dnss-systemd=true
@@ -305,6 +304,12 @@ else SYSTEMD_CONF_OPTS += -Dlocaled=false endif +ifeq ($(BR2_PACKAGE_SYSTEMD_USERDB),y) +SYSTEMD_CONF_OPTS += -Duserdb=true +else +SYSTEMD_CONF_OPTS += -Duserdb=false +endif + ifeq ($(BR2_PACKAGE_SYSTEMD_COREDUMP),y) SYSTEMD_CONF_OPTS += -Dcoredump=true SYSTEMD_COREDUMP_USER = systemd-coredump -1 systemd-coredump -1 * /var/lib/systemd/coredump - - Core Dumper
Signature · 1 line
2.20.1
PATCH 1/1 package/systemd: add userdb support
Quoted 18 lines · On Sun, 8 Mar 2020 03:39:58 -0600 James Hilliard <[email protected]>…
systemd-userdbd is a system service that multiplexes user/group lookups to all local services that provide JSON user/group record definitions to the system. In addition it synthesizes JSON user/group records from classic UNIX/glibc NSS user/group records in order to provide full backwards compatibility.
Signed-off-by James Hilliard <[email protected]>--- package/systemd/Config.in | 11 +++++++++++ package/systemd/systemd.mk | 7 ++++++- 2 files changed, 17 insertions(+), 1 deletion(-)package/systemd/Config.in +0
-0@@ -233,6 +233,17 @@ config BR2_PACKAGE_SYSTEMD_LOCALED
package/systemd/Config.in config BR2_PACKAGE_SYSTEMD_LOCALED · line 243
Quoted 10 lines
package/systemd/Config.in +8
-0http://www.freedesktop.org/software/systemd/man/systemd-localed.service.html +config BR2_PACKAGE_SYSTEMD_USERDB + bool "enable userdb daemon" + help + systemd-userdbd is a system service that multiplexes user/group + lookups to all local services that provide JSON user/group record + definitions to the system. In addition it synthesizes JSON + user/group records from classic UNIX/glibc NSS user/group records + in order to provide full backwards compatibility.
These lines were too long, check-package complained.
Also, alphabetic ordering of options was not respected here.
I fixed both, and applied to next. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com