mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-18 04:57:38 +00:00
bootscripts: udev: Set SYSTEMD_LOG_TARGET=kmsg for udevd
This makes udevd send log entries to kmsg buffer and sysklogd will pick them up. Ideally we should use "syslog" here, but at the time udevd starts, sysklogd has not started yet and /dev/log does not exist. So udevd cannot open /dev/log and it will still use stderr as a fallback. We cannot make udevd depending on sysklogd either, because it would cause a circular dependency...
This commit is contained in:
parent
06610cefab
commit
870d24c5cb
@ -45,7 +45,7 @@ case "${1}" in
|
||||
|
||||
# Start the udev daemon to continually watch for, and act on,
|
||||
# uevents
|
||||
/sbin/udevd --daemon
|
||||
SYSTEMD_LOG_TARGET=kmsg /sbin/udevd --daemon
|
||||
|
||||
# Now traverse /sys in order to "coldplug" devices that have
|
||||
# already been discovered
|
||||
|
@ -383,7 +383,7 @@
|
||||
<!ENTITY less-fin-du "4.3 MB">
|
||||
<!ENTITY less-fin-sbu "less than 0.1 SBU">
|
||||
|
||||
<!ENTITY lfs-bootscripts-version "20230715"> <!-- Scripts depend on this format -->
|
||||
<!ENTITY lfs-bootscripts-version "20230716"> <!-- Scripts depend on this format -->
|
||||
<!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB">
|
||||
<!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.xz">
|
||||
<!ENTITY lfs-bootscripts-md5 "BOOTSCRIPTS-MD5SUM">
|
||||
|
Loading…
Reference in New Issue
Block a user