Jacques Montier wrote:
> /
> /
> Le lun. 21 janv. 2019 à 07:52, Raffaele Belardi <raffaele.bela...@st.com
> <mailto:raffaele.bela...@st.com>> a écrit :
> 
>     Jacques Montier wrote:
>     > checking whether /dev/fd is available... ERROR: ld.so: object 
> 'libsandbox.so' from
>     LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
> 
>     Just a guess. configure here is trying to read /dev/fd which is a symlink 
> to
>     /proc/self/fd. Do you see anything strange with those two directories or 
> directory
>     entries?
> 
>     $ ll /dev/fd
>     lrwxrwxrwx 1 root root 13 Jan 21 07:10 /dev/fd -> /proc/self/fd
> 
> 
>     # ll /proc/self/fd
>     total 0
>     lrwx------ 1 root root 64 Jan 21 07:53 0 -> /dev/pts/3
>     lrwx------ 1 root root 64 Jan 21 07:53 1 -> /dev/pts/3
>     lrwx------ 1 root root 64 Jan 21 07:53 2 -> /dev/pts/3
>     lr-x------ 1 root root 64 Jan 21 07:53 3 -> /proc/3744/fd
> 
>     # ll /proc/self/
>     total 0
>     dr-x------ 2 root root 0 Jan 21 07:54 fd
>     (snip)
> 
> 
> Thanks Raffaele,
> 
> No, i don't see anything strange with those two directories. Do you ?
> 
> $ ls -al /dev/fd
>  lrwxrwxrwx 1 root root 13 21 janv. 10:28 /dev/fd -> /proc/self/fd/
> 
> $ ls -al /proc/self/fd
> total 0
> dr-x------ 2 jacques jacques  0 21 janv. 10:43 ./
> dr-xr-xr-x 9 jacques jacques  0 21 janv. 10:43 ../
> lrwx------ 1 jacques jacques 64 21 janv. 10:43 0 -> /dev/pts/0
> lrwx------ 1 jacques jacques 64 21 janv. 10:43 1 -> /dev/pts/0
> lrwx------ 1 jacques jacques 64 21 janv. 10:43 2 -> /dev/pts/0
> lr-x------ 1 jacques jacques 64 21 janv. 10:43 3 -> /proc/5146/fd/
> 
> $ ls -al /proc/self/
> dr-x------   2 jacques jacques 0 21 janv. 10:44 fd/
> 

Well, they are owned by jacques instead of root. Could it be the reason why 
you're asked
for a password? Maybe some strange interaction with the sandbox?

raffaele

Reply via email to