[CRIU] [PATCH 1/2] add a tracefs test

Tycho Andersen tycho.andersen at canonical.com
Tue May 24 07:00:41 PDT 2016


On Mon, May 23, 2016 at 06:25:26PM -0600, Tycho Andersen wrote:
>
> Hmm, ok. Maybe I'm misunderstanding the source of the bug, then. I
> have to go for today, but I'll take a look tomorrow morning.

Hmm, is it possible that on my runs I just got lucky and the forks() mounted
debugfs before it measured the state, but you aren't? i.e. with this:

        if not self.static():
            # Wait less than a second to give the test chance to
            # move into some semi-random state
            time.sleep(random.random())

Also, it seems mnt_ext_auto.c also doesn't unshare(), and probably pollutes the
host mount ns too?

Tycho


More information about the CRIU mailing list