Bug 1372643

Summary: SELinux is preventing systemd-machine from 'read' accesses on the file Unknown.
Product: [Fedora] Fedora Reporter: Vít Ondruch <vondruch>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dominick.grift, dwalsh, lvrabec, mgrepl, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:c641e30cea9cb63494922eefd011bb4c1bdc7f6eb62e7837d701c1de5aca6afc;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-30 12:18:19 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 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