I’m slightly overwhelmed by this suggestions of SeLinux. What do I need to do here?
SELinux is preventing snapperd from create access on the directory 1.
***** Plugin catchall_labels (83.8 confidence) suggests *******************
If you want to allow snapperd to have create access on the 1 directory
Then you need to change the label on 1
Do
# semanage fcontext -a -t FILE_TYPE '1'
where FILE_TYPE is one of the following: snapperd_conf_t, snapperd_data_t, unlabeled_t.
Then execute:
restorecon -v '1'
***** Plugin catchall (17.1 confidence) suggests **************************
If you believe that snapperd should be allowed create access on the 1 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 'snapperd' --raw | audit2allow -M my-snapperd
# semodule -X 300 -i my-snapperd.pp
Additional Information:
Source Context system_u:system_r:snapperd_t:s0
Target Context system_u:object_r:usr_t:s0
Target Objects 1 [ dir ]
Source snapperd
Source Path snapperd
Port <Unknown>
Host ws-living
Source RPM Packages
Target RPM Packages
SELinux Policy RPM selinux-policy-targeted-44.2-1.fc44.noarch
Local Policy RPM selinux-policy-targeted-44.2-1.fc44.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name ws-living
Platform Linux ws-living 7.0.11-200.fc44.x86_64 #1 SMP
PREEMPT_DYNAMIC Mon Jun 1 22:50:37 UTC 2026
x86_64
Alert Count 8
First Seen 2026-06-12 19:00:01 CEST
Last Seen 2026-06-13 09:00:06 CEST
Local ID 49547b12-6bd5-4e79-8fe6-a587bceb4dd0
Raw Audit Messages
type=AVC msg=audit(1781334006.50:456): avc: denied { create } for pid=206541 comm="snapperd" name="1" scontext=system_u:system_r:snapperd_t:s0 tcontext=system_u:object_r:usr_t:s0 tclass=dir permissive=0
Hash: snapperd,snapperd_t,usr_t,dir,create