On Wed, Aug 03, 2011 at 09:09:16AM +0800, [email protected] wrote:
> Gentlemen, you have blown it rather royally.
jidanni, I look out of my window, and I don't see the world falling in
pieces. I just see a pair of annoying messages at boot. Don't worry, it'll
be fixed.
> 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!
It seems clear that we need to move that binary to /sbin if we want to use
it like that in udev. Luckily, this was going to happen as we try to make
our delta with ubuntu smaller (they had done this change some time ago,
not sure if the reason was to avoid this or for other reasons derived from
upstart introduction).
Jordi
--
Jordi Mallach Pérez -- Debian developer http://www.debian.org/
[email protected] [email protected] http://www.sindominio.net/
GnuPG public key information available at http://oskuro.net/
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]