lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <19229.1401392143@warthog.procyon.org.uk>
Date:	Thu, 29 May 2014 20:35:43 +0100
From:	David Howells <dhowells@...hat.com>
To:	sedat.dilek@...il.com
Cc:	dhowells@...hat.com, Miklos Szeredi <miklos@...redi.hu>,
	Al Viro <viro@...iv.linux.org.uk>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	linux-fsdevel <linux-fsdevel@...r.kernel.org>,
	LKML <linux-kernel@...r.kernel.org>,
	Christoph Hellwig <hch@...radead.org>,
	Andrew Morton <akpm@...ux-foundation.org>, apw@...onical.com,
	Felix Fietkau <nbd@...nwrt.org>, neilb@...e.de,
	jordipujolp@...il.com, ezk@....cs.sunysb.edu,
	"J. R. Okajima" <hooanon05@...oo.co.jp>, mszeredi@...e.cz
Subject: Re: Unionmount and overlayfs testsuite

Sedat Dilek <sedat.dilek@...il.com> wrote:

> # LC_ALL=C TEST_OVERLAYFS="1" ./run.sh
> [ run.sh ] TEST_OVERLAYFS is 1
> ***
> *** ./run.sh open-plain.test
> ***
> [ mount_union.sh ] TEST_OVERLAYFS is 1
> TEST100: Open O_RDONLY
>  - open_file -r /mnt/a/foo100 -R :xxx:yyy:zzz
>  - open_file -r /mnt/a/foo100 -R :xxx:yyy:zzz
> TEST101: Open O_WRONLY
>  - open_file -w /mnt/a/foo101 -W q
> /mnt/a/foo101: Test file not on upper filesystem  (line 30)

This looks like what I see when I run it:

	[root@...romeda union-testsuite]# TEST_OVERLAYFS=1 ./run.sh 
	***
	*** ./run.sh open-plain.test
	***
	umount: /mnt: not mounted
	TEST100: Open O_RDONLY
	 - open_file -r /mnt/a/foo100 -R :xxx:yyy:zzz
	 - open_file -r /mnt/a/foo100 -R :xxx:yyy:zzz
	TEST101: Open O_WRONLY
	 - open_file -w /mnt/a/foo101 -W q
	/mnt/a/foo101: Test file not on upper filesystem  (line 30)

I think the problem is that the script expecting the "upper" fs inodes to have
the overlay superblock dev ID and not the upper superblock dev ID.  That
should be easily fixable.

David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ