$ ls -l -a /etc/init.d/kmod
ls: cannot access /etc/init.d/kmod: No such file or directory

$ cat /etc/init/module-init-tools.conf 
# module-init-tools - load modules from /etc/modules
#
# This task loads the kernel modules specified in the /etc/modules file

description     "load modules from /etc/modules"

start on (startup
          and started udev)

task
script
    grep '^[^#]' /etc/modules |
        while read module args
        do
            [ "$module" ] || continue
            modprobe $module $args || :
        done
end script

$ cat /etc/init/rc.conf 
# rc - System V runlevel compatibility
#
# This task runs the old System V-style rc script when changing between
# runlevels.

description     "System V runlevel compatibility"
author          "Scott James Remnant <sc...@netsplit.com>"

emits deconfiguring-networking
emits unmounted-remote-filesystems

start on runlevel [0123456]
stop on runlevel [!$RUNLEVEL]

export RUNLEVEL
export PREVLEVEL

console output
env INIT_VERBOSE

task

exec /etc/init.d/rc $RUNLEVEL

So rc.conf is started on runlevel, but module-init-tools.conf after
udev. And this is race condition.

** Changed in: lm-sensors (Ubuntu)
       Status: Incomplete => New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lm-sensors in Ubuntu.
https://bugs.launchpad.net/bugs/1322625

Title:
  sensord daemon does not detects chips

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lm-sensors/+bug/1322625/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to