Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63842 - order of mounting /mnt/gentoo/proc and untar'ing stage* needs to be swopped to avoid the untar'ing error for the /mnt/gentoo/proc/.keep
Summary: order of mounting /mnt/gentoo/proc and untar'ing stage* needs to be swopped t...
Status: RESOLVED INVALID
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Handbook (show other bugs)
Hardware: x86 Linux
: High trivial (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-12 16:29 UTC by ghost
Modified: 2004-09-13 08:31 UTC (History)
1 user (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 ghost 2004-09-12 16:29:16 UTC
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
Comment 1 John Davis (zhen) (RETIRED) gentoo-dev 2004-09-12 19:27:51 UTC
reassigning to the docs team
Comment 2 Tobias Scherbaum (RETIRED) gentoo-dev 2004-09-12 22:08:13 UTC
This has been fixed some weeks ago.
Comment 3 Xavier Neys (RETIRED) gentoo-dev 2004-09-13 04:04:26 UTC
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 ?
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2004-09-13 06:36:07 UTC
"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?
Comment 5 Sven Wegener gentoo-dev 2004-09-13 08:01:54 UTC
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.
Comment 6 Tobias Scherbaum (RETIRED) gentoo-dev 2004-09-13 08:13:25 UTC
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
Comment 7 Tobias Scherbaum (RETIRED) gentoo-dev 2004-09-13 08:14:36 UTC
s/still/already
Comment 8 Xavier Neys (RETIRED) gentoo-dev 2004-09-13 08:31:11 UTC
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.