Bug 1379062

Summary: [selinux-policy] cannot change drive settings
Product: [Fedora] Fedora Reporter: Joachim Frieben <jfrieben>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 25CC: amigadave, dominick.grift, dwalsh, jfrieben, lvrabec, mgrepl, plautrba, zeeshanak
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: selinux-policy-3.13.1-216.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-10 15:20:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Trailing lines of /var/log/audit/audit.log caused by running gnome-disks none

Description Joachim Frieben 2016-09-24 13:52:25 UTC
Description of problem:
Under current Fedora 25, changes to drive settings are not retained: e.g. when changing APM settings of a hard disk, the user interface seems to accept the change and the password dialog window pops up and asks for the root password. However, after honouring this request, the settings window stays open in front of the main window. Clicking the "Ok" button has no effect.

Version-Release number of selected component (if applicable):
gnome-disk-utility-3.22.0-1.fc25

How reproducible:
Always

Steps to Reproduce:
1. Change APM settings of hard disk by modifying drive settings and entering the root password.

Actual results:
Settings window stays open in front of the main window.

Expected results:
Settings window gets closed after new values have been applied.

Additional info:
- The gnome-disk-utility used to work as expected at least until two weeks ago as verified with live image Fedora-Workstation-Live-x86_64-25-20160910.n.0.
- Under current Fedora 24, everything works as expected.

Comment 1 Joachim Frieben 2016-09-27 19:16:09 UTC
The issue is absent after booting the system in permissive mode.

Comment 2 Lukas Vrabec 2016-09-29 12:57:55 UTC
Could you test it and then attach output of: 

# ausearch -m AVC -ts recent 

Thanks.

Comment 3 Joachim Frieben 2016-09-29 16:49:07 UTC
Created attachment 1205986 [details]
Trailing lines of /var/log/audit/audit.log caused by running gnome-disks

(In reply to Lukas Vrabec from comment #2)
There are none. There are, however, additional lines appended to /var/log/audit/audit.log after launching gnome-disks and trying unsuccessfully to change the APM settings of the disk drive (see attachment).

Comment 4 Lukas Vrabec 2016-09-30 10:41:53 UTC
This build fixes your issue:
http://koji.fedoraproject.org/koji/buildinfo?buildID=805725


It will be in Fedora 25 repos soon.