Re: avc denied messages from system cron

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

 



On Mon, 14 Jun 2004 16:01, Richard Hally <rhallyx@xxxxxxxxxxxxxx> wrote:
> Jun 13 22:01:00 new2 kernel: audit(1087178460.748:0): avc:  denied  {
> read } for  pid=3306 exe=/bin/bash name=mtab dev=hda2 ino=869481
> scontext=system_u:system_r:crond_t
> tcontext=system_u:object_r:etc_runtime_t tclass=file
> Jun 13 22:01:00 new2 kernel: audit(1087178460.748:0): avc:  denied  {
> getattr }
> for  pid=3306 exe=/bin/bash path=/proc/meminfo dev=proc ino=-268435454
> scontext=system_u:system_r:crond_t tcontext=system_u:object_r:proc_t
> tclass=file
> Jun 13 22:01:00 new2 kernel: audit(1087178460.792:0): avc:  denied  {
> getattr }
> for  pid=3306 exe=/bin/bash path=/usr/bin/run-parts dev=hda2 ino=55784
> scontext=system_u:system_r:crond_t tcontext=system_u:object_r:bin_t
> tclass=file

Do any other cron jobs execute correctly?

I don't think that in the normal operation of the system there should be a 
bash script launched in the crond_t domain which tries to run run-parts.  I 
think that your crond is acting as if it does not support SE Linux.

What version of libselinux do you have installed?  Maybe there is a bug in 
libselinux which made cron misbehave.

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page

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

  Powered by Linux