Bug 468243 - prelude-lml generates SELINUX avc, prevents prelude-lml access to logs
prelude-lml generates SELINUX avc, prevents prelude-lml access to logs
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-10-23 13:55 EDT by P Rauser
Modified: 2008-10-23 14:47 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-10-23 14:47:25 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 P Rauser 2008-10-23 13:55:23 EDT
Description of problem:

SELINUX generates avc, prevents prelude-lml access to logs.  Raw audit message quoted below.

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

prelude-lml-0.9.14-1.fc10.x86_64
selinux-policy-3.5.13-3.fc10

Audit message [edited to conceal system names]

node=system0.mynetwork.lan type=AVC msg=audit(1224781831.406:6): avc: denied { read } for pid=2681 comm="prelude-lml" scontext=system_u:system_r:prelude_lml_t:s0 tcontext=system_u:object_r:sysctl_t:s0 tclass=file node=system0.mynetwork.lan type=SYSCALL msg=audit(1224781831.406:6): arch=c000003e syscall=2 success=yes exit=5 a0=385b64eff0 a1=0 a2=1b6 a3=7f9955abf6f0 items=0 ppid=2680 pid=2681 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="prelude-lml" exe="/usr/bin/prelude-lml" subj=system_u:system_r:prelude_lml_t:s0 key=(null)
Comment 1 P Rauser 2008-10-23 14:03:38 EDT
Sorry... Also throwing avc on target system_u:object_r:anon_inodefs_t:s0 as follows:

Raw Audit Messages :

node=system0.mynetwork.lan type=AVC msg=audit(1224726577.464:10): avc: denied { read } for pid=2664 comm="prelude-lml" path="anon_inode:[eventfd]" dev=anon_inodefs ino=35 scontext=system_u:system_r:prelude_lml_t:s0 tcontext=system_u:object_r:anon_inodefs_t:s0 tclass=file node=system0.mynetwork.lan type=SYSCALL msg=audit(1224726577.464:10): arch=c000003e syscall=0 success=yes exit=0 a0=4 a1=7fffb2101ad0 a2=8 a3=7fffb2100ab0 items=0 ppid=1 pid=2664 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="prelude-lml" exe="/usr/bin/prelude-lml" subj=system_u:system_r:prelude_lml_t:s0 key=(null)
Comment 2 Daniel Walsh 2008-10-23 14:47:25 EDT
You can allow this for now.

# audit2allow -M mypol -l -i /var/log/audit/audit.log
# semodule -i mypol.pp

Fixed in selinux-policy-3.5.13-6.fc10

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