Bug 562638 - 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 547339
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:1be7cfe6246...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-07 19:37 UTC by Nikolay Bryskin
Modified: 2010-02-08 17:19 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-02-08 17:19:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nikolay Bryskin 2010-02-07 19:37:33 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://docs.fedoraproject.org/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-6.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-82.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.31.12-174.2.3.fc12.x86_64 #1 SMP Mon Jan 18
                              19:52:07 UTC 2010 x86_64 x86_64
Alert Count                   9
First Seen                    Sun 07 Feb 2010 10:31:36 PM MSK
Last Seen                     Sun 07 Feb 2010 10:35:13 PM MSK
Local ID                      fe7e6324-422a-4405-9d82-a1cbc0c47c3b
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1265571313.335:495): avc:  denied  { net_raw } for  pid=10462 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(1265571313.335:495): arch=c000003e syscall=56 success=no exit=-1 a0=40000011 a1=0 a2=7f195494485e a3=0 items=0 ppid=0 pid=10462 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=2 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-82.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 2010-02-08 17:19:06 UTC

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


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