Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 340811 - sys-apps/baselayout-1.12.13: rc-status shouldn't show status within chroot environment
Summary: sys-apps/baselayout-1.12.13: rc-status shouldn't show status within chroot en...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-13 07:47 UTC by Toralf Förster
Modified: 2010-10-14 01:42 UTC (History)
0 users

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 Toralf Förster gentoo-dev 2010-10-13 07:47:01 UTC
If I chroot into a user-mode-linux image of a Gentoo system, than rc-status shows such an output although the process either isn't installed in the host system or is(/not) running at the host system.


Reproducible: Always



Expected Results:  
rc-status should not only grep the process list IMHO.
Comment 1 SpanKY gentoo-dev 2010-10-14 01:42:33 UTC
there's no reason for this.  rc-status need only be concerned with its internal state.  /proc/ is unreliable for the exact reason you quote -- chroots are easy to get screwed up.