On 05/29/2018 02:28 PM, Stephen Smalley wrote: > On 05/29/2018 11:19 AM, Laurent Bigonville wrote: >> Hello, >> >> While packaging policycoreutils 2.8 I've seen that the fixfiles and load_policy executables were moved from /sbin to /usr/sbin >> >> Any reasons for this? This seems to me like an involuntary side effect of the cleanup for DESTDIR and PREFIX in the build system. >> >> For distribution with usr-merge that will not change anything, but for others that could prevent early boot scripts to load the policy >> >> Shouldn't that be reverted? > > Yes, I think that was an oversight. However, generally policy loading is handled directly by init (both sysvinit and systemd) via libselinux w/o executing the load_policy executable, and libsemanage checks both locations for it, so I wouldn't expect policy loading to be broken. fixfiles invocation from init scripts may be a different matter. Likely should revert the location change for both (but not the rest of DESTDIR/PREFIX fixes). I guess the change might break systems calling load_policy from dracut initramfs scripts to load policy instead of calling libselinux from init, e.g. RHEL 6. I'm not sure though that any distro other than RHEL 6 ever did that. _______________________________________________ Selinux mailing list Selinux@xxxxxxxxxxxxx To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx. To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.