Bug 147907

Summary: Cron script denials
Product: [Fedora] Fedora Reporter: Ivan Gyurdiev <ivg231>
Component: selinux-policy-strictAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-04-21 15:15:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ivan Gyurdiev 2005-02-12 15:46:09 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041228 Firefox/1.0 Fedora/1.0-8

Description of problem:
System_crond_t (/usr/bin/find):
Denied { getattr } devpts_t:dir         
Denied { getattr } binfmt_misc_fs_t:dir 

Logrotate_t (/usr/sbin/logrotate):
Denied { read getattr } selinux_config_t:file
Denied { use } init_t:fd



Version-Release number of selected component (if applicable):
selinux-policy-strict-1.21.12-2

How reproducible:
Didn't try

Steps to Reproduce:


Additional info:

Comment 1 Daniel Walsh 2005-04-21 14:59:47 UTC
Were you running in permissive mode?

If so these are not bugs?

Comment 2 Ivan Gyurdiev 2005-04-21 15:15:15 UTC
I can't remember anymore - this was so long ago.
I remember the logrotate thing got fixed, and the other 
one I'm not seeing right now, so closing....

Right now I see denials in the log like this, where logwatch creates
a folder under root_t, and writes to it:

audit(1113984123.023:0): avc:  denied  { ioctl } for  pid=6384 exe=/usr/bin/perl
path=/logwatch.ROKh211G/messages dev=dm-0 ino=713955
scontext=system_u:system_r:system_crond_t tcontext=system_u:object_r:root_t
tclass=file
audit(1113984123.142:0): avc:  denied  { write } for  pid=6384 exe=/usr/bin/perl
path=/logwatch.ROKh211G/messages dev=dm-0 ino=713955
scontext=system_u:system_r:system_crond_t tcontext=system_u:object_r:root_t
tclass=file

but I suppose that's another bug to file.