Bug 1370967 - SELinux is preventing (tor) from 'mounton' accesses on the directory /var/log/tor.
Summary: SELinux is preventing (tor) from 'mounton' accesses on the directory /var/log...
Keywords:
Status: CLOSED DUPLICATE of bug 1357395
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 24
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:ca988550fc4b8a38b93173a39c5...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-29 03:48 UTC by Luke Macken
Modified: 2016-09-25 20:48 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-25 10:48:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Luke Macken 2016-08-29 03:48:08 UTC
Description of problem:
SELinux is preventing (tor) from 'mounton' accesses on the directory /var/log/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_log_t:s0
Target Objects                /var/log/tor [ dir ]
Source                        (tor)
Source Path                   (tor)
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           tor-0.2.7.6-6.fc24.x86_64
Policy RPM                    selinux-policy-3.13.1-191.10.fc24.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.6.4-301.fc24.x86_64 #1 SMP Tue
                              Jul 12 11:50:00 UTC 2016 x86_64 x86_64
Alert Count                   1
First Seen                    2016-08-17 10:55:03 MDT
Last Seen                     2016-08-17 10:55:03 MDT
Local ID                      1bbccfb4-fad3-4fe2-b0c4-d2a46c84ce39

Raw Audit Messages
type=AVC msg=audit(1471452903.801:153176): avc:  denied  { mounton } for  pid=26948 comm="(tor)" path="/var/log/tor" dev="dm-1" ino=395542 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:tor_var_log_t:s0 tclass=dir permissive=1


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

Version-Release number of selected component:
selinux-policy-3.13.1-191.10.fc24.noarch

Additional info:
reporter:       libreport-2.7.2
hashmarkername: setroubleshoot
kernel:         4.6.4-301.fc24.x86_64
type:           libreport

Comment 2 Michael S. 2016-09-25 10:48:14 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.