On 05/16/2016 05:26 PM, m.roth(a)5-cent.us wrote:
Lukas Vrabec wrote:
> On 05/16/2016 03:39 PM, m.roth(a)5-cent.us 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
Hi Mark,
could we make sure you get right labels in /usr/local/<user's path>/bin
for rpm?
$ ls -lZ /usr/local/<user's path>/bin/rpm
Thank you.
Thanks!
mark
>> What's the correct way to deal with this - different labelling, a
>> local policy, or ?
>>
>> mark
>> --
>> selinux mailing list
>> selinux(a)lists.fedoraproject.org
>>
http://lists.fedoraproject.org/admin/lists/selinux@lists.fedoraproject.org
>>
>
>
> --
> Lukas Vrabec
> SELinux Solutions
> Red Hat, Inc.
> --
> selinux mailing list
> selinux(a)lists.fedoraproject.org
>
http://lists.fedoraproject.org/admin/lists/selinux@lists.fedoraproject.org
--
selinux mailing list
selinux(a)lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/selinux@lists.fedoraproject.org
--
Miroslav Grepl
Senior Software Engineer, SELinux Solutions
Red Hat, Inc.