On 04/04/2015 04:27 PM, Chris Murphy wrote:
On Sat, Apr 4, 2015 at 5:36 AM, Daniel J Walsh
<dwalsh(a)redhat.com> wrote:
> It is supposed to fail.
Ok thanks. So at the moment this makes btrfs receive and Samba
incompatible on the same volume. Mounting different subvolumes with
different -o context= values of course doesn't work, while subvolumes
are separate fs trees they still share a superblock.
SELinux: mount invalid. Same superblock, different security settings
for (dev sdd1, type btrfs)
Is there a way to avoid using mount -o context? What about chcon -Rt
samba_share_t on the subvolume that will be Samba shared, leaving
other subvolumes with default labeling for btrfs receive?
That should work.