- Package:
- alsa-utils
- Source:
- alsa-utils
- Description:
- Utilities for configuring and using ALSA
- Submitter:
- Date:
- 2013-12-30 18:12:22 UTC
- Severity:
- normal
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.
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. 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
You know THIS IS THE ONLY Package that is producing these horrible warning messages at boot for over a month now. You might not see them but we do.
* jidanni@jidanni.org [110820 10:09 +0800]: Just a workaround: Don't reboot! Elimar
And libasound as well. But there is no need to, you can use a wrapper like /lib/udev/alsa-utils.
Will altering that file cause interactive questions from dpkg next upgrade? Thanks!
tags 636437 pending thanks * jidanni@jidanni.org [110831 19:01 +0800]: * Close your eyes the first ten seconds booting ;-) * Install alsactl in /sbin and adjust rules, init, dirs and udev.script before rebuilding the package. (See svn r2534) Elimar
ER> * Install alsactl in /sbin and adjust rules, init, dirs and ER> udev.script before rebuilding the package. (See svn r2534) I am just the most basic Debian user, although I can use su(1). Those instructions are for people who build packages.
We believe that the bug you reported is fixed in the latest version of
alsa-utils, which is due to be installed in the Debian FTP archive:
alsa-utils-udeb_1.0.24.2-2_amd64.udeb
to main/a/alsa-utils/alsa-utils-udeb_1.0.24.2-2_amd64.udeb
alsa-utils_1.0.24.2-2.debian.tar.bz2
to main/a/alsa-utils/alsa-utils_1.0.24.2-2.debian.tar.bz2
alsa-utils_1.0.24.2-2.dsc
to main/a/alsa-utils/alsa-utils_1.0.24.2-2.dsc
alsa-utils_1.0.24.2-2_amd64.deb
to main/a/alsa-utils/alsa-utils_1.0.24.2-2_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 636437@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jordi Mallach <jordi@debian.org> (supplier of updated alsa-utils package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
Format: 1.8
Date: Mon, 05 Sep 2011 22:11:57 +0200
Source: alsa-utils
Binary: alsa-utils alsa-utils-udeb
Architecture: source amd64
Version: 1.0.24.2-2
Distribution: unstable
Urgency: low
Maintainer: Debian ALSA Maintainers <pkg-alsa-devel@lists.alioth.debian.org>
Changed-By: Jordi Mallach <jordi@debian.org>
Description:
alsa-utils - Utilities for configuring and using ALSA
alsa-utils-udeb - Utilities for configuring and using ALSA (udeb) (udeb)
Closes: 636437 638369
Changes:
alsa-utils (1.0.24.2-2) unstable; urgency=low
.
[ Jordi Mallach ]
* Add aplay_interactive.patch from Takashi Iwai to revert a behaviour
change in aplay which broke festival and possibly other scripts, while
retaining the new interactive functionality via a new -i option
(closes: #638369).
.
[ Elimar Riesebieter ]
* Don't install udev rules. It is not needed to run alsactl. Instead make
init depend on "mountall" to make sure /usr and /var is mounted for
running alsactl. (Closes: #636437)
* Added "build-arch: build ; build-indep: build" to rules to satisfy lintian.
* Install utils.sh executable
Checksums-Sha1:
65955603fab10d45bfe08f88ea2cb7702b98f969 1427 alsa-utils_1.0.24.2-2.dsc
bf880fc3e7ab70fec01d001610ce86192e0fb662 33679 alsa-utils_1.0.24.2-2.debian.tar.bz2
3deae8563ca9b45069383f7fd23905b588614eb6 1167766 alsa-utils_1.0.24.2-2_amd64.deb
efbbdeef3517df098ff06326257c9d55cc977f2d 61480 alsa-utils-udeb_1.0.24.2-2_amd64.udeb
Checksums-Sha256:
982721d5f1bea7e85607ff504bbaaeb50ba57d6cc7f3c52c584b9ab7158fe038 1427 alsa-utils_1.0.24.2-2.dsc
c256bf733e3d7b1d0862f6f1ee7000a24dbe5604963f27ad616eaf3bc25761a3 33679 alsa-utils_1.0.24.2-2.debian.tar.bz2
471aa90ac76158391ad5ee92f6e9a00384bba5c326377f1f99e3a413c71573bb 1167766 alsa-utils_1.0.24.2-2_amd64.deb
9bc74d4f750e790cbe58d764d9f129e7bd1c4897470f1cbc492a328f469d0422 61480 alsa-utils-udeb_1.0.24.2-2_amd64.udeb
Files:
b984084f9a0ca30f1dd1033a3daea119 1427 sound optional alsa-utils_1.0.24.2-2.dsc
845d749355c53b3d9ffe65b72afd96d0 33679 sound optional alsa-utils_1.0.24.2-2.debian.tar.bz2
20e80f9e916fe1f6914d6cd4feaf2950 1167766 sound optional alsa-utils_1.0.24.2-2_amd64.deb
36865f9660d86972e50daba8a36e6370 61480 debian-installer optional alsa-utils-udeb_1.0.24.2-2_amd64.udeb
iEYEARECAAYFAk5mB+IACgkQJYSUupF6Il733QCgr4C5yH8Xhvo1ChgbMMiaYMVT
ShYAnicL7rWDXXS01Z+KaXA9bNkNeNeq
=Ka7c
-----END PGP SIGNATURE-----
We believe that the bug you reported is fixed in the latest version of
alsa-utils, which is due to be installed in the Debian FTP archive:
alsa-utils-udeb_1.0.24.2-2_amd64.udeb
to main/a/alsa-utils/alsa-utils-udeb_1.0.24.2-2_amd64.udeb
alsa-utils_1.0.24.2-2.debian.tar.bz2
to main/a/alsa-utils/alsa-utils_1.0.24.2-2.debian.tar.bz2
alsa-utils_1.0.24.2-2.dsc
to main/a/alsa-utils/alsa-utils_1.0.24.2-2.dsc
alsa-utils_1.0.24.2-2_amd64.deb
to main/a/alsa-utils/alsa-utils_1.0.24.2-2_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 636437@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jordi Mallach <jordi@debian.org> (supplier of updated alsa-utils package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
Format: 1.8
Date: Mon, 05 Sep 2011 22:11:57 +0200
Source: alsa-utils
Binary: alsa-utils alsa-utils-udeb
Architecture: source amd64
Version: 1.0.24.2-2
Distribution: unstable
Urgency: low
Maintainer: Debian ALSA Maintainers <pkg-alsa-devel@lists.alioth.debian.org>
Changed-By: Jordi Mallach <jordi@debian.org>
Description:
alsa-utils - Utilities for configuring and using ALSA
alsa-utils-udeb - Utilities for configuring and using ALSA (udeb) (udeb)
Closes: 636437 638369
Changes:
alsa-utils (1.0.24.2-2) unstable; urgency=low
.
[ Jordi Mallach ]
* Add aplay_interactive.patch from Takashi Iwai to revert a behaviour
change in aplay which broke festival and possibly other scripts, while
retaining the new interactive functionality via a new -i option
(closes: #638369).
.
[ Elimar Riesebieter ]
* Don't install udev rules. It is not needed to run alsactl. Instead make
init depend on "mountall" to make sure /usr and /var is mounted for
running alsactl. (Closes: #636437)
* Added "build-arch: build ; build-indep: build" to rules to satisfy lintian.
* Install utils.sh executable
Checksums-Sha1:
65955603fab10d45bfe08f88ea2cb7702b98f969 1427 alsa-utils_1.0.24.2-2.dsc
bf880fc3e7ab70fec01d001610ce86192e0fb662 33679 alsa-utils_1.0.24.2-2.debian.tar.bz2
3deae8563ca9b45069383f7fd23905b588614eb6 1167766 alsa-utils_1.0.24.2-2_amd64.deb
efbbdeef3517df098ff06326257c9d55cc977f2d 61480 alsa-utils-udeb_1.0.24.2-2_amd64.udeb
Checksums-Sha256:
982721d5f1bea7e85607ff504bbaaeb50ba57d6cc7f3c52c584b9ab7158fe038 1427 alsa-utils_1.0.24.2-2.dsc
c256bf733e3d7b1d0862f6f1ee7000a24dbe5604963f27ad616eaf3bc25761a3 33679 alsa-utils_1.0.24.2-2.debian.tar.bz2
471aa90ac76158391ad5ee92f6e9a00384bba5c326377f1f99e3a413c71573bb 1167766 alsa-utils_1.0.24.2-2_amd64.deb
9bc74d4f750e790cbe58d764d9f129e7bd1c4897470f1cbc492a328f469d0422 61480 alsa-utils-udeb_1.0.24.2-2_amd64.udeb
Files:
b984084f9a0ca30f1dd1033a3daea119 1427 sound optional alsa-utils_1.0.24.2-2.dsc
845d749355c53b3d9ffe65b72afd96d0 33679 sound optional alsa-utils_1.0.24.2-2.debian.tar.bz2
20e80f9e916fe1f6914d6cd4feaf2950 1167766 sound optional alsa-utils_1.0.24.2-2_amd64.deb
36865f9660d86972e50daba8a36e6370 61480 debian-installer optional alsa-utils-udeb_1.0.24.2-2_amd64.udeb
iEYEARECAAYFAk5mB+IACgkQJYSUupF6Il733QCgr4C5yH8Xhvo1ChgbMMiaYMVT
ShYAnicL7rWDXXS01Z+KaXA9bNkNeNeq
=Ka7c
-----END PGP SIGNATURE-----
reopen 636437 found 636437 1.0.24.2-2 thanks Upgrading and then rebooting does not eliminate the warnings.
tags 636437 + unreproducible thanks * jidanni@jidanni.org [110908 07:16 +0800]: Hmm, do you find the warning in a log file? What ist exactly the wording of the warning? I can't reproduce it? Please post the output of $ head -20 /etc/init.d/alsa-utils Elimar
ER> Hmm, do you find the warning in a log file? Impossible. The warnings occur before the filesystems are mounted, so will only appear on the screen. ER> What ist exactly the wording of the warning? I can't reproduce it? The same as before. ER> Please post the output of ER> $ head -20 /etc/init.d/alsa-utils #!/bin/sh # # alsa-utils initscript # ### BEGIN INIT INFO # Provides: alsa-utils # Required-Start: $local_fs $remote_fs # Required-Stop: $remote_fs # Default-Start: S # Default-Stop: 0 1 6 # Short-Description: Restore and store ALSA driver settings # Description: This script stores and restores mixer levels on # shutdown and bootup.On sysv-rc systems: to # disable storing of mixer levels on shutdown, # remove /etc/rc[06].d/K50alsa-utils. To disable # restoring of mixer levels on bootup, rename the # "S50alsa-utils" symbolic link in /etc/rcS.d/ to # "K50alsa-utils". ### END INIT INFO # sysv-rc-conf --list |grep alsa alsa-utils 0:off 6:off S:on I even reinstalled the kernel and rebooted. Be sure to test(1) the things you are assume are mounted... they may be mounted now, but not when you called them.
tags 636437 pending thanks @Jordi: Please upload again. Thanks * jidanni@jidanni.org [110908 10:10 +0800]: [...] Why? This is not needed. Is it really a case of mismounting? /etc/init.d/alsa-utils is waiting for $local_fs which, according to /etc/insserv.conf, provides mountall. On the other hand mountall is provided by rcS.d/S13mountall.sh. alsa-utils started as rcS.d/S26alsa-utils. As you can recognize S26 is a bit later as S13. So all should be run satisfyingly now. Well the problem was that alsa-utils/alsactl installs /lib/udev/rules.d/90-alsa-restore.rules which is not driven by the debian/rules but a default install from alsa's source package. See alsa-utils/alsactl/Makkefile.in. So we removed that file from package and delete an probably existing one by postrm. Sorry Jidanni for my incompetence. It will never happens in future again. But could you please explain how /usr/bin/test, as suggested by test(1) from you, can prevent one from such a mistake? Any help would extend my experience ;-) One thing Jirdanni; could you please a bit more friendly in the future. This will push the motivation of maintainers much more emphaticly ;-) Elimar
ER> Why? This is not needed. I thought it might be an "initrd" thing or something. Just shows how much I know. ER> But could you please explain how /usr/bin/test, as suggested by ER> test(1) from you, can prevent one from such a mistake? Any help would ER> extend my experience ;-) All I know is these days one never seems to know what is mounted when anymore.* ER> One thing Jirdanni; could you please a bit more friendly in the ER> future. This will push the motivation of maintainers much more ER> emphaticly ;-) No! I have had a permanent overdose of Don Rickles movies and am perfecting my nastiness just one notch below getting banned. *By the way, even pleading to Linus will not get boot warnings logged anywhere. No disks mounted yet... You'll just have to attach a DEC printing terminal.
LOL! /etc/default/bootlogd does not help in your system? Jordi
Wow, I wonder how we missed that. Elimar, why do we do this?
# Remove udev configfile
rm -f /lib/udev/rules.d/80-alsa.rules
rm -f /lib/udev/rules.d/90-alsa-restore.rules
These are not conffiles; they are not in /etc, and should go away as any
other normal file in a package just with a simple package upgrade.
Jordi
JM> /etc/default/bootlogd does not help in your system? Typical. You have no idea of what I am talking about. $ cat /etc/default/bootlogd # Run bootlogd at startup ? #BOOTLOGD_ENABLE=No #jidanni: BOOTLOGD_ENABLE=Yes I'm taking about the earliest messages one sees on ones screen, before any of that gets turned on. Linux can spew them to the screen, but not also copy them to memory and then later save to a file. So one needs a pencil and paper. E.g., for the messages mentioned in this bug.
* Jordi Mallach [110909 09:33 +0200]: Description suited. Ready for upload. We should do it like the M$ developers. Let a key tester like Jidanni confirm that this bug is really closed now. Elimar
* jidanni@jidanni.org [110909 15:46 +0800]: Hmm, stop the stdout, make a photo and send this (well, sized reduced please) to us. You are absolutely right. This boot sequence cant't be written to a logfile of the booting system. I've noticed now, that you are a real BOFH ;-) Elimar
ER> Take a photograph See, told ya. ER> Description suited. Ready for upload. We should do it like the M$ ER> developers. Let a key tester like Jidanni confirm that this bug is ER> really closed now. You'll be hearing from me again if the messages don't go away soon.
Mr Jidanni, I *really* count on that!
We believe that the bug you reported is fixed in the latest version of
alsa-utils, which is due to be installed in the Debian FTP archive:
alsa-utils-udeb_1.0.24.2-3_amd64.udeb
to main/a/alsa-utils/alsa-utils-udeb_1.0.24.2-3_amd64.udeb
alsa-utils_1.0.24.2-3.debian.tar.bz2
to main/a/alsa-utils/alsa-utils_1.0.24.2-3.debian.tar.bz2
alsa-utils_1.0.24.2-3.dsc
to main/a/alsa-utils/alsa-utils_1.0.24.2-3.dsc
alsa-utils_1.0.24.2-3_amd64.deb
to main/a/alsa-utils/alsa-utils_1.0.24.2-3_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 636437@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jordi Mallach <jordi@debian.org> (supplier of updated alsa-utils package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
Format: 1.8
Date: Fri, 09 Sep 2011 01:44:22 +0200
Source: alsa-utils
Binary: alsa-utils alsa-utils-udeb
Architecture: source amd64
Version: 1.0.24.2-3
Distribution: unstable
Urgency: low
Maintainer: Debian ALSA Maintainers <pkg-alsa-devel@lists.alioth.debian.org>
Changed-By: Jordi Mallach <jordi@debian.org>
Description:
alsa-utils - Utilities for configuring and using ALSA
alsa-utils-udeb - Utilities for configuring and using ALSA (udeb) (udeb)
Closes: 636437
Changes:
alsa-utils (1.0.24.2-3) unstable; urgency=low
.
[ Elimar Riesebieter ]
* Remove alsactl's native installed udev rule. Hopefully closes: #636437
really now.
Checksums-Sha1:
f413bccb15b05d7a06a62ae1624528a62615bc27 1427 alsa-utils_1.0.24.2-3.dsc
54cb9a4dfa821aa14382c4ffc49f0124b8c0ba7f 33747 alsa-utils_1.0.24.2-3.debian.tar.bz2
d6b9e16bd0a5f0d60658ce0f4e84c12e5a60f1af 1167718 alsa-utils_1.0.24.2-3_amd64.deb
93cba41ca2d6896d2e790519663ec85c6d68d735 61482 alsa-utils-udeb_1.0.24.2-3_amd64.udeb
Checksums-Sha256:
2196dba74e93ae8b70ba82e9661976057aaf5824778ec76e957aae78822ab39d 1427 alsa-utils_1.0.24.2-3.dsc
1913804e0dd6699f030dd16911b361db8eccaa05851507d58be924f67a99de1f 33747 alsa-utils_1.0.24.2-3.debian.tar.bz2
50d0d8df4117192605fcd9f9cb5734296cebdd8e07042f751bb0c7f3ccc9bb82 1167718 alsa-utils_1.0.24.2-3_amd64.deb
9b75cd912544dab347936657add7a50dbd8487c19ddd8828d09aee7fda543906 61482 alsa-utils-udeb_1.0.24.2-3_amd64.udeb
Files:
e41625fc9c7d233960c2dcb4ceca9168 1427 sound optional alsa-utils_1.0.24.2-3.dsc
c22ad51632a6e791e984e081ba9d9902 33747 sound optional alsa-utils_1.0.24.2-3.debian.tar.bz2
aef025e6616e34347e700b2f9ab6133e 1167718 sound optional alsa-utils_1.0.24.2-3_amd64.deb
689b476d5b092e826c262126116d38e9 61482 debian-installer optional alsa-utils-udeb_1.0.24.2-3_amd64.udeb
iEYEARECAAYFAk5p3HYACgkQJYSUupF6Il7IuwCfZ91mGxGSzGDJup49X+85kM7u
5SwAnieYL7oROi00OMMXTHwAHGJg8Pn9
=vURt
-----END PGP SIGNATURE-----
We believe that the bug you reported is fixed in the latest version of
alsa-utils, which is due to be installed in the Debian FTP archive:
alsa-utils-udeb_1.0.24.2-3_amd64.udeb
to main/a/alsa-utils/alsa-utils-udeb_1.0.24.2-3_amd64.udeb
alsa-utils_1.0.24.2-3.debian.tar.bz2
to main/a/alsa-utils/alsa-utils_1.0.24.2-3.debian.tar.bz2
alsa-utils_1.0.24.2-3.dsc
to main/a/alsa-utils/alsa-utils_1.0.24.2-3.dsc
alsa-utils_1.0.24.2-3_amd64.deb
to main/a/alsa-utils/alsa-utils_1.0.24.2-3_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 636437@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jordi Mallach <jordi@debian.org> (supplier of updated alsa-utils package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
Format: 1.8
Date: Fri, 09 Sep 2011 01:44:22 +0200
Source: alsa-utils
Binary: alsa-utils alsa-utils-udeb
Architecture: source amd64
Version: 1.0.24.2-3
Distribution: unstable
Urgency: low
Maintainer: Debian ALSA Maintainers <pkg-alsa-devel@lists.alioth.debian.org>
Changed-By: Jordi Mallach <jordi@debian.org>
Description:
alsa-utils - Utilities for configuring and using ALSA
alsa-utils-udeb - Utilities for configuring and using ALSA (udeb) (udeb)
Closes: 636437
Changes:
alsa-utils (1.0.24.2-3) unstable; urgency=low
.
[ Elimar Riesebieter ]
* Remove alsactl's native installed udev rule. Hopefully closes: #636437
really now.
Checksums-Sha1:
f413bccb15b05d7a06a62ae1624528a62615bc27 1427 alsa-utils_1.0.24.2-3.dsc
54cb9a4dfa821aa14382c4ffc49f0124b8c0ba7f 33747 alsa-utils_1.0.24.2-3.debian.tar.bz2
d6b9e16bd0a5f0d60658ce0f4e84c12e5a60f1af 1167718 alsa-utils_1.0.24.2-3_amd64.deb
93cba41ca2d6896d2e790519663ec85c6d68d735 61482 alsa-utils-udeb_1.0.24.2-3_amd64.udeb
Checksums-Sha256:
2196dba74e93ae8b70ba82e9661976057aaf5824778ec76e957aae78822ab39d 1427 alsa-utils_1.0.24.2-3.dsc
1913804e0dd6699f030dd16911b361db8eccaa05851507d58be924f67a99de1f 33747 alsa-utils_1.0.24.2-3.debian.tar.bz2
50d0d8df4117192605fcd9f9cb5734296cebdd8e07042f751bb0c7f3ccc9bb82 1167718 alsa-utils_1.0.24.2-3_amd64.deb
9b75cd912544dab347936657add7a50dbd8487c19ddd8828d09aee7fda543906 61482 alsa-utils-udeb_1.0.24.2-3_amd64.udeb
Files:
e41625fc9c7d233960c2dcb4ceca9168 1427 sound optional alsa-utils_1.0.24.2-3.dsc
c22ad51632a6e791e984e081ba9d9902 33747 sound optional alsa-utils_1.0.24.2-3.debian.tar.bz2
aef025e6616e34347e700b2f9ab6133e 1167718 sound optional alsa-utils_1.0.24.2-3_amd64.deb
689b476d5b092e826c262126116d38e9 61482 debian-installer optional alsa-utils-udeb_1.0.24.2-3_amd64.udeb
iEYEARECAAYFAk5p3HYACgkQJYSUupF6Il7IuwCfZ91mGxGSzGDJup49X+85kM7u
5SwAnieYL7oROi00OMMXTHwAHGJg8Pn9
=vURt
-----END PGP SIGNATURE-----
found 636437 1.0.27-2 thanks OK the bug is suddenly back.
tags 636437 fixed-upstream thx * jidanni@jidanni.org <jidanni@jidanni.org> [2013-05-12 08:31 +0800]: Elimar