Bug 1369510 - SELinux is preventing (tor) from mounton access on the directory /run/tor.
Summary: SELinux is preventing (tor) from mounton access on the directory /run/tor.
Keywords:
Status: CLOSED DUPLICATE of bug 1357395
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-23 15:13 UTC by Vedran Miletić
Modified: 2016-08-24 14:43 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-24 14:43:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Vedran Miletić 2016-08-23 15:13:44 UTC
Description of problem:
$ sealert -l 5d187037-b4e8-44bc-b997-672e0846968d
SELinux is preventing (tor) from mounton access on the directory /run/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_run_t:s0
Target Objects                /run/tor [ dir ]
Source                        (tor)
Source Path                   (tor)
Port                          <Unknown>
Host                          beg
Source RPM Packages           
Target RPM Packages           tor-0.2.8.6-2.fc25.x86_64
Policy RPM                    selinux-policy-3.13.1-208.fc25.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     beg
Platform                      Linux beg 4.8.0-0.rc2.git3.1.fc25.x86_64 #1 SMP
                              Fri Aug 19 14:24:04 UTC 2016 x86_64 x86_64
Alert Count                   14
First Seen                    2016-08-23 17:09:10 CEST
Last Seen                     2016-08-23 17:11:36 CEST
Local ID                      5d187037-b4e8-44bc-b997-672e0846968d

Raw Audit Messages
type=AVC msg=audit(1471965096.203:378): avc:  denied  { mounton } for  pid=5613 comm="(tor)" path="/run/tor" dev="tmpfs" ino=16839 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:tor_var_run_t:s0 tclass=dir permissive=0


Hash: (tor),init_t,tor_var_run_t,dir,mounton


Tried restorecon -RvF on the directory, but did not help.

Comment 1 Michael S. 2016-08-24 14:43:16 UTC

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


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