Bug 1466824 - SELinux is preventing snapperd from 'relabelto' accesses on the file info.xml.
SELinux is preventing snapperd from 'relabelto' accesses on the file info.xml.
Status: NEW
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
25
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Lukas Vrabec
Fedora Extras Quality Assurance
abrt_hash:9b9f6665c92b28e82d9ffa45c68...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-30 10:01 EDT by Mike Goodwin
Modified: 2017-06-30 10:01 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Mike Goodwin 2017-06-30 10:01:45 EDT
Description of problem:
snapper-timeline.timer unit running 
SELinux is preventing snapperd from 'relabelto' accesses on the file info.xml.

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

If you believe that snapperd should be allowed relabelto access on the info.xml 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 'snapperd' --raw | audit2allow -M my-snapperd
# semodule -X 300 -i my-snapperd.pp

Additional Information:
Source Context                system_u:system_r:snapperd_t:s0-s0:c0.c1023
Target Context                unconfined_u:object_r:user_home_t:s0
Target Objects                info.xml [ file ]
Source                        snapperd
Source Path                   snapperd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-225.19.fc25.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.11.7-200.fc25.x86_64 #1 SMP Mon
                              Jun 26 15:58:22 UTC 2017 x86_64 x86_64
Alert Count                   9
First Seen                    2017-06-30 10:00:34 EDT
Last Seen                     2017-06-30 10:00:34 EDT
Local ID                      11ff4fdc-f4b9-45bf-969e-9a5ee550afb8

Raw Audit Messages
type=AVC msg=audit(1498831234.742:913): avc:  denied  { relabelto } for  pid=31898 comm="snapperd" name="info.xml" dev="dm-0" ino=356 scontext=system_u:system_r:snapperd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=0


Hash: snapperd,snapperd_t,user_home_t,file,relabelto

Version-Release number of selected component:
selinux-policy-3.13.1-225.19.fc25.noarch

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.11.7-200.fc25.x86_64
type:           libreport

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