Bug 1372643 - SELinux is preventing systemd-machine from 'read' accesses on the file Unknown.
Summary: SELinux is preventing systemd-machine from 'read' accesses on the file Unknown.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:c641e30cea9cb63494922eefd01...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-02 09:35 UTC by Vít Ondruch
Modified: 2016-11-30 12:18 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-30 12:18:19 UTC
Type: ---


Attachments (Terms of Use)

Description Vít Ondruch 2016-09-02 09:35:05 UTC
Description of problem:
SELinux is preventing systemd-machine from 'read' accesses on the file Unknown.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that systemd-machine should be allowed read access on the Unknown file 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 'systemd-machine' --raw | audit2allow -M my-systemdmachine
# semodule -X 300 -i my-systemdmachine.pp

Additional Information:
Source Context                system_u:system_r:systemd_machined_t:s0
Target Context                system_u:object_r:nsfs_t:s0
Target Objects                Unknown [ file ]
Source                        systemd-machine
Source Path                   systemd-machine
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-209.fc26.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.7.0-2.fc26.x86_64 #1 SMP Wed Jul
                              27 13:39:50 UTC 2016 x86_64 x86_64
Alert Count                   8
First Seen                    2016-09-01 10:38:40 CEST
Last Seen                     2016-09-01 12:46:35 CEST
Local ID                      a4aaabe8-d413-47a0-9141-e432789e0a58

Raw Audit Messages
type=AVC msg=audit(1472726795.577:4052): avc:  denied  { read } for  pid=12836 comm="systemd-machine" dev="nsfs" ino=4026532469 scontext=system_u:system_r:systemd_machined_t:s0 tcontext=system_u:object_r:nsfs_t:s0 tclass=file permissive=1


Hash: systemd-machine,systemd_machined_t,nsfs_t,file,read

Version-Release number of selected component:
selinux-policy-3.13.1-209.fc26.noarch

Additional info:
reporter:       libreport-2.7.2
hashmarkername: setroubleshoot
kernel:         4.7.0-2.fc26.x86_64
type:           libreport


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