when installing gentoo if you untar your stage first and then mount /mnt/gentoo/proc you avoid the untar error involving /mnt/gentoo/proc/.keep so perhaps this should be changed in the install help Reproducible: Always Steps to Reproduce: 1.install gentoo 2.follow install instructions 3.mount proc before untar'ing a stage* Actual Results: the error about /mnt/gentoo/proc/.keep comes up (which there is a warning about in the install help) Expected Results: if it is done in the other order it doesn't effect the install and the error message is avoided. it will make the install simpler for the non power-users its not a critical bug, but will help to make the install easier
reassigning to the docs team
This has been fixed some weeks ago.
No, it hasn't been fixed, or the fix has been lost, whatever. Handbook says Mount partitions, """ We will also have to mount the proc filesystem (a virtual interface with the kernel) on /proc. But first we will need to place our files on the partitions. """ Get stage file and untar, Mount /mnt/gentoo/proc Chroot. Is there any reason not to mount /proc at the same time as we mount the partitions (4.e) ? Why is there a /proc/.keep file in the stage files ?
"Why is there a /proc/.keep file in the stage files ?" Because it is created by baselayout as part of the base system layout... I really do not know why there is a /proc/.keep file, at all. That would need to be taken up with the base-system people. I see no reason for keeping it, as no ebuild should be writing anything into /proc and the .keep files are only around to keep portage from removing what would otherwise be empty directories, correct?
It's created by baselayout, but portage would remove /proc during an update of baselayout, if /proc is not mounted. Should almost never happen, but from my side the .keep file has it's sense.
I still can't see a valid docs issue within this bug. The "stage-untaring-then-mounting-proc" way the reporter requests is what we are still stating in our handbook. re-assigning to base-system@g.o
s/still/already
Indeed. That should teach me to think twice before posting. The current doc is right. Having /proc mounted before untarring would give a tar error. Maybe the reporter was using an old version of the handbook. The /proc/.keep question was just out of curiosity, I don't think there is any issue with that. Thanks for everyone's feedback.