Hi, I'm sorry for the trouble that running mmdebstrap as superuser caused. I'm glad that no data got lost!
On Sun, 30 Sep 2018 17:18:38 +0200 Andreas Henriksson <andr...@fatal.se> wrote: > On Sun, Sep 30, 2018 at 04:49:07PM +0200, Andreas Henriksson wrote: > [...] > > > - cgroup mounts dissapearing > [...] > > So a simple test like this (similar as what can be seen used in the > code) reveals the problem with all /sys sub-mounts dissapearing: > > mount | grep /sys > > mkdir /tmp/test > mount --rbind /sys /tmp/test > > mount | grep /sys > > umount --lazy --recursive /tmp/test > > mount | grep /sys > > > (The same problem doesn't seem to occur without the --lazy flag, but > then mount errors out after doing most of the job.) I now added a commit that mounts a completely new sysfs when not running in unshare mode and doesn't use the --recursive when unmounting: https://gitlab.mister-muffin.de/josch/mmdebstrap/commit/640d854c2e0f139fdfbd60ddaffc5dfe72063fc0 If you are okay with that, I'd be happy if you could verify that after adding this patch, the problem indeed disappears. Thanks! cheers, josch
signature.asc
Description: signature