Re: SELinux

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

 



On 29 August 2010 17:18, Patrick Dupre <pd520@xxxxxxxxxx> wrote:
> On Sun, 29 Aug 2010, Gordon Messmer wrote:
>
>> On 08/29/2010 08:27 AM, Patrick Dupre wrote:
>>>
>>> With fedora 13, when I use Math:GSL, I get an error message:
>>> Can't load '/usr/local/lib/perl5/auto/Math/GSL/Errno/Errno.so' for
>>> module Math::GSL::Errno:
>>> /usr/local/lib/perl5/auto/Math/GSL/Errno/Errno.so: cannot restore
>>> segment prot after reloc: Permission denied at
>>
>> Try:
>>
>> chcon -t texrel_shlib_t \
>>  /usr/local/lib/perl5/auto/Math/GSL/Errno/Errno.so
>>
> OK, it works for Errno.so, but I have to do it all the files of the
> package !

How about use find and xargs to do the work for you?

Something like this should work, (untested)

# find /usr/local/lib/perl5/auto/Math/GSL -type f -name '*\.so'
-print0 | xargs -0 chcon -t texrel_shlib_t

BTW, why not file a RFE for Math::GSL on the redhat bugzilla under
Fedora? I already see lots of perl packages in the repository, adding
another one might be quite simple for one the current maintainers? :)

> Thank

-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux