Bug 498419 - SELinux is preventing accton (acct_t) "read" to inotify (inotifyfs_t).
Summary: SELinux is preventing accton (acct_t) "read" to inotify (inotifyfs_t).
Alias: None
Product: Fedora
Classification: Fedora
Component: cronie
Version: 10
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Marcela Mašláňová
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2009-04-30 12:31 UTC by Petr Lautrbach
Modified: 2009-05-25 21:22 UTC (History)
6 users (show)

Fixed In Version: 1.2-8.fc10
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2009-05-06 13:17:20 UTC
Type: ---

Attachments (Terms of Use)

Description Petr Lautrbach 2009-04-30 12:31:36 UTC
Description of problem:
SELinux denied access requested by accton. It is not expected that this access is required by accton and this access may signal an intrusion attempt. It is also possible that the specific version or configuration of the application is causing it to require additional access. 

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

How reproducible:

Steps to Reproduce:
Actual results:
Source Context:  system_u:system_r:acct_t:s0-s0:c0.c1023
Target Context:  system_u:object_r:inotifyfs_t:s0Target 
Objects:  inotify [ dir ]
Source:  accton
Source Path:  /sbin/accton
Port:  <Unknown>
Source RPM Packages:  psacct-6.3.2-51.fc10 
Policy RPM:  selinux-policy-3.5.13-57.fc10
Selinux Enabled:  True
Policy Type:  targeted
MLS Enabled:  True
Enforcing Mode:  Permissive
Plugin Name:  catchall_file

Raw Audit Messages :

node=2x4b-523p.englab.brq.redhat.com type=AVC msg=audit(1241057292.115:5049): avc: denied { read } for pid=13366 comm="accton" path="inotify" dev=inotifyfs ino=1 scontext=system_u:system_r:acct_t:s0-s0:c0.c1023 tcontext=system_u:object_r:inotifyfs_t:s0 tclass=dir node=2x4b-523p.englab.brq.redhat.com type=SYSCALL msg=audit(1241057292.115:5049): arch=c000003e syscall=59 success=yes exit=0 a0=131f100 a1=131e5c0 a2=131e210 a3=8 items=0 ppid=13355 pid=13366 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=589 comm="accton" exe="/sbin/accton" subj=system_u:system_r:acct_t:s0-s0:c0.c1023 key=(null) 

Expected results:

Additional info:

Comment 1 Daniel Walsh 2009-04-30 12:39:40 UTC
Is accton run out of cron?

Comment 2 Petr Lautrbach 2009-04-30 13:14:01 UTC
It looks like cron.daily runs /etc/cron.daily/logrotate that runs /etc/logrotate.d/psacct with command /usr/sbin/accton /var/account/pacct

Comment 3 Daniel Walsh 2009-04-30 13:54:09 UTC
Cron is leaking an open file descriptor to inotifyfs which is causing this problem.


You can ignore the error for now.

Comment 4 Marcela Mašláňová 2009-05-04 10:07:44 UTC
Should be fixed in rawhide. Please test the update cronie-1.2-8.fc10

Comment 5 Fedora Update System 2009-05-04 10:15:52 UTC
cronie-1.2-8.fc10 has been submitted as an update for Fedora 10.

Comment 6 Fedora Update System 2009-05-25 21:22:54 UTC
cronie-1.2-8.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

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