Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15663 - bootmisc should use env-update
Summary: bootmisc should use env-update
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-13 18:33 UTC by Michael Labhard
Modified: 2003-02-16 00:52 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 Michael Labhard 2003-02-13 18:33:06 UTC
I ran into a problem in which the environment was not correct when my machine booted.  I would run env-update --> . /etc/profile and the environment would then be correct.  I would reboot and the environment was incorrect again.  Investigating the boot message "Updating environment..." I found that /etc/init.d/bootmisc uses rc-envupdate.sh instead of env-update.  For whatever reason, this consistently gave the wrong result and results different from env-update, which yielded the correct result.  I substituted env-update for rc-envupdate.sh in bootmisc and my problem was solved.  I recommend you do the same to Gentoo and remove rc-envupdate.sh from the distribution.

Reproducible: Always
Steps to Reproduce:

1.
2.
3.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-02-16 00:52:34 UTC
OK.