Why SELinux is preventing `/usr/bin/perl` from rename access on the files `/var/log/nocpulse/TSDBLocalQueue`

Solution Verified - Updated -

Issue

  • Why SELinux is preventing /usr/bin/perl from rename access on the files /var/log/nocpulse/TSDBLocalQueue
  • The avc logs from the /var/log/audit/audit.log file are:
type=AVC msg=audit(1389905087.995:806752): avc:  denied  { rename } for  pid=26914 comm="TSDBLocalQueue." name="1389890500.3264" dev=dm-0 ino=1061156 scontext=system_u:system_r:spacewalk_monitoring_t:s0 tcontext=system_u:object_r:spacewalk_monitoring_log_t:s0 tclass=file
type=AVC msg=audit(1389905285.386:806779): avc:  denied  { write } for  pid=26914 comm="TSDBLocalQueue." name="queuefile.positions..TMP" dev=dm-0 ino=1060749 scontext=system_u:system_r:spacewalk_monitoring_t:s0 tcontext=system_u:object_r:spacewalk_monitoring_log_t:s0 tclass=file

Environment

  • Red Hat Satellite 5.4
  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content