Bug 229318

Summary: restorecon can't write to pipe of crond_t
Product: Red Hat Enterprise Linux 5 Reporter: David Juran <djuran>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED ERRATA QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0CC: ebenes
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: RHBA-2007-0544 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-11-07 16:38:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description David Juran 2007-02-20 09:06:52 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20070118 Red Hat/ Firefox/ pango-text

Description of problem:
Last night I got the following avc denial: 

Target Context:  system_u:system_r:crond_t:SystemLow-SystemHighTarget Objects:  pipe:[1471624] [ fifo_file ]
Affected RPM Packages:  policycoreutils-1.33.12-3.el5 [application]
Policy RPM:  selinux-policy-2.4.6-30.el5
Selinux Enabled:  True
Policy Type:  targeted
MLS Enabled:  True
Enforcing Mode:  Enforcing
Plugin Name:  plugins.catchallHost Name:  trdhcp106124.ntc.nokia.com
Platform:  Linux trdhcp106124.ntc.nokia.com 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:21 EST 2007 i686 i686
Alert Count:  1
Line Numbers:   
Raw Audit Messages :avc: denied { write } for comm="restorecon" dev=pipefs egid=0 euid=0 exe="/sbin/restorecon" exit=0 fsgid=0 fsuid=0 gid=0 items=0 name="[1471625]" path="pipe:[1471624]" pid=11272 scontext=user_u:system_r:restorecon_t:s0 sgid=0 subj=user_u:system_r:restorecon_t:s0 suid=0 tclass=fifo_file tcontext=system_u:system_r:crond_t:s0-s0:c0.c1023 tty=(none) uid=0 

Version-Release number of selected component (if applicable):

How reproducible:
Didn't try

Steps to Reproduce:
1. restorecond maybe?

Actual Results:

Expected Results:

Additional info:

Comment 1 Daniel Walsh 2007-02-21 15:36:27 UTC
Any idea what script is running restorecon?

Comment 2 Daniel Walsh 2007-03-01 22:22:26 UTC
Fixed in selinux-policy-2.4.6-42

Comment 3 RHEL Product and Program Management 2007-03-21 21:58:31 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update

Comment 8 errata-xmlrpc 2007-11-07 16:38:27 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.