Bug 521932

Summary: SELinux policy load can't possibly work with separate /usr
Product: [Fedora] Fedora Reporter: Bill Nottingham <notting>
Component: policycoreutilsAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dwalsh, harald, meyering, mgrepl, rvokal
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: 2009-09-09 22:00:25 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 Bill Nottingham 2009-09-08 18:54:40 UTC
Description of problem:

    if [ -x "$NEWROOT/sbin/load_policy" ]; then
        chroot "$NEWROOT" /sbin/load_policy -i 2>&1
    else
        chroot "$NEWROOT" /usr/sbin/load_policy -i 2>&1
    fi

Given that load_policy is currently in /usr/sbin....

Version-Release number of selected component (if applicable):

001-6

How reproducible:

Didn't try, but seems apparent from reading.

Comment 1 Harald Hoyer 2009-09-09 08:07:03 UTC
dwalsh will move /usr/sbin/load_policy to /sbin/load_policy ... this is why I made this change.

Comment 2 Harald Hoyer 2009-09-09 17:53:59 UTC
*** Bug 519653 has been marked as a duplicate of this bug. ***

Comment 3 Daniel Walsh 2009-09-09 22:00:25 UTC
Fixed in policycoreutils-2_0_73-1_fc12

Comment 4 Jim Meyering 2009-09-11 16:33:13 UTC
thanks! solved it for me. (bz 519653)