Bug 453754 - SELinux policy required for cobbler
SELinux policy required for cobbler
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
rawhide
All Linux
low Severity low
: ---
: ---
Assigned To: Daniel Walsh
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-02 07:57 EDT by James Morris
Modified: 2008-07-02 09:07 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-07-02 09:07:30 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 James Morris 2008-07-02 07:57:07 EDT
Looks like some work is needed on SELinux policy for cobbler.  Running 'cobbler
check' produces the following AVCs:

type=AVC msg=audit(1214999652.615:31): avc:  denied  { append } for  pid=3868
comm="iptables" path="/var/log/cobbler/cobbler.log" dev=md0 ino=7766578
scontext=unconfined_u:system_r:iptables_t:s0
tcontext=unconfined_u:object_r:var_log_t:s0 tclass=file
type=AVC msg=audit(1214999652.615:31): avc:  denied  { append } for  pid=3868
comm="iptables" path="/var/log/cobbler/cobbler.log" dev=md0 ino=7766578
scontext=unconfined_u:system_r:iptables_t:s0
tcontext=unconfined_u:object_r:var_log_t:s0 tclass=file
type=SYSCALL msg=audit(1214999652.615:31): arch=c000003e syscall=59 success=yes
exit=0 a0=c46780 a1=c003c0 a2=c03b20 a3=8 items=0 ppid=3858 pid=3868 auid=0
uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=1
comm="iptables" exe="/sbin/iptables" subj=unconfined_u:system_r:iptables_t:s0
key=(null)
type=AVC msg=audit(1214999652.619:32): avc:  denied  { append } for  pid=3869
comm="iptables" path="/var/log/cobbler/cobbler.log" dev=md0 ino=7766578
scontext=unconfined_u:system_r:iptables_t:s0
tcontext=unconfined_u:object_r:var_log_t:s0 tclass=file
type=AVC msg=audit(1214999652.619:32): avc:  denied  { append } for  pid=3869
comm="iptables" path="/var/log/cobbler/cobbler.log" dev=md0 ino=7766578
scontext=unconfined_u:system_r:iptables_t:s0
tcontext=unconfined_u:object_r:var_log_t:s0 tclass=file
type=SYSCALL msg=audit(1214999652.619:32): arch=c000003e syscall=59 success=yes
exit=0 a0=c467a0 a1=c003c0 a2=c03b20 a3=8 items=0 ppid=3858 pid=3869 auid=0
uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=1
comm="iptables" exe="/sbin/iptables" subj=unconfined_u:system_r:iptables_t:s0
key=(null)
Comment 1 Daniel Walsh 2008-07-02 09:07:30 EDT
This avc has already been fixed in current rawhide.  Although I just made a much
more global change to allow all system apps and user apps to append to any log
file.  Eliminating a whole host of these avc's.  Now that we have the open perms
check we can start to mimic more of the way Unix actually works, and stop
getting stupid avc messages.

Fixed in selinux-policy-3.4.2-10.fc10

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