[Desktop-packages] [Bug 1289730] Re: systemd-udev fails to execute alsactl during start-up if /usr and/or /var are separate volumes
Hi! I believe this is now fixed in Ubuntu 14.10, because the patches were included in upstream alsa-utils 1.0.28 which is in Utopic since end of July. Please confirm and reopen the bug if it is not. Thanks! Reference: http://git.alsa-project.org/?p=alsa-utils.git;a=commitdiff;h=be4565c84163a158bec5380df6c0201f738c2013 ** Changed in: alsa-utils (Ubuntu) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to alsa-utils in Ubuntu. 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: Fix Released 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 DateisystemGröße Benutzt Verf. Verw% Eingehängt auf /dev/mapper/scaleo-usr 12G6,6G 4,1G 62% /usr $ df -h /var DateisystemGröße Benutzt Verf. Verw% Eingehängt auf /dev/mapper/scaleo-var 7,3G2,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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1289730] Re: systemd-udev fails to execute alsactl during start-up if /usr and/or /var are separate volumes
Hey gang, I'm still seeing this on 14.04. I'm sorry there hasn't been activity for 60 days, but this bug is still very real and annoying. Can we reopen it? This shouldn't be happening, and it is disconcerting for less experienced users who think their system is broken when (apparently) it really isn't. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to alsa-utils in Ubuntu. 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: Confirmed 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 DateisystemGröße Benutzt Verf. Verw% Eingehängt auf /dev/mapper/scaleo-usr 12G6,6G 4,1G 62% /usr $ df -h /var DateisystemGröße Benutzt Verf. Verw% Eingehängt auf /dev/mapper/scaleo-var 7,3G2,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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1289730] Re: systemd-udev fails to execute alsactl during start-up if /usr and/or /var are separate volumes
I have confirmed that the solution proposed in comment #6 completely resolves this issue. Can this be included in 14.10 perhaps? ** Changed in: alsa-utils (Ubuntu) Status: Expired = Confirmed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to alsa-utils in Ubuntu. 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: Confirmed 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 DateisystemGröße Benutzt Verf. Verw% Eingehängt auf /dev/mapper/scaleo-usr 12G6,6G 4,1G 62% /usr $ df -h /var DateisystemGröße Benutzt Verf. Verw% Eingehängt auf /dev/mapper/scaleo-var 7,3G2,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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1289730] Re: systemd-udev fails to execute alsactl during start-up if /usr and/or /var are separate volumes
[Expired for alsa-utils (Ubuntu) because there has been no activity for 60 days.] ** Changed in: alsa-utils (Ubuntu) Status: Incomplete = Expired -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to alsa-utils in Ubuntu. 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: Expired 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 DateisystemGröße Benutzt Verf. Verw% Eingehängt auf /dev/mapper/scaleo-usr 12G6,6G 4,1G 62% /usr $ df -h /var DateisystemGröße Benutzt Verf. Verw% Eingehängt auf /dev/mapper/scaleo-var 7,3G2,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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1289730] Re: systemd-udev fails to execute alsactl during start-up if /usr and/or /var are separate volumes
I changed the first line of the file /lib/udev/rules.d/90-alsa- restore.rules to ACTION==add, SUBSYSTEM==sound, KERNEL==controlC*, KERNELS!=card*, TEST==/usr/share/alsa, TEST==/var/run/alsa, GOTO=alsa_restore_go but sometimes it still crashes when booting. I undid the change of 90 -alsa-restore.rules and checked the dmesg log. The error systemd- udevd[424]: failed to execute '/usr/sbin/alsactl' ... always occurs. So, I suppose that another problem makes it to crash. ** Attachment added: dmesg.txt https://bugs.launchpad.net/ubuntu/+source/alsa-utils/+bug/1289730/+attachment/4133816/+files/dmesg.txt -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to alsa-utils in Ubuntu. 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 DateisystemGröße Benutzt Verf. Verw% Eingehängt auf /dev/mapper/scaleo-usr 12G6,6G 4,1G 62% /usr $ df -h /var DateisystemGröße Benutzt Verf. Verw% Eingehängt auf /dev/mapper/scaleo-var 7,3G2,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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1289730] Re: systemd-udev fails to execute alsactl during start-up if /usr and/or /var are separate volumes
So I think the right way to go here is to modify /lib/udev/rules.d/90 -alsa-restore.rules and add a check of /usr/share/alsa and /var/run/alsa, so the entire file ends up like this (first line changed) : - ACTION==add, SUBSYSTEM==sound, KERNEL==controlC*, KERNELS!=card*, TEST==/usr/share/alsa, TEST==/var/run/alsa, GOTO=alsa_restore_go GOTO=alsa_restore_end LABEL=alsa_restore_go TEST!=/var/lib/alsa/state-daemon.conf, RUN+=/usr/sbin/alsactl -E HOME=/var/run/alsa restore $attr{device/number} TEST==/var/lib/alsa/state-daemon.conf, RUN+=/usr/sbin/alsactl -E HOME=/var/run/alsa nrestore $attr{device/number} LABEL=alsa_restore_end - ...because this udev rule is meant for hotplugging. In case this udev rule gets to run before /usr or /var is mounted, alsactl restore will instead be run for these cards later on, in /etc/init/alsa-restore.conf or /lib/systemd/system/basic.target.wants/alsa-restore.service. Does that make sense? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to alsa-utils in Ubuntu. 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 DateisystemGröße Benutzt Verf. Verw% Eingehängt auf /dev/mapper/scaleo-usr 12G6,6G 4,1G 62% /usr $ df -h /var DateisystemGröße Benutzt Verf. Verw% Eingehängt auf /dev/mapper/scaleo-var 7,3G2,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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1289730] Re: systemd-udev fails to execute alsactl during start-up if /usr and/or /var are separate volumes
** Tags added: patch -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to alsa-utils in Ubuntu. 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 DateisystemGröße Benutzt Verf. Verw% Eingehängt auf /dev/mapper/scaleo-usr 12G6,6G 4,1G 62% /usr $ df -h /var DateisystemGröße Benutzt Verf. Verw% Eingehängt auf /dev/mapper/scaleo-var 7,3G2,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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1289730] Re: systemd-udev fails to execute alsactl during start-up if /usr and/or /var are separate volumes
Is there any way to fix this? This problem would abort the system booting so what I can do is just reboot it and pray this time I would be the lucky one :( -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to alsa-utils in Ubuntu. 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 DateisystemGröße Benutzt Verf. Verw% Eingehängt auf /dev/mapper/scaleo-usr 12G6,6G 4,1G 62% /usr $ df -h /var DateisystemGröße Benutzt Verf. Verw% Eingehängt auf /dev/mapper/scaleo-var 7,3G2,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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1289730] Re: systemd-udev fails to execute alsactl during start-up if /usr and/or /var are separate volumes
I installed Ubuntu 14.04 two days ago and I get the same error. But not always, I didn't understand why. $ lsb_release -rd Description:Ubuntu 14.04 LTS Release:14.04 $ df -h Filesystem Size Used Avail Use% Mounted on /dev/sdb1 9.5G 364M 8.7G 4% / none4.0K 0 4.0K 0% /sys/fs/cgroup udev1.8G 4.0K 1.8G 1% /dev tmpfs 371M 1.2M 369M 1% /run none5.0M 0 5.0M 0% /run/lock none1.9G 80K 1.9G 1% /run/shm none100M 28K 100M 1% /run/user /dev/sdb11 151G 142M 144G 1% /home /dev/sdb719G 2.9G 15G 17% /usr /dev/sdb8 9.1G 667M 8.0G 8% /var /dev/sdb9 9.1G 22M 8.6G 1% /tmp /dev/sda2 233G 229G 4.4G 99% /media/marco/HD_ext_02 ** Attachment added: Picture of the message systemd-udevd[421]: failed to execute '/usr/sbin/alsactl' ...: No such file or directory https://bugs.launchpad.net/ubuntu/+source/alsa-utils/+bug/1289730/+attachment/4091245/+files/IMG_8767a.JPG -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to alsa-utils in Ubuntu. 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 DateisystemGröße Benutzt Verf. Verw% Eingehängt auf /dev/mapper/scaleo-usr 12G6,6G 4,1G 62% /usr $ df -h /var DateisystemGröße Benutzt Verf. Verw% Eingehängt auf /dev/mapper/scaleo-var 7,3G2,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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1289730] Re: systemd-udev fails to execute alsactl during start-up if /usr and/or /var are separate volumes
Hi Martin / Dominik, Just moving /usr/sbin/alsactl to /sbin/alsactl probably won't work, as alsactl uses stuff from /usr/share/alsa/init/* , and as already pointed out, there is also /var/run/* stuff that gets stored. But can somebody point me to the set of rules here? I mean, what rule says /usr can be mounted on a separate partition but /sbin can not? ** Changed in: alsa-utils (Ubuntu) Status: New = Incomplete -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to alsa-utils in Ubuntu. 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 DateisystemGröße Benutzt Verf. Verw% Eingehängt auf /dev/mapper/scaleo-usr 12G6,6G 4,1G 62% /usr $ df -h /var DateisystemGröße Benutzt Verf. Verw% Eingehängt auf /dev/mapper/scaleo-var 7,3G2,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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1289730] Re: systemd-udev fails to execute alsactl during start-up if /usr and/or /var are separate volumes
Btw. There was something tricky about this. Like, if the sound card gets discovered before /usr, then alsactl would run as an upstart or systemd job. But if /usr gets mounted before the sound card (e g on hotplugging a USB headset), then the udev rule would run alsactl instead. Does this make sense? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to alsa-utils in Ubuntu. 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 DateisystemGröße Benutzt Verf. Verw% Eingehängt auf /dev/mapper/scaleo-usr 12G6,6G 4,1G 62% /usr $ df -h /var DateisystemGröße Benutzt Verf. Verw% Eingehängt auf /dev/mapper/scaleo-var 7,3G2,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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1289730] Re: systemd-udev fails to execute alsactl during start-up if /usr and/or /var are separate volumes
Right, anything which wants to run at boot before /usr gets mounted needs to be in /bin or /sbin, not in /usr. ** Package changed: udev (Ubuntu) = alsa-utils (Ubuntu) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to alsa-utils in Ubuntu. 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: New 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 DateisystemGröße Benutzt Verf. Verw% Eingehängt auf /dev/mapper/scaleo-usr 12G6,6G 4,1G 62% /usr $ df -h /var DateisystemGröße Benutzt Verf. Verw% Eingehängt auf /dev/mapper/scaleo-var 7,3G2,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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp