From mboxrd@z Thu Jan 1 00:00:00 1970 From: mgrepl@redhat.com (Miroslav Grepl) Date: Mon, 10 Sep 2012 13:32:20 +0200 Subject: [refpolicy] how to best deal with the move from bin to /usr/sbin In-Reply-To: <1347275071.2915.3.camel@d30.localdomain> References: <1347275071.2915.3.camel@d30.localdomain> Message-ID: <504DCFC4.6040003@redhat.com> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com On 09/10/2012 01:04 PM, Dominick Grift wrote: > Many distributions want to get rid of /bin and /sbin and use /usr/bin > and usr/sbin/ respectively instead. > > how to best deal with that? > > do we add a file_contexts.subs_dist entry or edit all /bin /sbin entries > with (usr/)? > > How does Fedora deal with this? > > _______________________________________________ > refpolicy mailing list > refpolicy at oss.tresys.com > http://oss.tresys.com/mailman/listinfo/refpolicy Dan added a lot of fixes to *.fc files. Basically you can check them on fedorahosted repo. # git log master and search "sbin", "bin" strings ---- commit de8b29a88b8151af675a2c8f6777be3be7dcb216 Author: Dan Walsh Date: Tue Dec 6 19:20:22 2011 -0500 Fedora is moving all files in /lib, /lib64, /sbin, /bin into /usr/lib, /usr/lib64, /usr/sbin and /usr/bin This update will fix the labeling for all these files commit a03e14710e91870e05f3a52294ea5523477dc3db Author: Dan Walsh Date: Tue Dec 6 12:13:42 2011 -0500 More fixes for the move from /lib, /bin, /sbin, to /usr directory