[Bug 1444402] Re: LXC with r/w sys and udev keeps trying to unmount bind mounts

2015-06-10 Thread Launchpad Bug Tracker
This bug was fixed in the package systemd - 219-7ubuntu6 --- systemd (219-7ubuntu6) vivid; urgency=medium * Fix assertion crash with empty Exec*= paths. (LP: #1454173) * systemd-fsckd autopkgtest: Stop assuming that /etc/default/grub.d/90-autopkgtest.cfg exists. * systemd-fs

[Bug 1444402] Re: LXC with r/w sys and udev keeps trying to unmount bind mounts

2015-06-09 Thread Iain Lane
Confirmed the fix on a cloud VM, thanks! ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/102 Title: LXC with r/w sys and udev

[Bug 1444402] Re: LXC with r/w sys and udev keeps trying to unmount bind mounts

2015-06-02 Thread Brian Murray
Hello Iain, or anyone else affected, Accepted systemd into vivid-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/systemd/219-7ubuntu6 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.u

[Bug 1444402] Re: LXC with r/w sys and udev keeps trying to unmount bind mounts

2015-06-01 Thread Martin Pitt
@Ross: I already prepared the fix some two weeks ago, it's waiting in https://launchpad.net/ubuntu/vivid/+queue?queue_state=1 to be processed by the SRU team. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/b

[Bug 1444402] Re: LXC with r/w sys and udev keeps trying to unmount bind mounts

2015-06-01 Thread Ross Patterson
How can one get this fix in vivid? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/102 Title: LXC with r/w sys and udev keeps trying to unmount bind mounts To manage notifications about this bug

[Bug 1444402] Re: LXC with r/w sys and udev keeps trying to unmount bind mounts

2015-05-21 Thread Launchpad Bug Tracker
This bug was fixed in the package systemd - 219-10ubuntu1 --- systemd (219-10ubuntu1) wily; urgency=medium * Merge with Debian experimental branch. Remaining Ubuntu changes: - Hack to support system-image read-only /etc, and modify files in /etc/writable/ instead. - Ke

[Bug 1444402] Re: LXC with r/w sys and udev keeps trying to unmount bind mounts

2015-05-19 Thread Martin Pitt
** Description changed: I recently hit ENOSPC which turned out to be the result of various syslogs from the current and previous boots totalling up to 30G. They were filled with messages like Apr 15 11:22:35 vivid systemd[1]: Unit var-lib-schroot-union-underlay-vivid\x2damd64\x2d5d4

[Bug 1444402] Re: LXC with r/w sys and udev keeps trying to unmount bind mounts

2015-05-19 Thread Martin Pitt
Cherry-picked to http://anonscm.debian.org/cgit/pkg- systemd/systemd.git/commit/?h=ubuntu-vivid&id=f5d9b13f784. Uploaded to https://launchpad.net/~pitti/+archive/ubuntu/sru-test . ** Changed in: systemd (Ubuntu) Status: In Progress => Fix Committed ** Changed in: systemd (Ubuntu Vivid)

[Bug 1444402] Re: LXC with r/w sys and udev keeps trying to unmount bind mounts

2015-05-19 Thread Martin Pitt
After some more back and forth we fixed the remaining issues as well now: http://cgit.freedesktop.org/systemd/systemd/commit/?id=fcd8b26 http://cgit.freedesktop.org/systemd/systemd/commit/?id=394763f6 (followup fix for the former) -- You received this bug notification because you are a mem

[Bug 1444402] Re: LXC with r/w sys and udev keeps trying to unmount bind mounts

2015-05-19 Thread Martin Pitt
I got http://cgit.freedesktop.org/systemd/systemd/commit/?id=2005219 upstream, which is about as far as they want to go. It's not a supported configuration to have a r/w /sys in a container and run udev. This can't work. So if you want to manually unmount bind mounts (the second patch), please drop

[Bug 1444402] Re: LXC with r/w sys and udev keeps trying to unmount bind mounts

2015-05-19 Thread Martin Pitt
New set of proposed patches: http://lists.freedesktop.org/archives/systemd-devel/2015-May/032030.html http://lists.freedesktop.org/archives/systemd-devel/2015-May/032024.html Attached /lib/systemd/systemd with these applied (amd64), for testing. ** Attachment added: "/lib/systemd/systemd with pro

[Bug 1444402] Re: LXC with r/w sys and udev keeps trying to unmount bind mounts

2015-05-19 Thread Martin Pitt
Refined command line to also verify that the tentative device *does* move to "dead" once the last reference gets unmounted: schroot -r -c session:schroot-wily-systemd -- make -j4 && sudo rm -f /srv/lxc/test/rootfs/lib/systemd/systemd && sudo cp systemd /srv/lxc/test/rootfs/lib/systemd/systemd && c

[Bug 1444402] Re: LXC with r/w sys and udev keeps trying to unmount bind mounts

2015-05-19 Thread Martin Pitt
This is the command line I'm using for test iteration. It's not that simple, so I want to keep it here in case I ever need it again. This builds systemd from git, copies it into a "test" container, starts it, runs the bind mount/umount, and shows the debug log: schroot -r -c session:schroot-wily-