[CentOS] Perl - strict.pm not found
Daniel J Walsh
dwalsh at redhat.com
Thu Oct 11 15:42:14 UTC 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10/11/2012 06:34 AM, John Horne wrote:
> On Wed, 2012-10-10 at 11:38 +0100, John Horne wrote:
>>
>> the /etc/cron.daily/freshclam script runs in the early morning, I get
>> sent an email error message:
>>
>> ===================================== /etc/cron.daily/freshclam:
>>
>> Can't locate strict.pm in @INC (@INC contains: /usr/local/lib64/perl5
>> /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
>> /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at
>> /usr/local/bin/xymon_event line 15. BEGIN failed--compilation aborted at
>> /usr/local/bin/xymon_event line 15.
>> =====================================
>>
> Hello,
>
> Turns out this is an SELinux issue - the audit.log file shows access to
> strict.pm being denied. As the problem occurs on 6.3, but not on our 5.8
> systems, I have submitted it as a bug to RedHat (#865390) to see what they
> say. (We have both CentOS and RedHat 5.8/6.3 servers.)
>
>
>
>
> John.
>
What is the path to strict.pm? Do you see any AVC messages?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iEYEARECAAYFAlB26NYACgkQrlYvE4MpobN4PQCeMfbCgHRDcN98oVJZezXSWw1w
XoQAoKxjI1gboJLTPP0NGFUgwpWivOnl
=tjgK
-----END PGP SIGNATURE-----
More information about the CentOS
mailing list