Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 519554 - /sys not unmounted before rebooting in most versions of Handbook
Summary: /sys not unmounted before rebooting in most versions of Handbook
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Installation Handbook (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-10 08:05 UTC by Donald
Modified: 2014-08-17 16:39 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Donald 2014-08-10 08:05:21 UTC
Even though every current version (x86, etc.) of the Handbook uses the exact same mount commands for /proc, /sys, and /dev just before chrooting in Ch. 6:

  # mount -t proc proc /mnt/gentoo/proc
  # mount --rbind /sys /mnt/gentoo/sys
  # mount --rbind /dev /mnt/gentoo/dev

For some reason, only the ppc and ia64 Handbooks actually unmount /sys before rebooting in Ch. 10.

All the other versions (x86, sparc, amd64, ppc64, alpha, hppa, mips, and the unmaintained arm) don't include /sys in the umount commands.

Recommend changing "/proc" to "/proc,/sys" in each of these Handbooks.

For example, in the x86 and amd64 Handbooks:

  cdimage ~# umount -l /mnt/gentoo{/boot,/proc,}

would become:

  cdimage ~# umount -l /mnt/gentoo{/boot,/proc,/sys,}

BUT ACTUALLY, considering bug 519488, it probably should be changed to the following, instead:

  cdimage ~# umount -l /mnt/gentoo{/proc,/sys}
  cdimage ~# umount /mnt/gentoo{/boot,}
Comment 1 Ben Kohler gentoo-dev 2014-08-14 13:43:26 UTC
Serious question, is there any real reason this things need to be unmounted before reboot?
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2014-08-17 16:39:04 UTC
Added umount of /sys