Bug 652136 - SELinux is preventing /usr/sbin/uucico "connect" access .
Summary: SELinux is preventing /usr/sbin/uucico "connect" access .
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:fe6d5b3f8a2...
: 652144 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-11 05:13 UTC by Ian Lance Taylor
Modified: 2010-11-26 01:15 UTC (History)
2 users (show)

Fixed In Version: selinux-policy-3.6.32-127.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-26 01:15:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ian Lance Taylor 2010-11-11 05:13:10 UTC
Summary:

SELinux is preventing /usr/sbin/uucico "connect" access .

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

SELinux denied access requested by uucico. It is not expected that this access
is required by uucico and this access may signal an intrusion attempt. It is
also possible that the specific version or configuration of the application is
causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                system_u:system_r:uux_t:s0
Target Context                system_u:system_r:uux_t:s0
Target Objects                None [ udp_socket ]
Source                        uucico
Source Path                   /usr/sbin/uucico
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           uucp-1.07-20.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-125.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.32.23-170.fc12.x86_64 #1
                              SMP Mon Sep 27 17:23:59 UTC 2010 x86_64 x86_64
Alert Count                   1
First Seen                    Wed 10 Nov 2010 09:10:04 PM PST
Last Seen                     Wed 10 Nov 2010 09:10:04 PM PST
Local ID                      3fe403f7-67f8-453d-9779-af3c9f8d4ec1
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1289452204.562:25851): avc:  denied  { connect } for  pid=2505 comm="uucico" scontext=system_u:system_r:uux_t:s0 tcontext=system_u:system_r:uux_t:s0 tclass=udp_socket

node=(removed) type=SYSCALL msg=audit(1289452204.562:25851): arch=c000003e syscall=42 success=yes exit=0 a0=5 a1=ccfa10 a2=1c a3=7fff42e5a260 items=0 ppid=1 pid=2505 auid=4294967295 uid=10 gid=501 euid=10 suid=10 fsuid=10 egid=14 sgid=14 fsgid=14 tty=(none) ses=4294967295 comm="uucico" exe="/usr/sbin/uucico" subj=system_u:system_r:uux_t:s0 key=(null)



Hash String generated from  catchall,uucico,uux_t,uux_t,udp_socket,connect
audit2allow suggests:

#============= uux_t ==============
allow uux_t self:udp_socket connect;

Comment 1 Ian Lance Taylor 2010-11-11 05:14:12 UTC
uucico is expected to be able to connect to remote systems.

Comment 2 Miroslav Grepl 2010-11-11 11:58:13 UTC
Could you try to add this local policy module 

# cat > myuucp.te << _EOF

policy_module(myuucp, 1.0)

require{
 type uux_t;
 type uucpd_t;
 type uucpd_exec_t;
}

domtrans_pattern(uux_t, uucpd_exec_t, uucpd_t)

_EOF

# make -f /usr/share/selinux/devel/Makefile
# semodule -i myuucp.pp

and see if your AVCs go away.

Comment 3 Miroslav Grepl 2010-11-11 12:46:17 UTC
*** Bug 652144 has been marked as a duplicate of this bug. ***

Comment 4 Miroslav Grepl 2010-11-15 09:51:39 UTC
Fixed in selinux-policy-3.7.19-72.fc13

Comment 5 Fedora Update System 2010-11-16 13:15:38 UTC
selinux-policy-3.6.32-127.fc12 has been submitted as an update for Fedora 12.
https://admin.fedoraproject.org/updates/selinux-policy-3.6.32-127.fc12

Comment 6 Fedora Update System 2010-11-16 23:13:22 UTC
selinux-policy-3.6.32-127.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/selinux-policy-3.6.32-127.fc12

Comment 7 Fedora Update System 2010-11-26 01:15:24 UTC
selinux-policy-3.6.32-127.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


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