[Git-commits] [grml/grml-scripts] : grml-chroot: properly handle multiple chroots [Clo...

Michael Prokop mika at grml.org
Fri Jan 13 02:26:20 CET 2012


  Branch: refs/heads/mika/grml_chroot_multi
  Home:   https://github.com/grml/grml-scripts
  Commit: d4968d2e712007511d95a94b01eeb59fabf4e604
      https://github.com/grml/grml-scripts/commit/d4968d2e712007511d95a94b01eeb59fabf4e604
  Author: Michael Prokop <mika at grml.org>
  Date:   2012-01-12 (Thu, 12 Jan 2012)

  Changed paths:
    M usr_sbin/grml-chroot

  Log Message:
  -----------
  grml-chroot: properly handle multiple chroots [Closes: issue659]

Iff /tmp is available inside the chroot then use /tmp/grml-chroot
for storing information about active grml-chroot sessions.

This patch is based on work by Marc Haber and addresses the following issue
reported by him in http://bts.grml.org/grml/issue659:

| grml-chroot does not properly handle the situation when the user decides to
| chroot into the same chroot multiple times (for example, in different windows).
| When the first chroot terminates, the unconditional umount leaves the other
| chroots without mounted /proc, /dev etc.





More information about the Git-commits mailing list