← Back to team overview

touch-packages team mailing list archive

[Bug 1427264] Re: using ecryptfs, creating frameworks fail to bind mount issues

 

Serge - I've subscribed you to this bug in hopes that you could tell us
if you expect any problems with making the change suggested at the
bottom of comment #5 since I know you have a lot of experience in mount
namespaces.

To summarize the problem, schroot doesn't handle /home/$USER being a
mount point very well. If /home is recursively bound (rbind) into the
schroot, then the recursive umount unmounts the /home/$USER outside of
the schroot when tearing down the schroot session. I think recursively
making /home a slave (rslave) fixes the problems but don't feel
comfortable rolling out that change without getting another opinion.

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

Title:
  using ecryptfs, creating frameworks fail to bind mount issues

Status in click package in Ubuntu:
  Triaged

Bug description:
  Using vivid creating framework fails for ecryptfs users, the issue is
  similar to bug #769595

  The userdir is mounted in a way which makes unmounts fail

  "E: 10mount: umount: /var/lib/schroot/mount/click-ubuntu-sdk-14.10
  -armhf-ec6aaf62-31e0-47e9-b2f8-73f0b038fb4d/home/user: target is busy
  E: 10mount: (In some cases useful info about processes that E:
  10mount: use the device is found by lsof(8) or fuser(1).) "

  changing the fstab line to be "/home/user /home/user      none
  rw,bind        0       0" workarounds the issue

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1427264/+subscriptions


References