capability:sysadmin and xend
Below is a sample of the audit.log from starting a Xen server running Debian/Testing on i386.
Quoted 1 line
From
linux/syscallent.hin the strace source it appears that syscall 3 is
sys_read. What might xend be doing?
type=AVC msg=audit(1269119177.855:8): avc: denied { sys_admin } for pid=985 comm="xend" capability=21 scontext=system_u:system_r:xend_t:s0 tcontext=system_u:system_r:xend_t:s0 tclass=capability type=SYSCALL msg=audit(1269119177.855:8): arch=40000003 syscall=3 success=yes exit=2 a0=f a1=99714b4 a2=2 a3=2 items=0 ppid=984 pid=985 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="xend" exe="/usr/bin/python2.5" subj=system_u:system_r:xend_t:s0 key=(null)
type=AVC msg=audit(1269119177.855:9): avc: denied { sys_admin } for pid=985 comm="xend" capability=21 scontext=system_u:system_r:xend_t:s0 tcontext=system_u:system_r:xend_t:s0 tclass=capability type=SYSCALL msg=audit(1269119177.855:9): arch=40000003 syscall=3 success=yes exit=2 a0=f a1=99714b4 a2=2 a3=2 items=0 ppid=984 pid=985 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="xend" exe="/usr/bin/python2.5" subj=system_u:system_r:xend_t:s0 key=(null)
Xen works fine without enabling this access, so I'll probably put in a dontaudit rule.
Signature · 9 lines
[email protected] http://etbe.coker.com.au/ My Main Blog http://doc.coker.com.au/ My Documents Blog -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 24 lines · Russell Coker
Below is a sample of the audit.log from starting a Xen server running Debian/Testing on i386.
Quoted 1 line
From
linux/syscallent.hin the strace source it appears that syscall 3 is
sys_read. What might xend be doing?type=AVC msg=audit(1269119177.855:8): avc: denied {
sys_admin} for pid=985 comm="xend" capability=21 scontext=system_u:system_r:xend_t:s0 tcontext=system_u:system_r:xend_t:s0 tclass=capability type=SYSCALL msg=audit(1269119177.855:8): arch=40000003 syscall=3 success=yes exit=2 a0=f a1=99714b4 a2=2 a3=2 items=0 ppid=984 pid=985 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="xend" exe="/usr/bin/python2.5" subj=system_u:system_r:xend_t:s0 key=(null)
type=AVC msg=audit(1269119177.855:9): avc: denied {sys_admin} for pid=985 comm="xend" capability=21 scontext=system_u:system_r:xend_t:s0 tcontext=system_u:system_r:xend_t:s0 tclass=capability type=SYSCALL msg=audit(1269119177.855:9): arch=40000003 syscall=3 success=yes exit=2 a0=f a1=99714b4 a2=2 a3=2 items=0 ppid=984 pid=985 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="xend" exe="/usr/bin/python2.5" subj=system_u:system_r:xend_t:s0 key=(null)
Quoted 2 lines
Xen works fine without enabling this access, so I'll probably put in a dontaudit rule.
Enable syscall auditing to collect the pathname of the target object.
http://danwalsh.livejournal.com/34903.html
Signature · 8 lines
Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.