Bug 465178

Summary: During suspend alsactl wants to open ./asound.state somewhere causing SELinux alert
Product: [Fedora] Fedora Reporter: Ben Gamari <bgamari>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dwalsh, jkubin, jkysela, mgrepl
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: 2008-11-04 18:32:23 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:
Attachments:
Description Flags
SELinux alert none

Description Ben Gamari 2008-10-01 22:19:42 UTC
Created attachment 319172 [details]
SELinux alert

Description of problem:
alsactl wants to open ./asound.state (which locate tells me is in /etc) during suspend, causing an SELinux alert and it seems suspend to fail.

Comment 1 Ben Gamari 2008-10-01 22:22:03 UTC
Running the recommended fix of,

$ restorecon /etc/asound.state

seems to fix this issue

Comment 2 Daniel Walsh 2008-11-04 18:32:23 UTC
Do you know how this file got created?  It has the wrong context, It could have been an update problem.   If it gets mislabeled again, please reopen the bug.    Or you you have an idea of how it got created with the wrong context.