1 |
Le lun. 21 janv. 2019 à 21:38, Nikos Chantziaras <realnc@×××××.com> a |
2 |
écrit : |
3 |
|
4 |
> On 21/01/2019 20:25, Jacques Montier wrote: |
5 |
> > Le lun. 21 janv. 2019 à 19:04, Nikos Chantziaras <realnc@×××××.com |
6 |
> > <mailto:realnc@×××××.com>> a écrit : |
7 |
> > |
8 |
> > I can't see why "emerge -uv bash" would ever invoke sudo. So I'd say |
9 |
> > that you should first find out what command is being executed with |
10 |
> > sudo. |
11 |
> > To do that, try to emerge bash, and when the sudo prompt pops up, |
12 |
> > switch |
13 |
> > to another terminal window and do: |
14 |
> > |
15 |
> > ps aux | grep sudo |
16 |
> > |
17 |
> > What's the output of that? |
18 |
> > |
19 |
> > ps aux | grep sudo |
20 |
> > 267:root 19845 0.0 0.0 54260 4304 pts/0 S+ 19:23 0:00 |
21 |
> > sudo eix-update |
22 |
> |
23 |
> Well, something is trying to execute a "sudo eix-update". The bash |
24 |
> ebuild certainly doesn't, so you should check your installation for any |
25 |
> weird scripts or aliases you might be using. A grep on /etc for |
26 |
> "eix-update" might also reveal something: |
27 |
> |
28 |
> grep -r eix-update /etc |
29 |
> |
30 |
> And also check your env and aliases: |
31 |
> |
32 |
> which emerge |
33 |
> alias | grep emerge |
34 |
> env | grep eix |
35 |
> |
36 |
> These are general hints on where to look, since I have no clue myself as |
37 |
> to why an "emerge -uv bash" would ever try and execute "sudo |
38 |
> eix-update", so it seems you have digging to do. |
39 |
> |
40 |
> |
41 |
> |
42 |
Hello all, |
43 |
|
44 |
I finally found what was wrong ! |
45 |
To save time, i had written a small bash script to run eix-update, |
46 |
eix-test-obsolete and emerge --depclean. |
47 |
This script was written just for test and was unfortunately called....test. |
48 |
So, when emerging bash, i think the configure phase launched that script.... |
49 |
Well, of course it was my fault. Shame on me ! |
50 |
Sorry for all that noise, but you have been very helpful to me and i thank |
51 |
you very much. |
52 |
|
53 |
Cheers, |
54 |
|
55 |
-- |
56 |
Jacques |