Re: lsetxattr error when doing send/receive

2014-05-14 Thread Bernardo Donadio
On 05/14/2014 03:52 AM, Chris Murphy wrote: Reverse that. If selinux is disabled, labels can't be set. If not enforcing, you won't get AVC denials for the vast majority of events, but labels can be set and e.g. restorecon will still work. Indeed, enabling SELinux into permissive mode solved t

Re: lsetxattr error when doing send/receive

2014-05-14 Thread David Brown
On Wed, May 14, 2014 at 12:52:50AM -0600, Chris Murphy wrote: On May 13, 2014, at 7:57 PM, David Brown wrote: On Tue, May 13, 2014 at 08:44:44PM -0300, Bernardo Donadio wrote: Hi! I'm trying to do a send/receive of a snapshot between two disks on Fedora 20 with Linux 3.15-rc5 (and also tri

Re: lsetxattr error when doing send/receive

2014-05-13 Thread Chris Murphy
On May 13, 2014, at 9:16 PM, Bernardo Donadio wrote: > On 05/13/2014 10:57 PM, David Brown wrote: >> $ selinuxenabled; echo $? > > It does return '1'. I know SELinux is disabled because I can't boot with it > on (and I have no fucking clue why). > > What exactly is the error complaining about

Re: lsetxattr error when doing send/receive

2014-05-13 Thread Chris Murphy
On May 13, 2014, at 7:57 PM, David Brown wrote: > On Tue, May 13, 2014 at 08:44:44PM -0300, Bernardo Donadio wrote: >> Hi! >> >> I'm trying to do a send/receive of a snapshot between two disks on Fedora 20 >> with Linux 3.15-rc5 (and also tried with 3.14 and 3.11) and SELinux >> disabled, and

Re: lsetxattr error when doing send/receive

2014-05-13 Thread Bernardo Donadio
On 05/13/2014 10:57 PM, David Brown wrote: $ selinuxenabled; echo $? It does return '1'. I know SELinux is disabled because I can't boot with it on (and I have no fucking clue why). What exactly is the error complaining about, BTW? A guy at #selinux@freenode said something about btrfs not s

Re: lsetxattr error when doing send/receive

2014-05-13 Thread David Brown
On Tue, May 13, 2014 at 08:44:44PM -0300, Bernardo Donadio wrote: Hi! I'm trying to do a send/receive of a snapshot between two disks on Fedora 20 with Linux 3.15-rc5 (and also tried with 3.14 and 3.11) and SELinux disabled, and then I'm receiving the following error: [root@darwin /]# btrfs

lsetxattr error when doing send/receive

2014-05-13 Thread Bernardo Donadio
Hi! I'm trying to do a send/receive of a snapshot between two disks on Fedora 20 with Linux 3.15-rc5 (and also tried with 3.14 and 3.11) and SELinux disabled, and then I'm receiving the following error: [root@darwin /]# btrfs subvolume snapshot -r / @.$(date +%Y-%m-%d-%H%M%S)Create a readonl