Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1247530 - snapper: perform 'restorecon' on .snapshots subvolume
Summary: snapper: perform 'restorecon' on .snapshots subvolume
Alias: None
Product: Fedora
Classification: Fedora
Component: snapper
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Ondrej Kozina
QA Contact: Fedora Extras Quality Assurance
: 1301329 (view as bug list)
Depends On: 1247532
TreeView+ depends on / blocked
Reported: 2015-07-28 09:10 UTC by Ondrej Kozina
Modified: 2016-08-19 10:37 UTC (History)
8 users (show)

Fixed In Version: snapper-0.3.3-1.fc25
Doc Type: Enhancement
Doc Text:
Clone Of: 1069312
Last Closed: 2016-08-19 10:37:49 UTC
Type: Bug

Attachments (Terms of Use)

Description Ondrej Kozina 2015-07-28 09:10:25 UTC
Snapper needs a way how to set a proper selinux context on btrfs subvolumes originating in snapshot create command. Fs can't handle it on its own.

We've briefly outlined the future fix for this problem in Fedora. The fix will involve manually setting/restoring types for .snapshots directory content from within the snapperd.

Generally I need predefined source for types supposed to be set in .snapshots directory.

Comment 1 Jan Kurik 2016-02-24 15:50:12 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:

Comment 2 Ondrej Kozina 2016-03-03 12:02:04 UTC
*** Bug 1301329 has been marked as a duplicate of this bug. ***

Comment 3 Ondrej Kozina 2016-04-12 13:28:21 UTC
Awaiting review from upstream:

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