Ticket #1172 (new defect)
reactivate: alsa-utils initscript is gone in Natty
Reported by: | geofft | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | The Distant Future |
Component: | -- | Keywords: | |
Cc: | Fixed in version: | ||
Upstream bug: |
Description
/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.
Change History
comment:2 Changed 12 years ago by geofft
Yeah, this code hasn't been / shouldn't have been working since Lucid:
alsa-utils (1.0.21-1ubuntu2) lucid; urgency=low * debian/init: Stop muting on reboot/shutdown. The original intent was to prevent pops, and that's just a hack for broken linux that is now causing more problems than it resolves. -- Daniel T Chen <crimsun@ubuntu.com> Sat, 12 Dec 2009 23:04:50 -0500
Note: See
TracTickets for help on using
tickets.
Oh, and apparently the mute functionality wasn't even _really_ intended to be used via the initscript: