Bug 229318 - restorecon can't write to pipe of crond_t
restorecon can't write to pipe of crond_t
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: selinux-policy (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2007-02-20 04:06 EST by David Juran
Modified: 2007-11-30 17:07 EST (History)
1 user (show)

See Also:
Fixed In Version: RHBA-2007-0544
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-11-07 11:38:27 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description David Juran 2007-02-20 04:06:52 EST
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 10:36:27 EST
Any idea what script is running restorecon?
Comment 2 Daniel Walsh 2007-03-01 17:22:26 EST
Fixed in selinux-policy-2.4.6-42
Comment 3 RHEL Product and Program Management 2007-03-21 17:58:31 EDT
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 11:38:27 EST
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.


Note You need to log in before you can comment on or make changes to this bug.