Bug 248720 - policy no longer allows grub to run
policy no longer allows grub to run
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Daniel Walsh
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-07-18 09:29 EDT by Jeremy Katz
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
Fixed In Version: Current
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-08-22 10:15:17 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jeremy Katz 2007-07-18 09:29:50 EDT
grub needs to be allowed execmem (and used to be)

avc: denied { execmem } for comm="grub" egid=0 euid=0 exe="/sbin/grub" exit=-13
fsgid=0 fsuid=0 gid=0 items=0 pid=9454
scontext=system_u:system_r:unconfined_t:s0 sgid=0
subj=system_u:system_r:unconfined_t:s0 suid=0 tclass=process
tcontext=system_u:system_r:unconfined_t:s0 tty=pts4 uid=0
Comment 1 Daniel Walsh 2007-07-18 09:43:42 EDT
Currently grub (bootloader_t) has execmem but we do not have a transition from
unconfined_t.  It only transitions from init.  But it looks like this is true in
FC7 and Rawhide.

I will add the transition back to rawhide.  I believe there were other problems
with this transition in the past and that is why I turned it off, but I will
turn it back on and see what happens.  

Fixed in selinux-policy-3.0.3-1.fc8
Comment 2 Daniel Walsh 2007-08-22 10:15:17 EDT
Should be fixed in the current release

Note You need to log in before you can comment on or make changes to this bug.