-
Notifications
You must be signed in to change notification settings - Fork 142
Fails to unmount /proc #302
Comments
@andsens I tried to reproduce on current master (from a Stretch box) and failed. |
Here is a full log from a run that fails while unmounting /proc: https://gist.github.com/sebastinas/234c88c756b5dc626e20. I've seen this problem with 0.9.9 and current git master on a Ubuntu 15.10 and an update Debian unstable system. On both systems I have: $ mount | grep binfmt_misc
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=31,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime) Maybe these mounts leak into the chroot. |
This is very curious. I wonder how it gets mounted. |
It appears to happen at some later point. This is what I got when manually mounting proc: % mount | grep 442
/dev/mapper/nbd0p1 on /opt/bootstrap-vz/4424e1c0/root type ext4 (rw,relatime,data=ordered)
% sudo mount --types proc none /opt/bootstrap-vz/4424e1c0/root/proc
% mount | grep 442
/dev/mapper/nbd0p1 on /opt/bootstrap-vz/4424e1c0/root type ext4 (rw,relatime,data=ordered)
none on /opt/bootstrap-vz/4424e1c0/root/proc type proc (rw,relatime) |
@sebastinas Could you run |
@sebastinas Also, I rebased my branch https://github.com/nbraud/bootstrap-vz/tree/special-devices, so you can try with it (that's the branch behind #294) |
Argh! You were like.. 10 minutes too early. I just pushed a bunch of stuff that helps a lot with testing properly (dry runs, docs building etc.). I was about to test your branch when I went down the rabbit hole because things like the docs were breaking, and a merge had killed the docker provider. |
@andsens You are in luck, I'm still woken up. |
Haha. Nice :-) EDIT: Nope, restarted the build, same error. Is it because you are doing some funky stuff with hexadecimals? |
@nbraud The special-devices branch fails with a completely different error:
|
@sebastinas That's interesting. I suspect it means the “fake” |
This is still an issue in master:
|
Problem fixed by removing these deps from my image profile:
Seems like one of these packages causes a chroot leak. |
When trying to create a jessie image bootstrap-vz fails at the end with:
The problem seems to be that binfmt_misc is still mounted
/opt/bootstrap-vz/88d408db/root/proc/sys/fs/binfmt_misc
at this point. I'm not sure why binfmt_misc is mounted. The only occurrence I could find is in systemd automount targets.This is my manifest:
Please let me know if you need any other info.
The text was updated successfully, but these errors were encountered: