[Touch-packages] [Bug 1444402] Re: While sbuilding in LXC, systemd loops attempting to umount the underlay

2015-05-18 Thread Martin Pitt
** Tags added: systemd-boot

** Summary changed:

- While sbuilding in LXC, systemd loops attempting to umount the underlay
+ LXC with r/w sys and udev keeps trying to unmount bind mounts

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/102

Title:
  LXC with r/w sys and udev keeps trying to unmount bind mounts

Status in systemd:
  New
Status in systemd package in Ubuntu:
  In Progress
Status in systemd source package in Vivid:
  In Progress

Bug description:
  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\x2d5d4f7453\x2d9a95\x2d4a6a\x2d9aee\x2d9394923bf734.mount
 is bound to inactive unit 
dev-disk-by\x2duuid-980689ca\x2de7d9\x2d4a99\x2d8230\x2d33b8b6e917cd.device. 
Stopping, too.
  Apr 15 11:22:35 vivid systemd[1]: Unmounting 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734...
  Apr 15 11:22:35 vivid umount[31795]: umount: 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734:
 target is busy
  Apr 15 11:22:35 vivid umount[31795]: (In some cases useful info about 
processes that
  Apr 15 11:22:35 vivid umount[31795]: use the device is found by lsof(8) or 
fuser(1).)
  Apr 15 11:22:35 vivid systemd[1]: 
var-lib-schroot-union-underlay-vivid\x2damd64\x2d5d4f7453\x2d9a95\x2d4a6a\x2d9aee\x2d9394923bf734.mount
 mount process exited, code=exited status=32
  Apr 15 11:22:35 vivid systemd[1]: Failed unmounting 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734.
  Apr 15 11:22:35 vivid systemd[1]: Unit 
var-lib-schroot-union-underlay-vivid\x2damd64\x2d5d4f7453\x2d9a95\x2d4a6a\x2d9aee\x2d9394923bf734.mount
 is bound to inactive unit 
dev-disk-by\x2duuid-980689ca\x2de7d9\x2d4a99\x2d8230\x2d33b8b6e917cd.device. 
Stopping, too.
  Apr 15 11:22:35 vivid systemd[1]: Unmounting 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734...
  Apr 15 11:22:35 vivid systemd[1]: Unmounted 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734.
  Apr 15 11:22:35 vivid systemd[1]: Unit 
var-lib-schroot-union-underlay-vivid\x2damd64\x2d5d4f7453\x2d9a95\x2d4a6a\x2d9aee\x2d9394923bf734.mount
 entered failed state.

  looping constantly for the duration of any builds in sbuild.

  Why is systemd trying to do this?

  laney@vivid apt-cache policy systemd
  systemd:
Installed: 219-7ubuntu1
Candidate: 219-7ubuntu1
Version table:
   *** 219-7ubuntu1 0
  500 http://sherwood/ubuntu/ vivid/main amd64 Packages
  100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/systemd/+bug/102/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1444402] Re: While sbuilding in LXC, systemd loops attempting to umount the underlay

2015-05-17 Thread Martin Pitt
First patch was nack'ed; second proposal:
http://lists.freedesktop.org/archives/systemd-devel/2015-May/031893.html

Attaching an updated /lib/systemd/systemd with those patches (amd64).

** Attachment added: /lib/systemd/systemd with proposed fix (v2)
   
https://bugs.launchpad.net/systemd/+bug/102/+attachment/4398907/+files/systemd

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/102

Title:
  While sbuilding in LXC, systemd loops attempting to umount the
  underlay

Status in systemd:
  New
Status in systemd package in Ubuntu:
  In Progress
Status in systemd source package in Vivid:
  In Progress

Bug description:
  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\x2d5d4f7453\x2d9a95\x2d4a6a\x2d9aee\x2d9394923bf734.mount
 is bound to inactive unit 
dev-disk-by\x2duuid-980689ca\x2de7d9\x2d4a99\x2d8230\x2d33b8b6e917cd.device. 
Stopping, too.
  Apr 15 11:22:35 vivid systemd[1]: Unmounting 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734...
  Apr 15 11:22:35 vivid umount[31795]: umount: 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734:
 target is busy
  Apr 15 11:22:35 vivid umount[31795]: (In some cases useful info about 
processes that
  Apr 15 11:22:35 vivid umount[31795]: use the device is found by lsof(8) or 
fuser(1).)
  Apr 15 11:22:35 vivid systemd[1]: 
var-lib-schroot-union-underlay-vivid\x2damd64\x2d5d4f7453\x2d9a95\x2d4a6a\x2d9aee\x2d9394923bf734.mount
 mount process exited, code=exited status=32
  Apr 15 11:22:35 vivid systemd[1]: Failed unmounting 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734.
  Apr 15 11:22:35 vivid systemd[1]: Unit 
var-lib-schroot-union-underlay-vivid\x2damd64\x2d5d4f7453\x2d9a95\x2d4a6a\x2d9aee\x2d9394923bf734.mount
 is bound to inactive unit 
dev-disk-by\x2duuid-980689ca\x2de7d9\x2d4a99\x2d8230\x2d33b8b6e917cd.device. 
Stopping, too.
  Apr 15 11:22:35 vivid systemd[1]: Unmounting 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734...
  Apr 15 11:22:35 vivid systemd[1]: Unmounted 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734.
  Apr 15 11:22:35 vivid systemd[1]: Unit 
var-lib-schroot-union-underlay-vivid\x2damd64\x2d5d4f7453\x2d9a95\x2d4a6a\x2d9aee\x2d9394923bf734.mount
 entered failed state.

  looping constantly for the duration of any builds in sbuild.

  Why is systemd trying to do this?

  laney@vivid apt-cache policy systemd
  systemd:
Installed: 219-7ubuntu1
Candidate: 219-7ubuntu1
Version table:
   *** 219-7ubuntu1 0
  500 http://sherwood/ubuntu/ vivid/main amd64 Packages
  100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/systemd/+bug/102/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


Re: [Touch-packages] [Bug 1444402] Re: While sbuilding in LXC, systemd loops attempting to umount the underlay

2015-05-14 Thread Iain Lane
On Thu, May 14, 2015 at 10:55:50AM -, Martin Pitt wrote:
 I proposed a patch for this upstream:
 http://lists.freedesktop.org/archives/systemd-devel/2015-May/031718.html
 
 Iain, it would be great if you could confirm that it works for you as
 well? I attach a patched amd64 /lib/systemd/systemd binary, in case
 that's useful for you.

Cheers Martin. I applied that patch to Ubuntu's systemd package and
started the container with that.

Happy to report that it seems to work fine for me. The mounts stay
intact as they are supposed to.

-- 
Iain Lane  [ i...@orangesquash.org.uk ]
Debian Developer   [ la...@debian.org ]
Ubuntu Developer   [ la...@ubuntu.com ]

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/102

Title:
  While sbuilding in LXC, systemd loops attempting to umount the
  underlay

Status in systemd:
  New
Status in systemd package in Ubuntu:
  In Progress
Status in systemd source package in Vivid:
  In Progress

Bug description:
  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\x2d5d4f7453\x2d9a95\x2d4a6a\x2d9aee\x2d9394923bf734.mount
 is bound to inactive unit 
dev-disk-by\x2duuid-980689ca\x2de7d9\x2d4a99\x2d8230\x2d33b8b6e917cd.device. 
Stopping, too.
  Apr 15 11:22:35 vivid systemd[1]: Unmounting 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734...
  Apr 15 11:22:35 vivid umount[31795]: umount: 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734:
 target is busy
  Apr 15 11:22:35 vivid umount[31795]: (In some cases useful info about 
processes that
  Apr 15 11:22:35 vivid umount[31795]: use the device is found by lsof(8) or 
fuser(1).)
  Apr 15 11:22:35 vivid systemd[1]: 
var-lib-schroot-union-underlay-vivid\x2damd64\x2d5d4f7453\x2d9a95\x2d4a6a\x2d9aee\x2d9394923bf734.mount
 mount process exited, code=exited status=32
  Apr 15 11:22:35 vivid systemd[1]: Failed unmounting 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734.
  Apr 15 11:22:35 vivid systemd[1]: Unit 
var-lib-schroot-union-underlay-vivid\x2damd64\x2d5d4f7453\x2d9a95\x2d4a6a\x2d9aee\x2d9394923bf734.mount
 is bound to inactive unit 
dev-disk-by\x2duuid-980689ca\x2de7d9\x2d4a99\x2d8230\x2d33b8b6e917cd.device. 
Stopping, too.
  Apr 15 11:22:35 vivid systemd[1]: Unmounting 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734...
  Apr 15 11:22:35 vivid systemd[1]: Unmounted 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734.
  Apr 15 11:22:35 vivid systemd[1]: Unit 
var-lib-schroot-union-underlay-vivid\x2damd64\x2d5d4f7453\x2d9a95\x2d4a6a\x2d9aee\x2d9394923bf734.mount
 entered failed state.

  looping constantly for the duration of any builds in sbuild.

  Why is systemd trying to do this?

  laney@vivid apt-cache policy systemd
  systemd:
Installed: 219-7ubuntu1
Candidate: 219-7ubuntu1
Version table:
   *** 219-7ubuntu1 0
  500 http://sherwood/ubuntu/ vivid/main amd64 Packages
  100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/systemd/+bug/102/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1444402] Re: While sbuilding in LXC, systemd loops attempting to umount the underlay

2015-05-13 Thread Martin Pitt
FTR: pull in
http://cgit.freedesktop.org/systemd/systemd/commit/?id=7ba2711d (not
sufficient, but should also help)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/102

Title:
  While sbuilding in LXC, systemd loops attempting to umount the
  underlay

Status in systemd:
  New
Status in systemd package in Ubuntu:
  In Progress
Status in systemd source package in Vivid:
  In Progress

Bug description:
  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\x2d5d4f7453\x2d9a95\x2d4a6a\x2d9aee\x2d9394923bf734.mount
 is bound to inactive unit 
dev-disk-by\x2duuid-980689ca\x2de7d9\x2d4a99\x2d8230\x2d33b8b6e917cd.device. 
Stopping, too.
  Apr 15 11:22:35 vivid systemd[1]: Unmounting 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734...
  Apr 15 11:22:35 vivid umount[31795]: umount: 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734:
 target is busy
  Apr 15 11:22:35 vivid umount[31795]: (In some cases useful info about 
processes that
  Apr 15 11:22:35 vivid umount[31795]: use the device is found by lsof(8) or 
fuser(1).)
  Apr 15 11:22:35 vivid systemd[1]: 
var-lib-schroot-union-underlay-vivid\x2damd64\x2d5d4f7453\x2d9a95\x2d4a6a\x2d9aee\x2d9394923bf734.mount
 mount process exited, code=exited status=32
  Apr 15 11:22:35 vivid systemd[1]: Failed unmounting 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734.
  Apr 15 11:22:35 vivid systemd[1]: Unit 
var-lib-schroot-union-underlay-vivid\x2damd64\x2d5d4f7453\x2d9a95\x2d4a6a\x2d9aee\x2d9394923bf734.mount
 is bound to inactive unit 
dev-disk-by\x2duuid-980689ca\x2de7d9\x2d4a99\x2d8230\x2d33b8b6e917cd.device. 
Stopping, too.
  Apr 15 11:22:35 vivid systemd[1]: Unmounting 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734...
  Apr 15 11:22:35 vivid systemd[1]: Unmounted 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734.
  Apr 15 11:22:35 vivid systemd[1]: Unit 
var-lib-schroot-union-underlay-vivid\x2damd64\x2d5d4f7453\x2d9a95\x2d4a6a\x2d9aee\x2d9394923bf734.mount
 entered failed state.

  looping constantly for the duration of any builds in sbuild.

  Why is systemd trying to do this?

  laney@vivid apt-cache policy systemd
  systemd:
Installed: 219-7ubuntu1
Candidate: 219-7ubuntu1
Version table:
   *** 219-7ubuntu1 0
  500 http://sherwood/ubuntu/ vivid/main amd64 Packages
  100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/systemd/+bug/102/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1444402] Re: While sbuilding in LXC, systemd loops attempting to umount the underlay

2015-05-06 Thread Martin Pitt
In my local container,
http://cgit.freedesktop.org/systemd/systemd/commit/?id=f62009410 (which
was the fix in the above PPA) helps already. However, it doesn't in the
cloud instance: The main difference there is that in that cloud instance
udev is running while in my local container it  isn't (it's not usually
meant to run in LXC).

Adding these options in the container starts udev and reproduces this
issue again:

lxc.mount.auto = sys:rw cgroup
lxc.mount.entry = /etc/schroot /srv/lxc/test/rootfs/etc/schroot none bind 0 0

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/102

Title:
  While sbuilding in LXC, systemd loops attempting to umount the
  underlay

Status in systemd:
  New
Status in systemd package in Ubuntu:
  In Progress
Status in systemd source package in Vivid:
  In Progress

Bug description:
  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\x2d5d4f7453\x2d9a95\x2d4a6a\x2d9aee\x2d9394923bf734.mount
 is bound to inactive unit 
dev-disk-by\x2duuid-980689ca\x2de7d9\x2d4a99\x2d8230\x2d33b8b6e917cd.device. 
Stopping, too.
  Apr 15 11:22:35 vivid systemd[1]: Unmounting 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734...
  Apr 15 11:22:35 vivid umount[31795]: umount: 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734:
 target is busy
  Apr 15 11:22:35 vivid umount[31795]: (In some cases useful info about 
processes that
  Apr 15 11:22:35 vivid umount[31795]: use the device is found by lsof(8) or 
fuser(1).)
  Apr 15 11:22:35 vivid systemd[1]: 
var-lib-schroot-union-underlay-vivid\x2damd64\x2d5d4f7453\x2d9a95\x2d4a6a\x2d9aee\x2d9394923bf734.mount
 mount process exited, code=exited status=32
  Apr 15 11:22:35 vivid systemd[1]: Failed unmounting 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734.
  Apr 15 11:22:35 vivid systemd[1]: Unit 
var-lib-schroot-union-underlay-vivid\x2damd64\x2d5d4f7453\x2d9a95\x2d4a6a\x2d9aee\x2d9394923bf734.mount
 is bound to inactive unit 
dev-disk-by\x2duuid-980689ca\x2de7d9\x2d4a99\x2d8230\x2d33b8b6e917cd.device. 
Stopping, too.
  Apr 15 11:22:35 vivid systemd[1]: Unmounting 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734...
  Apr 15 11:22:35 vivid systemd[1]: Unmounted 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734.
  Apr 15 11:22:35 vivid systemd[1]: Unit 
var-lib-schroot-union-underlay-vivid\x2damd64\x2d5d4f7453\x2d9a95\x2d4a6a\x2d9aee\x2d9394923bf734.mount
 entered failed state.

  looping constantly for the duration of any builds in sbuild.

  Why is systemd trying to do this?

  laney@vivid apt-cache policy systemd
  systemd:
Installed: 219-7ubuntu1
Candidate: 219-7ubuntu1
Version table:
   *** 219-7ubuntu1 0
  500 http://sherwood/ubuntu/ vivid/main amd64 Packages
  100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/systemd/+bug/102/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1444402] Re: While sbuilding in LXC, systemd loops attempting to umount the underlay

2015-05-06 Thread Martin Pitt
** Changed in: systemd (Ubuntu)
Milestone: vivid-updates = None

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/102

Title:
  While sbuilding in LXC, systemd loops attempting to umount the
  underlay

Status in systemd:
  New
Status in systemd package in Ubuntu:
  In Progress
Status in systemd source package in Vivid:
  In Progress

Bug description:
  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\x2d5d4f7453\x2d9a95\x2d4a6a\x2d9aee\x2d9394923bf734.mount
 is bound to inactive unit 
dev-disk-by\x2duuid-980689ca\x2de7d9\x2d4a99\x2d8230\x2d33b8b6e917cd.device. 
Stopping, too.
  Apr 15 11:22:35 vivid systemd[1]: Unmounting 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734...
  Apr 15 11:22:35 vivid umount[31795]: umount: 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734:
 target is busy
  Apr 15 11:22:35 vivid umount[31795]: (In some cases useful info about 
processes that
  Apr 15 11:22:35 vivid umount[31795]: use the device is found by lsof(8) or 
fuser(1).)
  Apr 15 11:22:35 vivid systemd[1]: 
var-lib-schroot-union-underlay-vivid\x2damd64\x2d5d4f7453\x2d9a95\x2d4a6a\x2d9aee\x2d9394923bf734.mount
 mount process exited, code=exited status=32
  Apr 15 11:22:35 vivid systemd[1]: Failed unmounting 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734.
  Apr 15 11:22:35 vivid systemd[1]: Unit 
var-lib-schroot-union-underlay-vivid\x2damd64\x2d5d4f7453\x2d9a95\x2d4a6a\x2d9aee\x2d9394923bf734.mount
 is bound to inactive unit 
dev-disk-by\x2duuid-980689ca\x2de7d9\x2d4a99\x2d8230\x2d33b8b6e917cd.device. 
Stopping, too.
  Apr 15 11:22:35 vivid systemd[1]: Unmounting 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734...
  Apr 15 11:22:35 vivid systemd[1]: Unmounted 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734.
  Apr 15 11:22:35 vivid systemd[1]: Unit 
var-lib-schroot-union-underlay-vivid\x2damd64\x2d5d4f7453\x2d9a95\x2d4a6a\x2d9aee\x2d9394923bf734.mount
 entered failed state.

  looping constantly for the duration of any builds in sbuild.

  Why is systemd trying to do this?

  laney@vivid apt-cache policy systemd
  systemd:
Installed: 219-7ubuntu1
Candidate: 219-7ubuntu1
Version table:
   *** 219-7ubuntu1 0
  500 http://sherwood/ubuntu/ vivid/main amd64 Packages
  100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/systemd/+bug/102/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1444402] Re: While sbuilding in LXC, systemd loops attempting to umount the underlay

2015-05-06 Thread Martin Pitt
Simpler reproducer:
 - Create a vivid container, and set lxc.aa_profile = unconfined
 - Start the container
 - Run mount -v -o bind /bin /mnt

Mai 06 09:17:08 test systemd[1]: Unit mnt.mount is bound to inactive unit 
dev-sda3.device. Stopping, too.
Mai 06 09:17:08 test systemd[1]: Unmounting /mnt...
Mai 06 09:17:08 test systemd[1]: Unmounted /mnt.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/102

Title:
  While sbuilding in LXC, systemd loops attempting to umount the
  underlay

Status in systemd:
  New
Status in systemd package in Ubuntu:
  In Progress
Status in systemd source package in Vivid:
  In Progress

Bug description:
  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\x2d5d4f7453\x2d9a95\x2d4a6a\x2d9aee\x2d9394923bf734.mount
 is bound to inactive unit 
dev-disk-by\x2duuid-980689ca\x2de7d9\x2d4a99\x2d8230\x2d33b8b6e917cd.device. 
Stopping, too.
  Apr 15 11:22:35 vivid systemd[1]: Unmounting 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734...
  Apr 15 11:22:35 vivid umount[31795]: umount: 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734:
 target is busy
  Apr 15 11:22:35 vivid umount[31795]: (In some cases useful info about 
processes that
  Apr 15 11:22:35 vivid umount[31795]: use the device is found by lsof(8) or 
fuser(1).)
  Apr 15 11:22:35 vivid systemd[1]: 
var-lib-schroot-union-underlay-vivid\x2damd64\x2d5d4f7453\x2d9a95\x2d4a6a\x2d9aee\x2d9394923bf734.mount
 mount process exited, code=exited status=32
  Apr 15 11:22:35 vivid systemd[1]: Failed unmounting 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734.
  Apr 15 11:22:35 vivid systemd[1]: Unit 
var-lib-schroot-union-underlay-vivid\x2damd64\x2d5d4f7453\x2d9a95\x2d4a6a\x2d9aee\x2d9394923bf734.mount
 is bound to inactive unit 
dev-disk-by\x2duuid-980689ca\x2de7d9\x2d4a99\x2d8230\x2d33b8b6e917cd.device. 
Stopping, too.
  Apr 15 11:22:35 vivid systemd[1]: Unmounting 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734...
  Apr 15 11:22:35 vivid systemd[1]: Unmounted 
/var/lib/schroot/union/underlay/vivid-amd64-5d4f7453-9a95-4a6a-9aee-9394923bf734.
  Apr 15 11:22:35 vivid systemd[1]: Unit 
var-lib-schroot-union-underlay-vivid\x2damd64\x2d5d4f7453\x2d9a95\x2d4a6a\x2d9aee\x2d9394923bf734.mount
 entered failed state.

  looping constantly for the duration of any builds in sbuild.

  Why is systemd trying to do this?

  laney@vivid apt-cache policy systemd
  systemd:
Installed: 219-7ubuntu1
Candidate: 219-7ubuntu1
Version table:
   *** 219-7ubuntu1 0
  500 http://sherwood/ubuntu/ vivid/main amd64 Packages
  100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/systemd/+bug/102/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp