[9468] in athena10
[Debathena] #1172: reactivate: alsa-utils initscript is gone in
daemon@ATHENA.MIT.EDU (Debathena Trac)
Mon Jul 16 16:49:04 2012
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
From: "Debathena Trac" <debathena@MIT.EDU>
Cc: debathena@MIT.EDU
To: geofft@MIT.EDU
Date: Mon, 16 Jul 2012 20:49:00 -0000
Reply-To:
Message-ID: <042.8b79c71bdac88544d5889fad2917db43@mit.edu>
Content-Transfer-Encoding: 8bit
#1172: reactivate: alsa-utils initscript is gone in Natty
-----------------------+--------------------------------
Reporter: geofft | Owner:
Type: defect | Status: new
Priority: normal | Milestone: The Distant Future
Component: -- | Keywords:
Upstream bug: |
-----------------------+--------------------------------
/etc/init.d/debathena-reactivate runs
{{{
# Set the volume to zero for all sound cards, and save that state.
(/etc/init.d/alsa-utils stop all && alsactl store) > /dev/null
2>&1
}}}
As of Natty, that initscript is replaced by two Upstart jobs alsa-store
and alsa-restore, that merely run `alsactl store` / `alsactl store`:
{{{
alsa-utils (1.0.24.2-0ubuntu1) natty; urgency=low
[ David Henningsson ]
* New upstream release.
* Drop our own alsa mixer init script and udev rule, in favour of
upstream's
alsactl. Move most existing volume settings to the alsactl database.
* Dropped patches:
- move_asound_state_to_var.patch
- remove_alsaconf.patch
- alsactl_init_update_to_52bd2f8a_head.patch
* debian/rules: Call configure with --disable-alsaconf argument.
* debian/patches/alsactl_sbin.patch: Adjust upstream udev rule to call
alsactl in /sbin.
[ Luke Yelavich ]
* Create 2 new upstart jobs for storing, and restoring alsa mixer
levels, to
perform the same functionality as the systemd jobs used by RedHat et
al.
* Remove or clean up files:
- debian/dirs
- debian/init
- debian/udev.*
* debian/control: Build depend on libasound2-dev >= 1.0.24.1
* debian/postinst: Remove alsa-mixer-save.conf on upgrade
* debian/changelog.ALSA: Updated
* debian/rules: No need to run the alsa upstart jobs on package
install/upgrade
-- Luke Yelavich <themuso@ubuntu.com> Tue, 22 Feb 2011 15:56:54 +1100
}}}
So running /etc/init.d/alsa-utils stop fails, and the && presumably masks
the failure, and this line doesn't do anything. We should fix it to do
something useful, or remove it.
--
Ticket URL: <https://athena10.mit.edu/trac/ticket/1172>
Debathena <http://debathena.mit.edu>
MIT Debathena Project