Lukas Vrabec wrote: > On 05/16/2016 03:39 PM, m.roth@xxxxxxxxx wrote: > >> We're working on several new CentOS 7 systems, moving users from >> CentOS 6. Now, the users have had some *sigh* custom stuff, like their >> own version of Perl (please do *not* ask, and I would *love* to get >> them off it, but....) >> >> Anyway, in the directory it's in, I did a semanage fcontext -e >> /usr/bin, and now I'm seeing errors in the log of selinux complaining >> it can't find the rpm (because there's not one for this). > > Could you attach exact command you used? semanage fcontext -m -e /usr/local/<user's path>/bin /usr/bin > And also log with errors. setroubleshoot: failed to retrieve rpm info for /usr/local/<user's path/bin/perl Thanks! mark >> What's the correct way to deal with this - different labelling, a >> local policy, or ? >> >> mark >> -- >> selinux mailing list >> selinux@xxxxxxxxxxxxxxxxxxxxxxx >> http://lists.fedoraproject.org/admin/lists/selinux@xxxxxxxxxxxxxxxxxxxxxxx >> > > > -- > Lukas Vrabec > SELinux Solutions > Red Hat, Inc. > -- > selinux mailing list > selinux@xxxxxxxxxxxxxxxxxxxxxxx > http://lists.fedoraproject.org/admin/lists/selinux@xxxxxxxxxxxxxxxxxxxxxxx -- selinux mailing list selinux@xxxxxxxxxxxxxxxxxxxxxxx http://lists.fedoraproject.org/admin/lists/selinux@xxxxxxxxxxxxxxxxxxxxxxx