[lfs-support] /etc/init.d/setclock start never run when we start to use eudev

Bruce Dubbs bruce.dubbs at gmail.com
Thu Mar 13 11:50:23 PDT 2014


xinglp wrote:
> When we use udev  (extracted from systemd) , this is a udev rule file for it.
>
> cat /etc/udev/rules.d/55-lfs.rules
>
> # /etc/udev/rules.d/55-lfs.rules: Rule definitions for LFS.
>
> # Core kernel devices
>
> # This causes the system clock to be set as soon as /dev/rtc becomes available.
> SUBSYSTEM=="rtc", ACTION=="add", MODE="0644",
> RUN+="/etc/rc.d/init.d/setclock start"
> KERNEL=="rtc", ACTION=="add", MODE="0644",
> RUN+="/etc/rc.d/init.d/setclock start"

That was in the udev-lfs tarball.  I need to add this.

> # Comms devices
>
> KERNEL=="ippp[0-9]*",       GROUP="dialout"
> KERNEL=="isdn[0-9]*",       GROUP="dialout"
> KERNEL=="isdnctrl[0-9]*",   GROUP="dialout"
> KERNEL=="dcbri[0-9]*",      GROUP="dialout"

I'm not sure these are needed.  eudev has:

50-udev-default.rules:
KERNEL=="tty[AZ]*[0-9]|pppox[0-9]*|ircomm[0-9]*|noz[0-9]* 
|rfcomm[0-9]*", GROUP="dialout"

But does anyone have ippp or isdn devices any more?  I don't even know 
what a dcbri device is.

   -- Bruce



More information about the lfs-support mailing list