Bug 1540711
Summary: | selinux policy stops tor from starting if configured to host a hidden service | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Billy Croan <Billy> |
Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.4 | CC: | lvrabec, mgrepl, mmalik, plautrba, ssekidde |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-10-30 10:02:20 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
Billy Croan
2018-01-31 20:14:48 UTC
The reproducer triggered following SELinux denials (multiple times) in enforcing mode: ---- type=PROCTITLE msg=audit(02/01/2018 03:02:58.371:303) : proctitle=/usr/bin/tor --runasdaemon 0 --defaults-torrc /usr/share/tor/defaults-torrc -f /etc/tor/torrc --verify-config type=SYSCALL msg=audit(02/01/2018 03:02:58.371:303) : arch=x86_64 syscall=open success=no exit=EACCES(Permission denied) a0=0x55f566418340 a1=O_RDONLY|O_NOFOLLOW a2=0x0 a3=0x9 items=0 ppid=1 pid=8270 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=unset comm=tor exe=/usr/bin/tor subj=system_u:system_r:tor_t:s0 key=(null) type=AVC msg=audit(02/01/2018 03:02:58.371:303) : avc: denied { dac_override } for pid=8270 comm=tor capability=dac_override scontext=system_u:system_r:tor_t:s0 tcontext=system_u:system_r:tor_t:s0 tclass=capability permissive=0 type=AVC msg=audit(02/01/2018 03:02:58.371:303) : avc: denied { dac_read_search } for pid=8270 comm=tor capability=dac_read_search scontext=system_u:system_r:tor_t:s0 tcontext=system_u:system_r:tor_t:s0 tclass=capability permissive=0 ---- # ls -ld /var/lib/tor/hs drwx------. 2 toranon toranon 6 Feb 1 03:02 /var/lib/tor/hs # 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://access.redhat.com/errata/RHBA-2018:3111 |