Re: Cannot find rpm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/16/2016 05:26 PM, m.roth@xxxxxxxxx wrote:
> 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

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@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
> 


-- 
Miroslav Grepl
Senior Software Engineer, SELinux Solutions
Red Hat, Inc.
--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://lists.fedoraproject.org/admin/lists/selinux@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux