Bug 1247530 - snapper: perform 'restorecon' on .snapshots subvolume
Summary: snapper: perform 'restorecon' on .snapshots subvolume
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: snapper
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ondrej Kozina
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1301329 (view as bug list)
Depends On: 1247532
Blocks:
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
Environment:
Last Closed: 2016-08-19 10:37:49 UTC
Type: Bug
Embargoed:


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:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase

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: https://github.com/openSUSE/snapper/pull/239


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