[Pkg-alsa-devel] Bug#636437: /usr/sbin is not mounted at boot! So don't expect that it is please

jidanni at jidanni.org jidanni at jidanni.org
Wed Aug 3 01:09:16 UTC 2011


X-Debbugs-Cc: md at linux.it
Package: alsa-utils
Version: 1.0.24.2-1
File: /lib/udev/rules.d/90-alsa-restore.rules

Gentlemen, you have blown it rather royally.

There are plenty of scripts in /lib/udev/rules.d that use RUN
$ cd /lib/udev/rules.d
$ grep RUN+= *|wc -l
123

And plenty that use /sbin

$ grep /sbin *|wc -l
26

But only one that uses /usr/sbin

$ grep /usr/sbin *|wc -l
1

And the winner is

$ grep /usr/sbin *
90-alsa-restore.rules:        RUN+="/usr/sbin/alsactl restore $attr{number}"

Which of course will fail upon boot, with plenty of errors on the console,

because /usr/sbin/ is not mounted at that time!

P.S., there already is /etc/init.d/alsa-utils so the boot case is
covered anyway.

Anyway, whatever you do, be sure you stop causing all those error
messages at boot. Thank you.





More information about the Pkg-alsa-devel mailing list