[buildd-tools-devel] Bug#675788: Bug#675788: Solution found

Roger Leigh rleigh at codelibre.net
Wed Feb 4 21:36:52 UTC 2015


On Wed, Feb 04, 2015 at 07:12:57PM +0000, Martín Ferrari wrote:
> Although this is not the right solution (as the XDG vars might point to
> some other location), the problem with the systemd-related mounts is
> solved if instead of using bind-mounts one uses rbind-mounts (recursive
> bind).

We deliberately removed the use of rbind mounts because it broke
systemd users' systems.  Until then they used to be the default.

The bug is that rbinding a directory containing an autofs mount
results in a deadlocked system due to a kernel bug.  Maybe that's
fixed now.  This used to be the case for /dev and /sys.

I'd not be averse to restoring the use of rbind mounts.  HOWEVER,
we can't do this unconditionally.  We do need to know, if it is
fixed, which kernel version fixed it so that we can degrade to
a plain bind mount in the face of a buggy kernel version.  Since
it system is completely unusable shortly after doing the rbind
with autofs, it's not acceptable to do this blindly.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800



More information about the Buildd-tools-devel mailing list