Bug 785345 - new avcs since fixfiles restore and reboot
Summary: new avcs since fixfiles restore and reboot
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-28 10:01 UTC by Nicolas Mailhot
Modified: 2012-01-30 10:41 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-30 10:41:49 UTC
Type: ---


Attachments (Terms of Use)

Description Nicolas Mailhot 2012-01-28 10:01:59 UTC
Description of problem:

# ausearch -m avc -ts '10:44:35'
----
time->Sat Jan 28 10:44:49 2012
type=AVC msg=audit(1327743889.191:23): avc:  denied  { read } for  pid=1 comm="systemd" name="postfix" dev="dm-1" ino=92340 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:postfix_spool_t:s0 tclass=dir
----
time->Sat Jan 28 10:46:27 2012
type=SYSCALL msg=audit(1327743987.466:69): arch=c000003e syscall=42 success=no exit=-115 a0=1 a1=7f1888ab9bf0 a2=1c a3=7fff30ac3a90 items=0 ppid=1 pid=1934 auid=4294967295 uid=478 gid=473 euid=478 suid=478 fsuid=478 egid=473 sgid=473 fsgid=473 tty=(none) ses=4294967295 comm="bip" exe="/usr/bin/bip" subj=system_u:system_r:bitlbee_t:s0 key=(null)
type=AVC msg=audit(1327743987.466:69): avc:  denied  { name_connect } for  pid=1934 comm="bip" dest=7000 scontext=system_u:system_r:bitlbee_t:s0 tcontext=system_u:object_r:gatekeeper_port_t:s0 tclass=tcp_socket
----
time->Sat Jan 28 10:46:27 2012
type=SYSCALL msg=audit(1327743987.763:70): arch=c000003e syscall=42 success=no exit=-115 a0=2 a1=7f1888abb5d0 a2=10 a3=a items=0 ppid=1 pid=1934 auid=4294967295 uid=478 gid=473 euid=478 suid=478 fsuid=478 egid=473 sgid=473 fsgid=473 tty=(none) ses=4294967295 comm="bip" exe="/usr/bin/bip" subj=system_u:system_r:bitlbee_t:s0 key=(null)
type=AVC msg=audit(1327743987.763:70): avc:  denied  { name_connect } for  pid=1934 comm="bip" dest=6667 scontext=system_u:system_r:bitlbee_t:s0 tcontext=system_u:object_r:ircd_port_t:s0 tclass=tcp_socket


# dmesg|grep avc
[   25.982265] type=1400 audit(1327743829.366:4): avc:  denied  { read } for  pid=510 comm="multipath" name="nr_open" dev="proc" ino=11900 scontext=system_u:system_r:udev_t:s0-s0:c0.c1023 tcontext=system_u:object_r:sysctl_fs_t:s0 tclass=file
[   25.982392] type=1400 audit(1327743829.366:5): avc:  denied  { open } for  pid=510 comm="multipath" name="nr_open" dev="proc" ino=11900 scontext=system_u:system_r:udev_t:s0-s0:c0.c1023 tcontext=system_u:object_r:sysctl_fs_t:s0 tclass=file
[   25.982557] type=1400 audit(1327743829.366:6): avc:  denied  { getattr } for  pid=510 comm="multipath" path="/proc/sys/fs/nr_open" dev="proc" ino=11900 scontext=system_u:system_r:udev_t:s0-s0:c0.c1023 tcontext=system_u:object_r:sysctl_fs_t:s0 tclass=file
[   66.219993] type=1400 audit(1327743869.604:7): avc:  denied  { setsched } for  pid=489 comm="udevd" scontext=system_u:system_r:udev_t:s0-s0:c0.c1023 tcontext=system_u:system_r:kernel_t:s0 tclass=process

Version-Release number of selected component (if applicable):
kernel-3.3.0-0.rc1.git4.1.fc17.x86_64
selinux-policy-targeted-3.10.0-80.fc17.noarch
systemd-39-1.fc17.x86_64
udev-179-1.fc17.x86_64

Comment 1 Daniel Walsh 2012-01-28 19:37:35 UTC
I know nothing of bittlebee, should it be allowed to connect to these ports by default?

6777, 
7000,

Comment 2 Nicolas Mailhot 2012-01-30 05:57:44 UTC
(In reply to comment #1)
> I know nothing of bittlebee, should it be allowed to connect to these ports by
> default?
> 
> 6777, 
> 7000,

/usr/bin/bip is an irc proxy so it needs connecting to usual irc ports to proxy them

Port 7000 is used by irc.freenode.net for ssl-irc
Port 6667 is the default non-secure irc port used by pretty much everyone else

Comment 3 Miroslav Grepl 2012-01-30 10:41:49 UTC
Yes, this relates with the latest changes. 

+/usr/bin/bip           --      gen_context(system_u:object_r:bitlbee_exec_t,s0)

which I added.


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