Summary: | env-update does not work well | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | André Luiz Pfitzner <alp8> |
Component: | [OLD] Core system | Assignee: | Martin Schlemmer (RETIRED) <azarah> |
Status: | RESOLVED FIXED | ||
Severity: | trivial | CC: | alp8, azarah, carpaski |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
André Luiz Pfitzner
2002-07-18 18:09:23 UTC
To Andr To André Luiz Pfitzner: Try pressing return after it so that it is not on the last line. Bug Wranglers: env-update is part of portage ..... To Andr To André Luiz Pfitzner: Try pressing return after it so that it is not on the last line. Bug Wranglers: env-update is part of portage ..... I tried but does not make effect, actually I put that line at another position and ir working. I don't understand where the env-update code needs to be fixed. Any ideas Azarah? I'd be happy to make it better if I know where to look. Daniel, I dont have this problem, even with LESS being the last line. I tested it both with env-update *and* rc-envupdate.sh. Only thing I can think, is that he have to source /etc/profile after making changes. I just added you to the CC list, as it is part of portage, and like most things, you cannot say for sure it will not break in some cases. Andre: check that /etc/profile.env is correct after first env-update. If so you have to source /etc/profile agian to get your environment up to date. Note that in a emerge session, the latest /etc/profile.env will always be used. > check that /etc/profile.env is correct after first env-update. If so
> you have to source /etc/profile agian to get your environment up to
> date.
I tried it, but after the first env-update the file /etc/profile.env not have
the "LESS" defined, running env-update again the "LESS" appear defined on
the file, then I run "source /etc/profile" and the environment is adjusted
right.
Still having this problem with Portage 2.0.34? Yes, I tested today and still. Nick, I know you are swamped, but I have not ideas, as I cannot recreate it. Andre: if this is still an issue, try to remove /usr/sbin/env-update, and link /sbin/rc-envupdate.sh to it, and see if it still give the same problem for you (just check that you have baselayout-1.8.5.4 or later). Hi .. did you try what I suggested in last comment ? Any feedback ? Sorry the delay. I am using now the baselayout 1.8.5.5 and I tested put the line LESS="-i -R" at the end of the file /etc/env.d/00basic and then I run as root: env-update . /etc/profile echo $LESS and now it works very well! I am changing the bug to fixed :) Thanks |