mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
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. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
ed74dc875d
commit
cb619c5831
@ -403,6 +403,18 @@ config BR2_PACKAGE_SYSTEMD_TMPFILES
|
|||||||
|
|
||||||
http://www.freedesktop.org/software/systemd/man/systemd-tmpfiles.html
|
http://www.freedesktop.org/software/systemd/man/systemd-tmpfiles.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_VCONSOLE
|
config BR2_PACKAGE_SYSTEMD_VCONSOLE
|
||||||
bool "enable vconsole tool"
|
bool "enable vconsole tool"
|
||||||
default y
|
default y
|
||||||
|
@ -41,7 +41,6 @@ SYSTEMD_CONF_OPTS += \
|
|||||||
-Dumount-path=/usr/bin/umount \
|
-Dumount-path=/usr/bin/umount \
|
||||||
-Dnobody-group=nogroup \
|
-Dnobody-group=nogroup \
|
||||||
-Didn=true \
|
-Didn=true \
|
||||||
-Duserdb=false \
|
|
||||||
-Dhomed=false \
|
-Dhomed=false \
|
||||||
-Dnss-systemd=true
|
-Dnss-systemd=true
|
||||||
|
|
||||||
@ -311,6 +310,12 @@ else
|
|||||||
SYSTEMD_CONF_OPTS += -Drepart=false
|
SYSTEMD_CONF_OPTS += -Drepart=false
|
||||||
endif
|
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)
|
ifeq ($(BR2_PACKAGE_SYSTEMD_COREDUMP),y)
|
||||||
SYSTEMD_CONF_OPTS += -Dcoredump=true
|
SYSTEMD_CONF_OPTS += -Dcoredump=true
|
||||||
SYSTEMD_COREDUMP_USER = systemd-coredump -1 systemd-coredump -1 * /var/lib/systemd/coredump - - Core Dumper
|
SYSTEMD_COREDUMP_USER = systemd-coredump -1 systemd-coredump -1 * /var/lib/systemd/coredump - - Core Dumper
|
||||||
|
Loading…
x
Reference in New Issue
Block a user