aims team mailing list archive
-
aims team
-
Mailing list archive
-
Message #00965
[Bug 1289730] Re: [RFC PATCH] alsactl: Do not run udev rule before datadir is mounted
On 2014-06-13 11:20, Takashi Iwai wrote:
>> +++ b/alsactl/90-alsa-restore.rules.in
>> @@ -1,4 +1,4 @@
>> -ACTION=="add", SUBSYSTEM=="sound", KERNEL=="controlC*", KERNELS!="card*", GOTO="alsa_restore_go"
>> +ACTION=="add", SUBSYSTEM=="sound", KERNEL=="controlC*", KERNELS!="card*", TEST=="@sbindir@", TEST=="@datadir@", GOTO="alsa_restore_go"
>> GOTO="alsa_restore_end"
>
> IMO, it's better to use @mydatadir@ instead of @datadir@ here and...
Oops, sorry about that. Thanks for the review!
Attaching a fixup patch.
--
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic
** Patch added: "0001-alsactl-Fixup-test-for-mydatadir-sbindir.patch"
https://bugs.launchpad.net/bugs/1289730/+attachment/4130900/+files/0001-alsactl-Fixup-test-for-mydatadir-sbindir.patch
--
You received this bug notification because you are a member of AIMS,
which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1289730
Title:
systemd-udev fails to execute alsactl during start-up if /usr and/or
/var are separate volumes
Status in “alsa-utils” package in Ubuntu:
Incomplete
Bug description:
During system startup systemd-udev will print the following error
messages:
[ 15.089778] systemd-udevd[683]: failed to execute '/usr/sbin/alsactl' '/usr/sbin/alsactl -E HOME=/var/run/alsa restore 0': No such file or directory
[ 15.090130] systemd-udevd[684]: failed to execute '/usr/sbin/alsactl' '/usr/sbin/alsactl -E HOME=/var/run/alsa restore 1': No such file or directory
alsactl is present:
$ which alsactl
/usr/sbin/alsactl
but on a separate partition:
$ df -h /usr/sbin/alsactl
Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf
/dev/mapper/scaleo-usr 12G 6,6G 4,1G 62% /usr
$ df -h /var
Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf
/dev/mapper/scaleo-var 7,3G 2,5G 4,4G 37% /var
This suggests that systemd-udev is called before all local partitions
have been mounted.
$ lsb_release -rd
Description: Ubuntu Trusty Tahr (development branch)
Release: 14.04
$ apt-cache policy udev
udev:
Installiert: 204-5ubuntu13
Installationskandidat: 204-5ubuntu13
Versionstabelle:
*** 204-5ubuntu13 0
500 http://de.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
Kind regards,
Dominik
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-utils/+bug/1289730/+subscriptions
References