/sbin/load_policy and /usr/sbin/load_policy

Bug #277030 reported by Aneesh Kumar K.V
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
selinux (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: selinux

Interprid:

We have in scripts/init-bottom/_load_policy

chroot ${rootmnt} /sbin/load_policy -i

But filesystem contain /usr/sbin/load_policy

Revision history for this message
Paul Collins (pjdc) wrote :

I just hit this problem. It looks like policycoreutils in hardy shipped both /sbin/load_policy and /usr/sbin/load_policy, but intrepid only ships the latter. As the reporter states, the initrd script assumes the presence of the former. Following an upgrade from hardy to intrepid, selinux breaks. I edited the script to refer to /usr/sbin/load_policy, regenerated the initrd and rebooted, and selinux now initializes properly.

Revision history for this message
Laurent Bigonville (bigon) wrote :

policycoreutils definitely ships both, closing

Changed in selinux (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.