[Bug 1218872] Cannot create snapper snapshots with SELinux
https://bugzilla.suse.com/show_bug.cgi?id=1218872 https://bugzilla.suse.com/show_bug.cgi?id=1218872#c2 --- Comment #2 from Hu <cathy.hu@suse.com> --- Since you are using a non-default path, I think the right way is to add the file context via semanage, as you already tried to do. I think semanage can set the file context to <<none>> though. Try using this on your custom directory /srv/foo before running your commands: semanage fcontext -a -t '<<none>>' '/srv/foo/\.snapshots/[^/]*/snapshot(/.*)?' semanage fcontext -a -t 'snapperd_data_t' '/srv/foo/\.snapshots(/.*)?' I think that should resolve your issue as this then should not relabel the snapshot content. Please let me know if your issue still persists, thanks! -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com