Gentoo Archives: gentoo-user

From: Raffaele Belardi <raffaele.belardi@××.com>
To: gentoo-user@l.g.o, Jacques Montier <jmontier@×××××.com>
Subject: Re: [gentoo-user] Re: bash upgrading problem
Date: Mon, 21 Jan 2019 10:21:28
Message-Id: dbad8aae-ca25-892c-70e9-07bf0ad92d6d@st.com
In Reply to: Re: [gentoo-user] Re: bash upgrading problem by Jacques Montier
1 Jacques Montier wrote:
2 > /
3 > /
4 > Le lun. 21 janv. 2019 à 07:52, Raffaele Belardi <raffaele.belardi@××.com
5 > <mailto:raffaele.belardi@××.com>> a écrit :
6 >
7 > Jacques Montier wrote:
8 > > checking whether /dev/fd is available... ERROR: ld.so: object 'libsandbox.so' from
9 > LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
10 >
11 > Just a guess. configure here is trying to read /dev/fd which is a symlink to
12 > /proc/self/fd. Do you see anything strange with those two directories or directory
13 > entries?
14 >
15 > $ ll /dev/fd
16 > lrwxrwxrwx 1 root root 13 Jan 21 07:10 /dev/fd -> /proc/self/fd
17 >
18 >
19 > # ll /proc/self/fd
20 > total 0
21 > lrwx------ 1 root root 64 Jan 21 07:53 0 -> /dev/pts/3
22 > lrwx------ 1 root root 64 Jan 21 07:53 1 -> /dev/pts/3
23 > lrwx------ 1 root root 64 Jan 21 07:53 2 -> /dev/pts/3
24 > lr-x------ 1 root root 64 Jan 21 07:53 3 -> /proc/3744/fd
25 >
26 > # ll /proc/self/
27 > total 0
28 > dr-x------ 2 root root 0 Jan 21 07:54 fd
29 > (snip)
30 >
31 >
32 > Thanks Raffaele,
33 >
34 > No, i don't see anything strange with those two directories. Do you ?
35 >
36 > $ ls -al /dev/fd
37 >  lrwxrwxrwx 1 root root 13 21 janv. 10:28 /dev/fd -> /proc/self/fd/
38 >
39 > $ ls -al /proc/self/fd
40 > total 0
41 > dr-x------ 2 jacques jacques  0 21 janv. 10:43 ./
42 > dr-xr-xr-x 9 jacques jacques  0 21 janv. 10:43 ../
43 > lrwx------ 1 jacques jacques 64 21 janv. 10:43 0 -> /dev/pts/0
44 > lrwx------ 1 jacques jacques 64 21 janv. 10:43 1 -> /dev/pts/0
45 > lrwx------ 1 jacques jacques 64 21 janv. 10:43 2 -> /dev/pts/0
46 > lr-x------ 1 jacques jacques 64 21 janv. 10:43 3 -> /proc/5146/fd/
47 >
48 > $ ls -al /proc/self/
49 > dr-x------   2 jacques jacques 0 21 janv. 10:44 fd/
50 >
51
52 Well, they are owned by jacques instead of root. Could it be the reason why you're asked
53 for a password? Maybe some strange interaction with the sandbox?
54
55 raffaele

Replies

Subject Author
Re: [gentoo-user] Re: bash upgrading problem Jacques Montier <jmontier@×××××.com>