Bug 1392525
Summary: | SELinux prevents ftpdctl from unlinking its socket | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Milos Malik <mmalik> | |
Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> | |
Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 6.9 | CC: | dwalsh, lvrabec, mgrepl, mmalik, plautrba, pvrabec, ssekidde | |
Target Milestone: | rc | |||
Target Release: | --- | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | selinux-policy-3.7.19-301.el6 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1395156 (view as bug list) | Environment: | ||
Last Closed: | 2017-03-21 09:49:17 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: |
Description
Milos Malik
2016-11-07 16:46:27 UTC
Caught in permissive mode: ---- type=PATH msg=audit(11/07/2016 17:48:47.556:907) : item=1 name=/tmp/ftp.cl280603 inode=248776 dev=fc:03 mode=socket,700 ouid=root ogid=root rdev=00:00 obj=unconfined_u:object_r:ftpdctl_tmp_t:s0 nametype=DELETE type=PATH msg=audit(11/07/2016 17:48:47.556:907) : item=0 name=/tmp/ inode=131075 dev=fc:03 mode=dir,sticky,777 ouid=root ogid=root rdev=00:00 obj=system_u:object_r:tmp_t:s0 nametype=PARENT type=CWD msg=audit(11/07/2016 17:48:47.556:907) : cwd=/root type=SYSCALL msg=audit(11/07/2016 17:48:47.556:907) : arch=x86_64 syscall=unlink success=yes exit=0 a0=0x7fff03d3a592 a1=0x7fff03d3a520 a2=0x6f a3=0x7fff03d3a290 items=2 ppid=262706 pid=280603 auid=root uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=pts0 ses=91 comm=ftpdctl exe=/usr/bin/ftpdctl subj=unconfined_u:unconfined_r:ftpdctl_t:s0-s0:c0.c1023 key=(null) type=AVC msg=audit(11/07/2016 17:48:47.556:907) : avc: denied { unlink } for pid=280603 comm=ftpdctl name=ftp.cl280603 dev=vda3 ino=248776 scontext=unconfined_u:unconfined_r:ftpdctl_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:ftpdctl_tmp_t:s0 tclass=sock_file ---- # ftpdctl -v ftpdctl: contacting server using '/var/run/proftpd/proftpd.sock' ftpdctl: error contacting server using '/var/run/proftpd/proftpd.sock': Connection refused # Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2017-0627.html |