Bug 123001

Summary: crontab avc denies (as user)
Product: [Fedora] Fedora Reporter: Leonard den Ottolander <leonard-rh-bugzilla>
Component: policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: pgraner
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-07-20 12:36: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 Leonard den Ottolander 2004-05-11 08:29:09 UTC
policy-1.11.3-3, permissive mode.

$ crontab -l
May 11 10:23:58 a3aan kernel: audit(1084263838.454:0): avc:  denied  {
search } for  pid=2634 exe=/usr/bin/crontab dev= ino=1
scontext=user_u:user_r:user_crontab_t
tcontext=system_u:object_r:proc_t tclass=dir
May 11 10:23:58 a3aan kernel: audit(1084263838.456:0): avc:  denied  {
read } for  pid=2634 exe=/usr/bin/crontab name=mounts dev=
ino=-268435447 scontext=user_u:user_r:user_crontab_t
tcontext=system_u:object_r:proc_t tclass=lnk_file
May 11 10:23:58 a3aan kernel: audit(1084263838.457:0): avc:  denied  {
search } for  pid=2634 exe=/usr/bin/crontab name=2634 dev=
ino=172621826 scontext=user_u:user_r:user_crontab_t
tcontext=user_u:user_r:user_crontab_t tclass=dir
May 11 10:23:58 a3aan kernel: audit(1084263838.458:0): avc:  denied  {
read } for  pid=2634 exe=/usr/bin/crontab name=mounts dev=
ino=172621840 scontext=user_u:user_r:user_crontab_t
tcontext=user_u:user_r:user_crontab_t tclass=file
May 11 10:23:58 a3aan kernel: audit(1084263838.459:0): avc:  denied  {
getattr } for  pid=2634 exe=/usr/bin/crontab path=/proc/2634/mounts
dev= ino=172621840 scontext=user_u:user_r:user_crontab_t
tcontext=user_u:user_r:user_crontab_t tclass=file

Identical output for crontab -e.

Comment 1 Daniel Walsh 2004-06-02 18:52:52 UTC
fixed in selinux-policy-strict-1.13.2-8

Comment 2 Daniel Walsh 2004-07-20 12:36:15 UTC
Fixed in Rawhide