| Summary: | SELinux is preventing /usr/sbin/vsftpd from 'search' accesses on the None /home. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Roger Berg <greb17> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:4251d8b61d339a3a8b7cf1c13205670a5cc6f3f3b035cc5723d923260d401fba | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-13 10:21:35 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
#============= ftpd_t ============== #!!!! This avc can be allowed using one of the these booleans: # allow_ftpd_full_access, ftp_home_dir allow ftpd_t home_root_t:dir search; You can also check the ftpd_selinux man page. Also what is your version of setroubleshoot? $ rpm -qa setroubleshoot-* |
libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.2.5-3.fc16.x86_64 reason: SELinux is preventing /usr/sbin/vsftpd from 'search' accesses on the None /home. time: lör 11 feb 2012 11.26.56 description: :SELinux is preventing /usr/sbin/vsftpd from 'search' accesses on the None /home. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that vsftpd should be allowed search access on the home <Okänd> by default. :Then you should report this as a bug. :You can generate a local policy module to allow this access. :Do :allow this access for now by executing: :# grep vsftpd /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:ftpd_t:s0-s0:c0.c1023 :Target Context system_u:object_r:home_root_t:s0 :Target Objects /home [ None ] :Source vsftpd :Source Path /usr/sbin/vsftpd :Port <Okänd> :Host (removed) :Source RPM Packages vsftpd-2.3.4-6.fc16.x86_64 :Target RPM Packages filesystem-2.4.44-1.fc16.x86_64 :Policy RPM selinux-policy-3.10.0-75.fc16.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.2.5-3.fc16.x86_64 #1 SMP Thu : Feb 9 01:24:38 UTC 2012 x86_64 x86_64 :Alert Count 2 :First Seen lör 11 feb 2012 11.21.09 :Last Seen lör 11 feb 2012 11.21.31 :Local ID 1269bf4f-1564-4ec6-9e53-1b65aed8e61e : :Raw Audit Messages :type=AVC msg=audit(1328955691.600:76): avc: denied { search } for pid=1710 comm="vsftpd" name="/" dev=sda5 ino=2 scontext=system_u:system_r:ftpd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:home_root_t:s0 tclass=dirnode=(removed) type=SYSCALL msg=audit(1328955691.600:76): arch=c000003e syscall=80 success=no exit=-13 a0=7fe403cde6d0 a1=3ea a2=0 a3=7fff2db15040 items=0 ppid=1705 pid=1710 auid=4294967295 uid=0 gid=0 euid=1002 suid=1002 fsuid=1002 egid=1002 sgid=1002 fsgid=1002 tty=(none) ses=4294967295 comm="vsftpd" exe="/usr/sbin/vsftpd" subj=system_u:system_r:ftpd_t:s0-s0:c0.c1023 key=(null) : : :Hash: vsftpd,ftpd_t,home_root_t,None,search : :audit2allow : : :audit2allow -R : :