Re: Btrfs send receive + Samba, ERROR: lsetxattr security.selinux= failed. Operation not supported.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Apr 4, 2015 at 5:36 AM, Daniel J Walsh <dwalsh@xxxxxxxxxx> 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?



-- 
Chris Murphy
--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux





[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux