Re: auplink fails with EINVAL inside chroot

2010-07-04 Thread sfjro
> Hello Jan, > It was two months ago when I sent the patch, I almost forget about the > issue. :-) > > Jan Engelhardt: > > The patch does nothing, because the wrong ioctl is already caught > > earlier: > > > > [ 9505.700896] ioctl32(mount.aufs:9155): Unknown cmd fd(4) > > cmd(4100){t:'A';sz:

Re: auplink fails with EINVAL inside chroot

2010-06-28 Thread sfjro
Hello Jan, It was two months ago when I sent the patch, I almost forget about the issue. :-) Jan Engelhardt: > The patch does nothing, because the wrong ioctl is already caught > earlier: > > [ 9505.700896] ioctl32(mount.aufs:9155): Unknown cmd fd(4) > cmd(4100){t:'A';sz:0} arg(0941ff88) on

Re: auplink fails with EINVAL inside chroot

2010-06-28 Thread Jan Engelhardt
On Friday 2010-04-16 10:40, sf...@users.sourceforge.net wrote: > >Jan Engelhardt: >> >> >> 13:25 xensrvneu:/ # mount -t aufs none /x -o br:/root=rw >> >> >> /sbin/mount.aufs:plink.c:223: AUFS_CTL_PLINK_MAINT: Invalid argument > ::: >> Yes, the command was >> >> strace -fo mount.log mount -t

Re: auplink fails with EINVAL inside chroot

2010-04-16 Thread sfjro
Jan Engelhardt: > >> >> 13:25 xensrvneu:/ # mount -t aufs none /x -o br:/root=rw > >> >> /sbin/mount.aufs:plink.c:223: AUFS_CTL_PLINK_MAINT: Invalid argument ::: > Yes, the command was > > strace -fo mount.log mount -t aufs none /mnt -o br:/dev/shm=rw Ah, you just changed the paths. Then

Re: auplink fails with EINVAL inside chroot

2010-04-16 Thread Jan Engelhardt
On Friday 2010-04-16 05:18, sf...@users.sourceforge.net wrote: > >Jan Engelhardt: >> >> 13:25 xensrvneu:/ # mount -t aufs none /x -o br:/root=rw >> >> /sbin/mount.aufs:plink.c:223: AUFS_CTL_PLINK_MAINT: Invalid argument > ::: >> 2514 execve("/bin/mount", ["mount", "-t", "aufs", "none", "/mn

Re: auplink fails with EINVAL inside chroot

2010-04-15 Thread sfjro
Jan Engelhardt: > >> 13:25 xensrvneu:/ # mount -t aufs none /x -o br:/root=rw > >> /sbin/mount.aufs:plink.c:223: AUFS_CTL_PLINK_MAINT: Invalid argument ::: > 2514 execve("/bin/mount", ["mount", "-t", "aufs", "none", "/mnt", "-o", > "br:/dev/shm=rw"], [/* 66 vars */]) = 0 ::: > 25

Re: auplink fails with EINVAL inside chroot

2010-04-15 Thread Jan Engelhardt
On Thursday 2010-04-15 14:21, sf...@users.sourceforge.net wrote: >Jan Engelhardt: >> 13:25 xensrvneu:/ # mount -t aufs none /x -o br:/root=rw >> /sbin/mount.aufs:plink.c:223: AUFS_CTL_PLINK_MAINT: Invalid argument > >Currently I am guessing your mount(8) passed some incorrect parameters >to mount.a

Re: auplink fails with EINVAL inside chroot

2010-04-15 Thread sfjro
Hi, Jan Engelhardt: > 13:25 xensrvneu:/ # mount -t aufs none /x -o br:/root=rw > /sbin/mount.aufs:plink.c:223: AUFS_CTL_PLINK_MAINT: Invalid argument Currently I am guessing your mount(8) passed some incorrect parameters to mount.aufs(8). Try "strace -f mount -t ..." and send me the output pleas

auplink fails with EINVAL inside chroot

2010-04-15 Thread Jan Engelhardt
Hi, with a current aufs2-standalone/utils on 2.6.33, I observe that auplink has a little problem with mounts inside a chroot: 13:25 xensrvneu:~ # mount -t aufs none /srv/nfs/x -o br:/srv/nfs/root=rw 13:25 xensrvneu:~ # umount /srv/nfs/x 13:25 xensrvneu:~ # chroot /srv/nfs 13:25 xensrvneu:/ # mo