Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 215284

Summary: sys-apps/portage - spit out some message when /proc isn't mounted
Product: Portage Development Reporter: Oleg Puchinin <graycardinalster>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: RESOLVED WONTFIX    
Severity: enhancement    
Priority: Lowest    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Oleg Puchinin 2008-03-29 07:42:26 UTC
Day kind! I at installation have a heap of not clear mistakes. I forget mount /proc 
Can it is necessary to add check /proc in emerge?

Reproducible: Always
Comment 1 Zac Medico gentoo-dev 2008-03-30 01:11:42 UTC
We could test if the $(uname) == Linux and in that case, parse $(df) to see if /proc is mounted and show a warning message if it's not.
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2008-03-30 01:52:45 UTC
(In reply to comment #1)
> We could test if the $(uname) == Linux and in that case, parse $(df) to see if
> /proc is mounted and show a warning message if it's not.

No. We don't need tons of special case checks that really have no business in portage (we don't even use /proc ourselves). There is a limit to how much we can/should protect the user.
Comment 3 SpanKY gentoo-dev 2008-03-30 19:58:16 UTC
also, df may not always list /proc ...