Skip to content

Commit

Permalink
Umount /proc/sys/fs/binfmt_misc before umounting /proc.
Browse files Browse the repository at this point in the history
Thanks to dileks for debugging it.
  • Loading branch information
mrud committed Dec 12, 2011
1 parent 445e589 commit 819fc49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions grml-live
Expand Up @@ -148,6 +148,7 @@ LIVE_CONF=/etc/grml/grml-live.conf
# umount all directories {{{
umount_all() {
# make sure we don't leave any mounts - FAI doesn't remove them always
umount $CHROOT_OUTPUT/proc/sys/fs/binfmt_misc 2>/dev/null || /bin/true
umount $CHROOT_OUTPUT/proc 2>/dev/null || /bin/true
umount $CHROOT_OUTPUT/sys 2>/dev/null || /bin/true
umount $CHROOT_OUTPUT/dev/pts 2>/dev/null || /bin/true
Expand Down

0 comments on commit 819fc49

Please sign in to comment.