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: <CA+icZUWpLjMmpKUiB9jFyiLrAz9g35b2g63HDq9HfvSbCQHqRA@mail.gmail.com>
Date:	Sun, 22 Feb 2015 16:05:02 +0100
From:	Sedat Dilek <sedat.dilek@...il.com>
To:	David Howells <dhowells@...hat.com>,
	Miklos Szeredi <mszeredi@...e.cz>
Cc:	Linus Torvalds <torvalds@...ux-foundation.org>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	linux-fsdevel <linux-fsdevel@...r.kernel.org>,
	Al Viro <viro@...iv.linux.org.uk>
Subject: Re: [git pull] more vfs bits

On Sun, Feb 22, 2015 at 11:36 AM, Sedat Dilek <sedat.dilek@...il.com> wrote:
> On Sun, Feb 22, 2015 at 10:37 AM, Al Viro <viro@...iv.linux.org.uk> wrote:
>> On Sun, Feb 22, 2015 at 10:32:02AM +0100, Sedat Dilek wrote:
>>
>>> How do you test?
>>
>> Mostly xfstests and LTP, plus assorted tests depending on the areas touched...
>> Any extra testing is welcome - the more, the merrier...
>
> As said I wanted to test with unionmount-testsuite from Git HEAD master.
>
> But...
>
> The README is out-of-date and...
>
> ...my python3 throws me a...
>
> $ LC_ALL=C ./run --ov --set-up 2>&1 | tee
> ../unionmount-testsuite-log_ov-set-up_$(uname -r).txt
> Traceback (most recent call last):
>   File "./run", line 107, in <module>
>     set_up(ctx)
>   File "/home/wearefam/src/unionmount-testsuite/unionmount-testsuite-git/set_up.py",
> line 26, in set_up
>     os.sync()
> AttributeError: 'module' object has no attribute 'sync'
>
> $ dpkg -l | grep python3
> ii  python3
> 3.2.3-0ubuntu1.2                                    interactive
> high-level object-oriented language (default python3 version)
> ii  python3-minimal
> 3.2.3-0ubuntu1.2                                    minimal subset of
> the Python language (default python3 version)
> ii  python3.2
> 3.2.3-0ubuntu3.6                                    Interactive
> high-level object-oriented language (version 3.2)
> ii  python3.2-minimal
> 3.2.3-0ubuntu3.6                                    Minimal subset of
> the Python language (version 3.2)
>
> AFAICS I had reported already the README needs a refresh.
>
> I will continue with LTP-lite testing and fio.
>

[ +Miklos ]

I switched from python-3.2 to python-3.4 from a 3rd-party PPA (see [1]
and [2]) here on Ubuntu/precise.

$ sudo add-apt-repository ppa:fkrull/deadsnakes
$ sudo apt-get update
$ sudo apt-get install python3.4 python3-deadsnakes

$ cd /usr/bin/
$ ln -sf python3.4 python3

$ python3 --version
Python 3.4.2

David, the requirement of which minimal python3 release should be
documented (README?).
Thanks.

As the mount-type changed mount_union.py needs a refresh, too.
We need to distinguish when OverlayFS is built as a module.

$ grep -i overlay /boot/config-3.19.0-9526.2-iniza-small
CONFIG_OVERLAY_FS=m

Formerly: CONFIG_OVERLAYFS_FS=m

diff --git a/mount_union.py b/mount_union.py
index 4999daa40989..e1963d6eb22a 100644
--- a/mount_union.py
+++ b/mount_union.py
@@ -27,6 +27,6 @@ def mount_union(ctx):
         workdir = upper_mntroot + "/work"
         os.mkdir(upperdir)
         os.mkdir(workdir)
-        system("mount -t overlayfs overlayfs " + union_mntroot +
+        system("mount -t overlay overlay " + union_mntroot +
                " -olowerdir=" + lower_mntroot + ",upperdir=" +
upperdir + ",workdir=" + workdir)
         ctx.note_upper_fs(upper_mntroot, testdir)

In the end I could run unionmount-testsuite on vanilla-upstream (w/o
vfs.git#for-linus, test results will follow).

$ sudo modprobe -v overlay

$ sudo LC_ALL=C ./run --ov 2>&1 | tee
../logs/results_unionmount-testsuite_$(uname -r).txt

Have more fun!

Regards,
- Sedat -


[1] http://askubuntu.com/a/290283
[2] http://askubuntu.com/questions/244544/how-do-i-install-python-3-3

View attachment "results_unionmount-testsuite_3.19.0-9526.1-iniza-small.txt" of type "text/plain" (205470 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ