Bug 415081

Summary: KDM (and logout) GRUB boot options blocked by Targetted Policy
Product: [Fedora] Fedora Reporter: Lamont Peterson <peregrine>
Component: selinux-policy-targetedAssignee: Daniel Walsh <dwalsh>
Status: CLOSED CURRENTRELEASE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: low    
Version: 8   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Current Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-30 19:06:14 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 Lamont Peterson 2007-12-07 00:00:15 UTC
Description of problem:
KDM and kwin have the ability to cause a 1-time only boot time change to GRUB 
configuration which allows them to provide the option to specify which entry 
to boot to when you select reboot.  This feature is being blocked by the 
selinux-targetted policy.

Here's the text of the denial:
avc: denied { execute } for comm=kdm dev=dm-16 egid=0 euid=0 exe=/usr/bin/kdm 
exit=-13 fsgid=0 fsuid=0 gid=0 items=0 name=grub pid=3281 
scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 sgid=0 
subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 suid=0 tclass=file 
tcontext=system_u:object_r:bootloader_exec_t:s0 tty=(none) uid=0

Comment 1 Daniel Walsh 2007-12-07 01:43:47 UTC
Fixed in selinux-policy-3.0.8-67.fc8

Comment 2 Daniel Walsh 2008-01-30 19:06:14 UTC
Bulk closing a old selinux policy bugs that were in the modified state.  If the
bug is still not fixed.  Please reopen.