Re: Unable to use smack labels(xattr) with v3.19 aufs

2017-01-15 Thread Arun Chandran
On Mon, Jan 16, 2017 at 12:08 AM, <sf...@users.sourceforge.net> wrote: > > Arun Chandran: >> This happens because aufs handles removal of files through newly >> created file "layer1/.wh..wh.aufs"(I am guessing this from the below >> printk), as this fil

Re: Unable to use smack labels(xattr) with v3.19 aufs

2017-01-16 Thread Arun Chandran
On Mon, Jan 16, 2017 at 12:29 PM, <sf...@users.sourceforge.net> wrote: > > Arun Chandran: >> # id >> uid=1001(test) gid=1001(test) groups=1001(test) > ::: >> # cd layer1/ >> # >.wh..wh.aufs >> # ln .wh..wh.aufs .wh.0.txt > > Ok, su

Re: Unable to use smack labels(xattr) with v3.19 aufs

2017-01-16 Thread Arun Chandran
On Mon, Jan 16, 2017 at 6:39 PM, <sf...@users.sourceforge.net> wrote: > > Arun Chandran: >> No, It succeeded and created with label "k1", please see below > > Ok, then let's make sure again. > - you wrote that the smack label for root user is "_". Ye

Re: Unable to use smack labels(xattr) with v3.19 aufs

2017-01-15 Thread Arun Chandran
On Sun, Jan 15, 2017 at 1:04 AM, Casey Schaufler <ca...@schaufler-ca.com> wrote: > On 1/14/2017 6:15 AM, sf...@users.sourceforge.net wrote: >> Arun Chandran: > > Thank you for using Smack! > >>> # mount -t aufs -o br=./layer2=rw:./layer1=ro:./layer0=ro -o >&g

Re: Unable to use smack labels(xattr) with v3.19 aufs

2017-01-16 Thread Arun Chandran
On Mon, Jan 16, 2017 at 7:59 PM, <sf...@users.sourceforge.net> wrote: > > Arun Chandran: >> No with 'sudo mount ..' the .wh.* files are created with label of the >> user test not with the label of root. >> [This is because objects gets label of the process; label

Re: Unable to use smack labels(xattr) with v3.19 aufs

2017-01-13 Thread Arun Chandran
On Sat, Jan 14, 2017 at 11:20 AM, <sf...@users.sourceforge.net> wrote: > > Arun Chandran: >> Now I moved my testing to 4.1.17(Used origin/aufs4.1.13+ from >> aufs4-standalone + b.patch applied). >> >> As a root user mounted the layers: >> # mount -t aufs

Re: Unable to use smack labels(xattr) with v3.19 aufs

2017-01-12 Thread Arun Chandran
On Sat, Jan 7, 2017 at 7:51 PM, <sf...@users.sourceforge.net> wrote: > > Arun Chandran: >> Are you going to fix this in your tree? Please feel free to ask my >> help in testing it, I will happily do it. > > Thanx for testing. > As you might know, aufs3.19 is not

Unable to use smack labels(xattr) with v3.19 aufs

2017-01-06 Thread Arun Chandran
Hi All, I am using branch 'origin/aufs3.19' from git://github.com/sfjro/aufs3-linux.git. and want to use smack with aufs. So I enabled the option CONFIG_AUFS_XATTR and booted the kernel. To test it I did 1) mount /dev/hdb1 to /mnt # mount | grep hdb1 /dev/hdb1 on /mnt type ext4

Re: Unable to use smack labels(xattr) with v3.19 aufs

2017-01-07 Thread Arun Chandran
On Sat, Jan 7, 2017 at 6:51 PM, <sf...@users.sourceforge.net> wrote: > Arun Chandran: >> Thank you for the quick reply. >> I have tested the patch. 'ls' behavior is the same, it hangs. There >> are no error messages coming now may be it is doing something

Re: Unable to use smack labels(xattr) with v3.19 aufs

2017-01-07 Thread Arun Chandran
On Sat, Jan 7, 2017 at 2:15 AM, <sf...@users.sourceforge.net> wrote: > Hello Arun, > > Arun Chandran: >> 4) Now if I cd to /mnt/mnt and do 'ls' it hangs and I get the below oops. >> >> >> # dmesg >> [ 148.855382] [ cut here ]---

Re: Unable to use smack labels(xattr) with v3.19 aufs

2017-01-15 Thread Arun Chandran
On Mon, Jan 16, 2017 at 1:19 AM, <sf...@users.sourceforge.net> wrote: > > Arun Chandran: >> - >> Files in the layers before mounting >> -- >> # for i in `find layer* `; do c