Changeset 870d24c


Ignore:
Timestamp:
07/17/2023 01:40:59 AM (14 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, multilib, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/update-glibc
Children:
f24a041
Parents:
06610ce
Message:

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...

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • bootscripts/lfs/init.d/udev

    r06610ce r870d24c  
    4646      # Start the udev daemon to continually watch for, and act on,
    4747      # uevents
    48       /sbin/udevd --daemon
     48      SYSTEMD_LOG_TARGET=kmsg /sbin/udevd --daemon
    4949
    5050      # Now traverse /sys in order to "coldplug" devices that have
  • packages.ent

    r06610ce r870d24c  
    384384<!ENTITY less-fin-sbu "less than 0.1 SBU">
    385385
    386 <!ENTITY lfs-bootscripts-version "20230715">      <!-- Scripts depend on this format -->
     386<!ENTITY lfs-bootscripts-version "20230716">      <!-- Scripts depend on this format -->
    387387<!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB">
    388388<!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.xz">
Note: See TracChangeset for help on using the changeset viewer.