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

Michael Prokop mika at grml.org
Fri Jan 13 02:01:17 CET 2012


  Branch: refs/heads/mika/grml_chroot_multi
  Home:   https://github.com/grml/grml-scripts
  Commit: 471314786a879f19482b7ea4a0579ac4139d27ec
      https://github.com/grml/grml-scripts/commit/471314786a879f19482b7ea4a0579ac4139d27ec
  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 /run is available inside the chroot then use /run/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