Bug 542002 - SELinux is preventing /usr/sbin/vsftpd "net_raw" access.
Summary: SELinux is preventing /usr/sbin/vsftpd "net_raw" access.
Keywords:
Status: CLOSED DUPLICATE of bug 537428
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Eric Paris
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:16b1cb1882b...
: 542914 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-27 21:46 UTC by Ví­ctor Daniel Martínez O.
Modified: 2009-12-05 23:42 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-12-05 23:42:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ví­ctor Daniel Martínez O. 2009-11-27 21:46:13 UTC
Summary:

SELinux is preventing /usr/sbin/vsftpd "net_raw" access.

Detailed Description:

SELinux denied access requested by vsftpd. It is not expected that this access
is required by vsftpd 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://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                unconfined_u:system_r:ftpd_t:s0-s0:c0.c1023
Target Context                unconfined_u:system_r:ftpd_t:s0-s0:c0.c1023
Target Objects                None [ capability ]
Source                        vsftpd
Source Path                   /usr/sbin/vsftpd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           vsftpd-2.2.0-5.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-46.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.31.6-151.fc12.i686 #1 SMP
                              Thu Nov 26 06:59:19 EST 2009 i686 i686
Alert Count                   1
First Seen                    Fri 27 Nov 2009 04:45:08 PM COT
Last Seen                     Fri 27 Nov 2009 04:45:08 PM COT
Local ID                      d67617e9-141a-4a26-a07b-c03ceb51f99c
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1259358308.339:34): avc:  denied  { net_raw } for  pid=19419 comm="vsftpd" capability=13 scontext=unconfined_u:system_r:ftpd_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:ftpd_t:s0-s0:c0.c1023 tclass=capability

node=(removed) type=SYSCALL msg=audit(1259358308.339:34): arch=40000003 syscall=120 success=no exit=-1 a0=40000011 a1=0 a2=50f338 a3=50f338 items=0 ppid=0 pid=19419 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="vsftpd" exe="/usr/sbin/vsftpd" subj=unconfined_u:system_r:ftpd_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-46.fc12,catchall,vsftpd,ftpd_t,ftpd_t,capability,net_raw
audit2allow suggests:

#============= ftpd_t ==============
allow ftpd_t self:capability net_raw;

Comment 1 Miroslav Grepl 2009-11-30 11:31:43 UTC

*** This bug has been marked as a duplicate of bug 538428 ***

Comment 2 Robert Hancock 2009-11-30 14:39:33 UTC
This doesn't appear to be the same report as that one (which seems to have been an F11 issue). This is happening on F12.

Comment 3 Miroslav Grepl 2009-11-30 15:09:14 UTC
Ooops, you are right.

Comment 4 Daniel Walsh 2009-11-30 19:57:49 UTC
This is a known issue which eparis is working on.

Comment 5 Miroslav Grepl 2009-12-01 11:10:12 UTC
*** Bug 542914 has been marked as a duplicate of this bug. ***

Comment 6 Daniel Walsh 2009-12-05 23:42:42 UTC

*** This bug has been marked as a duplicate of bug 537428 ***


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