I have partitions for /, /var, /usr, /home, and /usr/src.

The machine is a Dell latitude D830, running debian testing.

I don't boot it every week, but lately I have seen large sets of:

udevd: failed to execute /usr/sbin/laptop_mode ....

Unfortunately, this does not seem to be logged anywhere, so I can't
get the exact messages.

If /usr is not mounted, then no surprise that it can't execute the program.

If this binary is to be used by udev, then it must move to somewhere
(such as /sbin) that is accessible when udev runs. The same goes for any supporting files that may be needed.

A setup with /usr on a partition of its own is common, it allows a read-only mounted /usr.

udev runs before mounting filesystems, because some setups need udev
actions in order to make the other disk devices available. So, either
laptop-mode stuff moves out of /usr, or it should be decoupled from
udev so it can run a little later.

Maybe running laptop-mode later is best - or do we need power-saving from the first 10s of bootup?

Helge Hafting



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to