Bug 118135 - won't start when SELinux is enforced
won't start when SELinux is enforced
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: anacron (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jens Petersen
Brock Organ
:
Depends On:
Blocks: FC2Blocker
  Show dependency treegraph
 
Reported: 2004-03-12 06:51 EST by Tim Waugh
Modified: 2007-11-30 17:10 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-05-06 23:49:52 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Tim Waugh 2004-03-12 06:51:08 EST
Description of problem:
Got this at boot with enforcing=1:

Starting anacron: anacron: Can't close stdin: Bad file descriptor
                                                           [FAILED]

Version-Release number of selected component (if applicable):
anacron-2.3-30
policy-1.8-10

How reproducible:
100%

Steps to Reproduce:
1. Boot with 'enforcing=1'.

Additional info:
Works fine when not enforcing.
Comment 1 Tim Waugh 2004-03-12 07:28:32 EST
audit(1079094467.585:0): avc:  denied  { read write } for  pid=1722
exe=/usr/sbin/anacron path=/dev/pts/0 dev= ino=2
scontext=system_u:system_r:system_crond_t
tcontext=system_u:object_r:initrc_devpts_t tclass=chr_file

audit2allow says:

allow system_crond_t initrc_devpts_t:chr_file { read write };

Comment 2 Daniel Walsh 2004-03-14 06:57:45 EST
Fixed in policy-1.8-14

Dan

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