Bug 626223
Summary: | Regression: SELinux blocks alsactl from creating /etc/asound.state | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Stuart D Gathman <stuart> |
Component: | alsa-utils | Assignee: | Kernel Maintainer List <kernel-maint> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | low | ||
Version: | 14 | CC: | anton, dougsland, gansalmon, itamar, jkysela, jonathan, kernel-maint, madhu.chinakonda, msimmons1618 |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-01-31 18:36:15 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Stuart D Gathman
2010-08-22 20:16:28 UTC
Still broken in kernel-2.6.33.8-149.fc13.i686 Tried it again in F14 - still doesn't work. On a hunch, I ran alsamixer from the command line, and saw that PCM was muted! Turning that up made it work. So the problem is not the driver, but pulseaudio having silly defaults for hardware. I was unable to find in the gui utils included on liveCD any place to set the other sliders. Traced the init script, and the problem is that the install did not create /etc/asound.state, and selinux blocks alsactl from creating it. The workaround was to: # touch /etc/asound.state # restorecon /etc/asound.state Then the alsamixer settings are saved on shutdown and restored on boot. This problem does not seem to be related to sonicvibes. Sonicvibes hardware just defaults to zero volume. It also fails to save mixer settings for Intel HDA. This should maybe be two bugs: 1) silly defaults for sonicvibes 2) failure to save mixer settings (for any driver) Did a new install of Fedora 14, KDE spin. System fails to reset volumn level on reboot. Poked around the halt rc script and noticed that one of the 3 files tested in the script was missing (/etc/asound.state). I had installed most of the Pulse Audio control programs (pavumon, pavman, etc) using YUM. On reboot, Master front volumn is 0, others are 100 as per what appears to be Pulse Audio defaults. Since /etc/asound.state is owned by alsa-utils, and the RPM shows an empty file should be created, the real question is, how did it get removed? Just a guess: perhaps under some circumstances, alsactl attempts to update the file by removing and creating a new one. Selinux allows the remove, but not the create. Update: Following Comment 3 (touch and restorecon on asound.state) fixes the issue on my install. This seems to be fixed in Fedora 16. Should I close it? No advice offered, so I am guessing that NEXTRELEASE is the proper code for closing the bug. It is fixed in Fedora 16 (and possibly 15, I haven't tested). |