Bug 468243 - prelude-lml generates SELINUX avc, prevents prelude-lml access to logs
Summary: prelude-lml generates SELINUX avc, prevents prelude-lml access to logs
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-10-23 17:55 UTC by P Rauser
Modified: 2008-10-23 18:47 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-10-23 18:47:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description P Rauser 2008-10-23 17:55:23 UTC
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 18:03:38 UTC
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 18:47:25 UTC
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.