| Summary: | SELinux is preventing (tor) from 'mounton' accesses on the directory /var/lib/tor. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Biji <fedora.243908> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 24 | CC: | dominick.grift, dwalsh, efsnefs, lvrabec, mgrepl, misc, plautrba |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:ea422aa465b361b7c1a41cc1811f1fa57b323d38080329c3c5b27ec013b98220;VARIANT_ID=workstation; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-09-25 10:47:56 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Description of problem: Hi, When i am starting Tor Browser Launcher, Pop-up Tor Browser Launcher Settings, and then click Install tor browser. It give error pop-up like that (Error connecting to Tor at tcp:127.0.0.1:9050) Version-Release number of selected component: selinux-policy-3.13.1-191.13.fc24.noarch Additional info: reporter: libreport-2.7.2 hashmarkername: setroubleshoot kernel: 4.7.2-201.fc24.x86_64 type: libreport *** This bug has been marked as a duplicate of bug 1357395 *** |
Description of problem: Tor can not run because selinux policy for path /run/tor and /var/lib/tor SELinux is preventing (tor) from 'mounton' accesses on the directory /var/lib/tor. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that (tor) should be allowed mounton access on the tor directory 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: # ausearch -c '(tor)' --raw | audit2allow -M my-tor # semodule -X 300 -i my-tor.pp Additional Information: Source Context system_u:system_r:init_t:s0 Target Context system_u:object_r:tor_var_lib_t:s0 Target Objects /var/lib/tor [ dir ] Source (tor) Source Path (tor) Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages tor-0.2.8.7-1.fc24.x86_64 Policy RPM selinux-policy-3.13.1-191.14.fc24.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.7.2-201.fc24.x86_64 #1 SMP Fri Aug 26 15:58:40 UTC 2016 x86_64 x86_64 Alert Count 10 First Seen 2016-09-09 18:21:16 WIB Last Seen 2016-09-09 18:21:22 WIB Local ID 701e229a-3838-435b-8549-312f60a3371f Raw Audit Messages type=AVC msg=audit(1473420082.61:465): avc: denied { mounton } for pid=31513 comm="(tor)" path="/var/lib/tor" dev="dm-0" ino=3278498 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:tor_var_lib_t:s0 tclass=dir permissive=0 Hash: (tor),init_t,tor_var_lib_t,dir,mounton Version-Release number of selected component: selinux-policy-3.13.1-191.14.fc24.noarch Additional info: reporter: libreport-2.7.2 hashmarkername: setroubleshoot kernel: 4.7.2-201.fc24.x86_64 type: libreport