Proot on Fedora 20

179 बार देखा गया
नहीं पढ़े गए पहले मैसेज पर जाएं

shower...@gmail.com

नहीं पढ़ी गई,
7 मार्च 2014, 12:09:53 pm7/3/14
ईमेल पाने वाला proo...@googlegroups.com

Hello,

I was trying out proot hoping it would help me build my software in chroots faster. Unfortunately network funcionallity doesnt seem to fully work inside proot for me

I am using

./proot --version
 _____ _____              ___
|  __ \  __ \_____  _____|   |_
|   __/     /  _  \/  _  \    _|
|__|  |__|__\_____/\_____/\____| 3.2.2

built-in accelerators: process_vm = yes, seccomp_filter = yes

Visit http://proot.me for help, bug reports, suggestions, patchs, ...
Copyright (C) 2013 STMicroelectronics, licensed under GPL v2 or later.



My host distribution is

Fedora release 20 (Heisenbug)
NAME=Fedora
VERSION="20 (Heisenbug)"
ID=fedora
VERSION_ID=20
PRETTY_NAME="Fedora 20 (Heisenbug)"

And my host kernel is:

Linux squeaky-mbp 3.13.4-200.fc20.x86_64 #1 SMP Thu Feb 20 23:00:47 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux


I am trying this on Centos5 from OpenVZ project:

./proot -0 -R centos-tar ping google.com
ping: icmp open socket: Operation not permitted

But this works:

./proot -0 -R centos-tar host google.com                                                                                                                                     
google.com has address 173.194.41.227
google.com has address 173.194.41.230
google.com has address 173.194.41.225
google.com has address 173.194.41.226
google.com has address 173.194.41.229
google.com has address 173.194.41.238
google.com has address 173.194.41.224
google.com has address 173.194.41.228
google.com has address 173.194.41.232
google.com has address 173.194.41.233
google.com has address 173.194.41.231
google.com has IPv6 address 2a00:1450:4003:804::1006
google.com mail is handled by 30 alt2.aspmx.l.google.com.
google.com mail is handled by 10 aspmx.l.google.com.
google.com mail is handled by 20 alt1.aspmx.l.google.com.
google.com mail is handled by 40 alt3.aspmx.l.google.com.
google.com mail is handled by 50 alt4.aspmx.l.google.com.



shower...@gmail.com

नहीं पढ़ी गई,
10 मार्च 2014, 6:32:35 am10/3/14
ईमेल पाने वाला proo...@googlegroups.com, shower...@gmail.com
I should also note that whenever I replace domains with IP addresses for things like HTTP downloads everything starts to work. So it seems like something bad happens when resolving domains.

Cédric VINCENT

नहीं पढ़ी गई,
10 मार्च 2014, 7:50:00 am10/3/14
ईमेल पाने वाला proo...@googlegroups.com, shower...@gmail.com
Hello,

Ping requires privileges to forge low-level network packets (that's
why it is a setuid binary). Sadly, it is not possible to execute ping
under PRoot unless you are root. Maybe you could use nc or netcat
instead (which do not require privileges) ?

Regards,
Cedric.

shower...@gmail.com

नहीं पढ़ी गई,
10 मार्च 2014, 8:11:50 am10/3/14
ईमेल पाने वाला proo...@googlegroups.com, shower...@gmail.com



Thank you for your answer

I might have illustrated problem in a wrong way. It's not really about ping but more about DNS resoluation:

When I try to download any file over HTTP inside proot: let's say:


wget http://httpbin.org
--2014-03-10 13:05:59--  http://httpbin.org/
Resolving httpbin.org... failed: Name or service not known.
wget: unable to resolve host address `httpbin.org'

It failed but performing a host lookup inside proot works:

host httpbin.org      
httpbin.org has address 54.243.116.211

Now that I replace the domain with IP it starts working:

wget http://54.243.116.211
--2014-03-10 13:08:51--  http://54.243.116.211/
Connecting to 54.243.116.211:80... connected.
HTTP request sent, awaiting response...

So it seems very strange to me that I can perform `host` command to translate domain to IP, but `wget` fails to translate it by itself...

proot copied my /etc/resolv.conf:

cat /etc/resolv.conf     
# Generated by NetworkManager
domain Home
search Home
nameserver 87.216.1.65
nameserver 87.216.1.66


If it didnt `host` command wouldnt work anyway...

Any ideas?

Cédric VINCENT

नहीं पढ़ी गई,
10 मार्च 2014, 10:43:09 am10/3/14
ईमेल पाने वाला proo...@googlegroups.com, Renim Ahkar
> I might have illustrated problem in a wrong way. It's not really about ping
> but more about DNS resoluation:

My mistake.


> When I try to download any file over HTTP inside proot: let's say:
>
>
> wget http://httpbin.org
> --2014-03-10 13:05:59-- http://httpbin.org/
> Resolving httpbin.org... failed: Name or service not known.
> wget: unable to resolve host address `httpbin.org'
>
> It failed but performing a host lookup inside proot works:
>
> host httpbin.org
> httpbin.org has address 54.243.116.211
>
> Now that I replace the domain with IP it starts working:
>
> wget http://54.243.116.211
> --2014-03-10 13:08:51-- http://54.243.116.211/
> Connecting to 54.243.116.211:80... connected.
> HTTP request sent, awaiting response...
>
> So it seems very strange to me that I can perform `host` command to
> translate domain to IP, but `wget` fails to translate it by itself...
>
> proot copied my /etc/resolv.conf:
>
> cat /etc/resolv.conf
> # Generated by NetworkManager
> domain Home
> search Home
> nameserver 87.216.1.65
> nameserver 87.216.1.66
>
>
> If it didnt `host` command wouldnt work anyway...
>
> Any ideas?

I confirm it's an unexpected behavior. Are you using a ~/.wgetrc file
or are there some *_proxy variables in your environment ?

shower...@gmail.com

नहीं पढ़ी गई,
10 मार्च 2014, 11:57:02 am10/3/14
ईमेल पाने वाला proo...@googlegroups.com, Renim Ahkar
I'm using unmodified fresh Centos5 64 bit image from OpenVZ. There is no .wgetrc file. Also CURL and YUM when trying to update database or install package exhibit the same behaviour. I have to replace the domains with IP addresses for YUM to work.

I also post full `env` output because I didnt find anything suspicious myself:

XDG_VTNR=1
XDG_SESSION_ID=1
HOSTNAME=squeaky-mbp
XDG_MENU_PREFIX=gnome-
TERM=xterm-256color
SHELL=/bin/zsh
VTE_VERSION=3409
HISTSIZE=1000
GJS_DEBUG_OUTPUT=stderr
WINDOWID=31566994
GNOME_KEYRING_CONTROL=/run/user/1000/keyring-5M4IX5
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
QT_GRAPHICSSYSTEM_CHECKED=1
USER=squeaky
LS_COLORS=
USERNAME=squeaky
DESKTOP_SESSION=gnome
MAIL=/var/spool/mail/squeaky
PATH=/usr/local/bin:/usr/bin:/bin:/home/squeaky/bin:/usr/local/sbin:/usr/sbin
QT_IM_MODULE=ibus
PWD=/home/squeaky/workspace/portable-pypy
XMODIFIERS=@im=ibus
LANG=en_US.UTF-8
GDM_LANG=en_US.UTF-8
KDEDIRS=/usr
GDMSESSION=gnome
HISTCONTROL=ignoredups
SHLVL=2
HOME=/home/squeaky
XDG_SEAT=seat0
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
LOGNAME=squeaky
LESSOPEN=|/usr/bin/lesspipe.sh %s
WINDOWPATH=1
DISPLAY=:0
XDG_RUNTIME_DIR=/run/user/1000
QT_PLUGIN_PATH=/usr/lib64/kde4/plugins:/usr/lib/kde4/plugins
G_BROKEN_FILENAMES=1
XAUTHORITY=/run/gdm/auth-for-squeaky-BL2uZr/database
COLORTERM=gnome-terminal
_=/usr/bin/env

Thanks for you time

Cédric VINCENT

नहीं पढ़ी गई,
11 मार्च 2014, 10:07:51 am11/3/14
ईमेल पाने वाला proo...@googlegroups.com, Renim Ahkar
Hello Renim,

I'm not able to reproduce this issue using the same rootfs and same
environment. Please, could you send me the output of:

proot -R centos-5-tar -v 2 wget proot.me

Thanks in advance,
Cedric.

shower...@gmail.com

नहीं पढ़ी गई,
11 मार्च 2014, 10:49:07 am11/3/14
ईमेल पाने वाला proo...@googlegroups.com, Renim Ahkar
Hello Cédric,

Thanks for your time again. I attach and put in the mail full reproduce steps including output of the command you asked me

 squeaky@squeaky-mbp  ~/workspace  uname -a
Linux squeaky-mbp 3.13.6-200.fc20.x86_64 #1 SMP Fri Mar 7 17:02:28 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

 squeaky@squeaky-mbp  ~/workspace  cat /etc/*-release

Fedora release 20 (Heisenbug)
NAME=Fedora
VERSION="20 (Heisenbug)"
ID=fedora
VERSION_ID=20
PRETTY_NAME="Fedora 20 (Heisenbug)"
ANSI_COLOR="0;34"
CPE_NAME="cpe:/o:fedoraproject:fedora:20"
HOME_URL="https://fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=20
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=20
Fedora release 20 (Heisenbug)
Fedora release 20 (Heisenbug)

 squeaky@squeaky-mbp  ~/workspace  wget http://download.openvz.org/template/precreated/centos-5-x86_64.tar.gz
--2014-03-11 15:24:06--  http://download.openvz.org/template/precreated/centos-5-x86_64.tar.gz
Resolving download.openvz.org (download.openvz.org)... 199.115.104.11, 2620:e6::104:11
Connecting to download.openvz.org (download.openvz.org)|199.115.104.11|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 192709388 (184M) [application/x-gzip]
Saving to: ‘centos-5-x86_64.tar.gz’

100%[=====================================================================================================================================================================================================>] 192,709,388 2.74MB/s   in 83s   

2014-03-11 15:25:29 (2.23 MB/s) - ‘centos-5-x86_64.tar.gz’ saved [192709388/192709388]

squeaky@squeaky-mbp  ~/workspace  tar xf centos-5-x86_64.tar.gz -C centos-5-tar
tar: ./var/named/chroot/dev/null: Cannot mknod: Operation not permitted
...
tar: Exiting with failure status due to previous errors

 squeaky@squeaky-mbp  ~/workspace  wget http://static.proot.me/proot-x86_64
--2014-03-11 15:29:55--  http://static.proot.me/proot-x86_64
Resolving static.proot.me (static.proot.me)... 217.70.184.38
Connecting to static.proot.me (static.proot.me)|217.70.184.38|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://github.com/cedric-vincent/proot-static-build/raw/master/static//proot-x86_64 [following]
--2014-03-11 15:29:55--  http://github.com/cedric-vincent/proot-static-build/raw/master/static//proot-x86_64
Resolving github.com (github.com)... 192.30.252.131
Connecting to github.com (github.com)|192.30.252.131|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: /cedric-vincent/proot-static-build/raw/master/static//proot-x86_64 [following]
--2014-03-11 15:29:56--  http://github.com/cedric-vincent/proot-static-build/raw/master/static//proot-x86_64
Connecting to github.com (github.com)|192.30.252.131|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://github.com/cedric-vincent/proot-static-build/raw/master/static//proot-x86_64 [following]
--2014-03-11 15:29:56--  https://github.com/cedric-vincent/proot-static-build/raw/master/static//proot-x86_64
Connecting to github.com (github.com)|192.30.252.131|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.github.com/cedric-vincent/proot-static-build/master/static//proot-x86_64 [following]
--2014-03-11 15:29:57--  https://raw.github.com/cedric-vincent/proot-static-build/master/static//proot-x86_64
Resolving raw.github.com (raw.github.com)... 185.31.17.133
Connecting to raw.github.com (raw.github.com)|185.31.17.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3823199 (3.6M) [text/plain]
Saving to: ‘proot-x86_64’

100%[=====================================================================================================================================================================================================>] 3,823,199   2.38MB/s   in 1.5s  

2014-03-11 15:30:00 (2.38 MB/s) - ‘proot-x86_64’ saved [3823199/3823199]

squeaky@squeaky-mbp  ~/workspace  chmod a+x proot-x86_64

squeaky@squeaky-mbp  ~/workspace  ./proot-x86_64 -R centos-5-tar -v 2 wget proot.me
proot info: binding = /home/squeaky/workspace/centos-5-tar
proot info: binding = /home/squeaky
proot info: binding = /tmp
proot info: binding = /sys
proot info: binding = /dev
proot info: binding = /usr/share/zoneinfo/Europe/Madrid:/etc/localtime
proot info: binding = /etc/resolv.conf
proot info: binding = /etc/nsswitch.conf
proot info: binding = /etc/group
proot info: binding = /etc/passwd
proot info: binding = /etc/networks
proot info: binding = /proc/16976/mounts:/proc/mounts
proot info: binding = /proc
proot info: binding = /etc/hosts
proot info: binding = /etc/host.conf
proot info: binding = /home/squeaky/workspace/centos-5-tar:/
proot info: pid 16976: translate("/home/squeaky/workspace" + "wget")
proot info: pid 16976:          -> "/home/squeaky/workspace/wget"
proot info: pid 16976: translate("/" + "/usr/local/bin/wget")
proot info: pid 16976:          -> "/home/squeaky/workspace/centos-5-tar/usr/local/bin/wget"
proot info: pid 16976: translate("/" + "/usr/bin/wget")
proot info: pid 16976:          -> "/home/squeaky/workspace/centos-5-tar/usr/bin/wget"
proot info: glue rootfs = /tmp/proot-16976-wBOUgy
proot info: exe = /usr/bin/wget
proot info: command = wget proot.me
proot info: initial cwd = /home/squeaky/workspace
proot info: verbose level = 2
proot info: pid 16976: access to "/dev/pts/2" (fd 0) won't be translated until closed
proot info: pid 16976: access to "/dev/pts/2" (fd 1) won't be translated until closed
proot info: pid 16976: access to "/dev/pts/2" (fd 2) won't be translated until closed
proot info: ptrace acceleration (seccomp mode 2) enabled
proot info: pid 16977: translate("/" + "/usr/bin/wget")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/bin/wget"
proot info: pid 16977: translate("/" + "/usr/bin/wget")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/bin/wget"
proot info: pid 16977: translate("/" + "/lib64/ld-linux-x86-64.so.2")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/lib64/ld-2.5.so"
proot info: pid 16977: translate("/" + "/usr/bin/wget")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/bin/wget"
proot info: pid 16977: translate("/" + "/etc/ld.so.preload")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/etc/ld.so.preload"
proot info: pid 16977: translate("/" + "/usr/lib64/tls/x86_64/libssl.so.6")
proot info: pid 16977: translate("/" + "/usr/lib64/tls/x86_64")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/tls/x86_64"
proot info: pid 16977: translate("/" + "/usr/lib64/tls/libssl.so.6")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/tls/libssl.so.6"
proot info: pid 16977: translate("/" + "/usr/lib64/tls")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/tls"
proot info: pid 16977: translate("/" + "/usr/lib64/x86_64/libssl.so.6")
proot info: pid 16977: translate("/" + "/usr/lib64/x86_64")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/x86_64"
proot info: pid 16977: translate("/" + "/usr/lib64/libssl.so.6")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/libssl.so.6"
proot info: pid 16977: translate("/" + "/usr/lib64")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64"
proot info: pid 16977: translate("/" + "/etc/ld.so.cache")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/etc/ld.so.cache"
proot info: pid 16977: translate("/" + "/lib64/libssl.so.6")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/lib64/libssl.so.0.9.8e"
proot info: pid 16977: translate("/" + "/usr/lib64/tls/libcrypto.so.6")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/tls/libcrypto.so.6"
proot info: pid 16977: translate("/" + "/usr/lib64/libcrypto.so.6")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/lib64/libcrypto.so.0.9.8e"
proot info: pid 16977: translate("/" + "/usr/lib64/tls/libdl.so.2")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/tls/libdl.so.2"
proot info: pid 16977: translate("/" + "/usr/lib64/libdl.so.2")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/libdl.so.2"
proot info: pid 16977: translate("/" + "/lib64/libdl.so.2")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/lib64/libdl-2.5.so"
proot info: pid 16977: translate("/" + "/usr/lib64/tls/libz.so.1")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/tls/libz.so.1"
proot info: pid 16977: translate("/" + "/usr/lib64/libz.so.1")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/lib64/libz.so.1.2.3"
proot info: pid 16977: translate("/" + "/usr/lib64/tls/librt.so.1")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/tls/librt.so.1"
proot info: pid 16977: translate("/" + "/usr/lib64/librt.so.1")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/librt.so.1"
proot info: pid 16977: translate("/" + "/lib64/librt.so.1")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/lib64/librt-2.5.so"
proot info: pid 16977: translate("/" + "/usr/lib64/tls/libc.so.6")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/tls/libc.so.6"
proot info: pid 16977: translate("/" + "/usr/lib64/libc.so.6")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/libc.so.6"
proot info: pid 16977: translate("/" + "/lib64/libc.so.6")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/lib64/libc-2.5.so"
proot info: pid 16977: translate("/" + "/usr/lib64/tls/libgssapi_krb5.so.2")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/tls/libgssapi_krb5.so.2"
proot info: pid 16977: translate("/" + "/usr/lib64/libgssapi_krb5.so.2")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/libgssapi_krb5.so.2.2"
proot info: pid 16977: translate("/" + "/usr/lib64/tls/libkrb5.so.3")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/tls/libkrb5.so.3"
proot info: pid 16977: translate("/" + "/usr/lib64/libkrb5.so.3")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/libkrb5.so.3.3"
proot info: pid 16977: translate("/" + "/usr/lib64/tls/libcom_err.so.2")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/tls/libcom_err.so.2"
proot info: pid 16977: translate("/" + "/usr/lib64/libcom_err.so.2")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/libcom_err.so.2"
proot info: pid 16977: translate("/" + "/lib64/libcom_err.so.2")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/lib64/libcom_err.so.2.1"
proot info: pid 16977: translate("/" + "/usr/lib64/tls/libk5crypto.so.3")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/tls/libk5crypto.so.3"
proot info: pid 16977: translate("/" + "/usr/lib64/libk5crypto.so.3")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/libk5crypto.so.3.1"
proot info: pid 16977: translate("/" + "/usr/lib64/tls/libpthread.so.0")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/tls/libpthread.so.0"
proot info: pid 16977: translate("/" + "/usr/lib64/libpthread.so.0")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/libpthread.so.0"
proot info: pid 16977: translate("/" + "/lib64/libpthread.so.0")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/lib64/libpthread-2.5.so"
proot info: pid 16977: translate("/" + "/usr/lib64/tls/libkrb5support.so.0")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/tls/libkrb5support.so.0"
proot info: pid 16977: translate("/" + "/usr/lib64/libkrb5support.so.0")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/libkrb5support.so.0.1"
proot info: pid 16977: translate("/" + "/usr/lib64/tls/libkeyutils.so.1")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/tls/libkeyutils.so.1"
proot info: pid 16977: translate("/" + "/usr/lib64/libkeyutils.so.1")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/libkeyutils.so.1"
proot info: pid 16977: translate("/" + "/lib64/libkeyutils.so.1")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/lib64/libkeyutils-1.2.so"
proot info: pid 16977: translate("/" + "/usr/lib64/tls/libresolv.so.2")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/tls/libresolv.so.2"
proot info: pid 16977: translate("/" + "/usr/lib64/libresolv.so.2")
proot info: pid 16977: translate("/" + "/usr/lib64/tls/libresolv.so.2")                                                                                                                                                                [88/804]
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/tls/libresolv.so.2"
proot info: pid 16977: translate("/" + "/usr/lib64/libresolv.so.2")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/libresolv.so.2"
proot info: pid 16977: translate("/" + "/lib64/libresolv.so.2")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/lib64/libresolv-2.5.so"
proot info: pid 16977: translate("/" + "/usr/lib64/tls/libselinux.so.1")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/tls/libselinux.so.1"
proot info: pid 16977: translate("/" + "/usr/lib64/libselinux.so.1")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/libselinux.so.1"
proot info: pid 16977: translate("/" + "/lib64/libselinux.so.1")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/lib64/libselinux.so.1"
proot info: pid 16977: translate("/" + "/usr/lib64/tls/libsepol.so.1")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/tls/libsepol.so.1"
proot info: pid 16977: translate("/" + "/usr/lib64/libsepol.so.1")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/libsepol.so.1"
proot info: pid 16977: translate("/" + "/lib64/libsepol.so.1")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/lib64/libsepol.so.1"
proot info: pid 16977: translate("/" + "/etc/selinux/")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/etc/selinux/"
proot info: pid 16977: translate("/" + "/etc/selinux/config")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/etc/selinux/config"
proot info: pid 16977: translate("/" + "/proc/mounts")
proot info: pid 16977:          -> "/proc/16976/mounts"
proot info: pid 16977: translate("/" + "/sys/fs/selinux/mls")
proot info: pid 16977:          -> "/sys/fs/selinux/mls"
proot info: pid 16977: translate("/" + "/var/run/setrans/.setrans-unix")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/var/run/setrans/.setrans-unix"
proot info: pid 16977: translate("/" + "/usr/lib/locale/locale-archive")
proot info: pid 16977:          -> "/dev/null"
proot info: pid 16977: translate("/" + "/usr/share/locale/locale.alias")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/share/locale/locale.alias"
proot info: pid 16977: translate("/" + "/usr/lib/locale/en_US.UTF-8/LC_IDENTIFICATION")
proot info: pid 16977: translate("/" + "/usr/lib/locale/en_US.utf8/LC_IDENTIFICATION")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib/locale/en_US.utf8/LC_IDENTIFICATION"
proot info: pid 16977: translate("/" + "/usr/lib64/gconv/gconv-modules.cache")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/gconv/gconv-modules.cache"
proot info: pid 16977: translate("/" + "/usr/lib/locale/en_US.UTF-8/LC_MEASUREMENT")
proot info: pid 16977: translate("/" + "/usr/lib/locale/en_US.utf8/LC_MEASUREMENT")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib/locale/en_US.utf8/LC_MEASUREMENT"
proot info: pid 16977: translate("/" + "/usr/lib/locale/en_US.UTF-8/LC_TELEPHONE")
proot info: pid 16977: translate("/" + "/usr/lib/locale/en_US.utf8/LC_TELEPHONE")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib/locale/en_US.utf8/LC_TELEPHONE"
proot info: pid 16977: translate("/" + "/usr/lib/locale/en_US.UTF-8/LC_ADDRESS")
proot info: pid 16977: translate("/" + "/usr/lib/locale/en_US.utf8/LC_ADDRESS")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib/locale/en_US.utf8/LC_ADDRESS"
proot info: pid 16977: translate("/" + "/usr/lib/locale/en_US.UTF-8/LC_NAME")
proot info: pid 16977: translate("/" + "/usr/lib/locale/en_US.utf8/LC_NAME")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib/locale/en_US.utf8/LC_NAME"
proot info: pid 16977: translate("/" + "/usr/lib/locale/en_US.UTF-8/LC_PAPER")
proot info: pid 16977: translate("/" + "/usr/lib/locale/en_US.utf8/LC_PAPER")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib/locale/en_US.utf8/LC_PAPER"
proot info: pid 16977: translate("/" + "/usr/lib/locale/en_US.UTF-8/LC_MESSAGES")
proot info: pid 16977: translate("/" + "/usr/lib/locale/en_US.utf8/LC_MESSAGES")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib/locale/en_US.utf8/LC_MESSAGES"
proot info: pid 16977: translate("/" + "/usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES"
proot info: pid 16977: translate("/" + "/usr/lib/locale/en_US.UTF-8/LC_MONETARY")
proot info: pid 16977: translate("/" + "/usr/lib/locale/en_US.utf8/LC_MONETARY")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib/locale/en_US.utf8/LC_MONETARY"
proot info: pid 16977: translate("/" + "/usr/lib/locale/en_US.UTF-8/LC_COLLATE")
proot info: pid 16977: translate("/" + "/usr/lib/locale/en_US.utf8/LC_COLLATE")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib/locale/en_US.utf8/LC_COLLATE"
proot info: pid 16977: translate("/" + "/usr/lib/locale/en_US.UTF-8/LC_TIME")
proot info: pid 16977: translate("/" + "/usr/lib/locale/en_US.utf8/LC_TIME")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib/locale/en_US.utf8/LC_TIME"
proot info: pid 16977: translate("/" + "/usr/lib/locale/en_US.UTF-8/LC_NUMERIC")
proot info: pid 16977: translate("/" + "/usr/lib/locale/en_US.utf8/LC_NUMERIC")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib/locale/en_US.utf8/LC_NUMERIC"
proot info: pid 16977: translate("/" + "/usr/lib/locale/en_US.UTF-8/LC_CTYPE")
proot info: pid 16977: translate("/" + "/usr/lib/locale/en_US.utf8/LC_CTYPE")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib/locale/en_US.utf8/LC_CTYPE"
proot info: pid 16977: translate("/" + "/etc/wgetrc")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/etc/wgetrc"
proot info: pid 16977: translate("/" + "/etc/wgetrc")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/etc/wgetrc"
proot info: pid 16977: translate("/" + "/home/squeaky/.wgetrc")
proot info: pid 16977:          -> "/home/squeaky/.wgetrc"
proot info: pid 16977: translate("/home/squeaky/workspace" + "index.html")
proot info: pid 16977:          -> "/home/squeaky/workspace/index.html"
proot info: pid 16977: translate("/home/squeaky/workspace" + "index.html")
proot info: pid 16977:          -> "/home/squeaky/workspace/index.html"
proot info: pid 16977: translate("/" + "/etc/localtime")
proot info: pid 16977:          -> "/usr/share/zoneinfo/Europe/Madrid"
proot info: pid 16977: translate("/" + "/etc/localtime")
proot info: pid 16977:          -> "/usr/share/zoneinfo/Europe/Madrid"
--2014-03-11 15:34:13--  http://proot.me/
proot info: pid 16977: translate("/" + "/home/squeaky/.netrc")
proot info: pid 16977:          -> "/home/squeaky/.netrc"
proot info: pid 16977: translate("/" + "/usr/share/locale/en_US.UTF-8/LC_MESSAGES/wget.mo")
proot info: pid 16977: translate("/" + "/usr/share/locale/en_US.utf8/LC_MESSAGES/wget.mo")
proot info: pid 16977: translate("/" + "/usr/share/locale/en_US/LC_MESSAGES/wget.mo")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/share/locale/en_US/LC_MESSAGES/wget.mo"
proot info: pid 16977: translate("/" + "/usr/share/locale/en.UTF-8/LC_MESSAGES/wget.mo")
proot info: pid 16977: translate("/" + "/usr/share/locale/en.utf8/LC_MESSAGES/wget.mo")
proot info: pid 16977: translate("/" + "/usr/share/locale/en/LC_MESSAGES/wget.mo")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/share/locale/en/LC_MESSAGES/wget.mo"
Resolving proot.me... proot info: pid 16977: translate("/" + "/var/run/nscd/socket")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/var/run/nscd/socket"
proot info: pid 16977: translate("/" + "/var/run/nscd/socket")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/var/run/nscd/socket"
proot info: pid 16977: translate("/" + "/etc/nsswitch.conf")
proot info: pid 16977:          -> "/etc/nsswitch.conf"
proot info: pid 16977: translate("/" + "/etc/host.conf")
proot info: pid 16977:          -> "/etc/host.conf"
proot info: pid 16977: translate("/" + "/etc/resolv.conf")
proot info: pid 16977:          -> "/etc/resolv.conf"
proot info: pid 16977: translate("/" + "/usr/lib64/tls/libnss_files.so.2")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/tls/libnss_files.so.2"
proot info: pid 16977: translate("/" + "/usr/lib64/libnss_files.so.2")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/libnss_files.so.2"
proot info: pid 16977: translate("/" + "/etc/ld.so.cache")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/etc/ld.so.cache"
proot info: pid 16977: translate("/" + "/lib64/libnss_files.so.2")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/lib64/libnss_files-2.5.so"
proot info: pid 16977: translate("/" + "/etc/hosts")
proot info: pid 16977:          -> "/etc/hosts"
proot info: pid 16977: translate("/" + "/etc/hosts")
proot info: pid 16977:          -> "/etc/hosts"
proot info: pid 16977: translate("/" + "/usr/lib64/tls/libnss_mdns4_minimal.so.2")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/tls/libnss_mdns4_minimal.so.2"
proot info: pid 16977: translate("/" + "/usr/lib64/libnss_mdns4_minimal.so.2")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/libnss_mdns4_minimal.so.2"
proot info: pid 16977: translate("/" + "/etc/ld.so.cache")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/etc/ld.so.cache"
proot info: pid 16977: translate("/" + "/lib64/tls/x86_64/libnss_mdns4_minimal.so.2")
proot info: pid 16977: translate("/" + "/lib64/tls/x86_64")
proot info: pid 16977: translate("/" + "/lib64/tls/libnss_mdns4_minimal.so.2")
proot info: pid 16977: translate("/" + "/lib64/tls")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/lib64/tls"
proot info: pid 16977: translate("/" + "/lib64/x86_64/libnss_mdns4_minimal.so.2")
proot info: pid 16977: translate("/" + "/lib64/x86_64")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/lib64/x86_64"
proot info: pid 16977: translate("/" + "/lib64/libnss_mdns4_minimal.so.2")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/lib64/libnss_mdns4_minimal.so.2"
proot info: pid 16977: translate("/" + "/lib64")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/lib64"
proot info: pid 16977: translate("/" + "/usr/lib64/tls/libnss_mdns4_minimal.so.2")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/tls/libnss_mdns4_minimal.so.2"
proot info: pid 16977: translate("/" + "/usr/lib64/libnss_mdns4_minimal.so.2")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/lib64/libnss_mdns4_minimal.so.2"
proot info: pid 16977: translate("/" + "/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo")
proot info: pid 16977: translate("/" + "/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo")
proot info: pid 16977: translate("/" + "/usr/share/locale/en_US/LC_MESSAGES/libc.mo")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/share/locale/en_US/LC_MESSAGES/libc.mo"
proot info: pid 16977: translate("/" + "/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo")
proot info: pid 16977: translate("/" + "/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo")
proot info: pid 16977: translate("/" + "/usr/share/locale/en/LC_MESSAGES/libc.mo")
proot info: pid 16977:          -> "/home/squeaky/workspace/centos-5-tar/usr/share/locale/en/LC_MESSAGES/libc.mo"

failed: Name or service not known.
wget: unable to resolve host address `proot.me'
proot info: pid 16977: translate("/" + "/etc/localtime")
proot info: pid 16977:          -> "/usr/share/zoneinfo/Europe/Madrid"
proot info: pid 16977: exited with status 1

squeaky@squeaky-mbp  ~/workspace  cat /etc/hosts
127.0.0.1               localhost.localdomain localhost
::1             localhost6.localdomain6 localhost6

 squeaky@squeaky-mbp  ~/workspace  cat /etc/resolv.conf
# Generated by NetworkManager
domain Home
search Home
nameserver 87.216.1.65
nameserver 87.216.1.66

squeaky@squeaky-mbp  ~/workspace  cat /etc/nsswitch.conf
#
# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry '[NOTFOUND=return]' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Valid entries include:
#
#       nisplus                 Use NIS+ (NIS version 3)
#       nis                     Use NIS (NIS version 2), also called YP
#       dns                     Use DNS (Domain Name Service)
#       files                   Use the local files
#       db                      Use the local database (.db) files
#       compat                  Use NIS on compat mode
#       hesiod                  Use Hesiod for user lookups
#       [NOTFOUND=return]       Stop searching if not found so far
#

# To use db, put the "db" in front of "files" for entries you want to be
# looked up first in the databases
#
# Example:
#passwd:    db files nisplus nis
#shadow:    db files nisplus nis
#group:     db files nisplus nis

passwd:     files
shadow:     files
group:      files
#initgroups: files

#hosts:     db files nisplus nis dns
hosts:      files mdns4_minimal [NOTFOUND=return] dns myhostname

# Example - obey only what nisplus tells us...
#services:   nisplus [NOTFOUND=return] files
#networks:   nisplus [NOTFOUND=return] files
#protocols:  nisplus [NOTFOUND=return] files
#rpc:        nisplus [NOTFOUND=return] files
#ethers:     nisplus [NOTFOUND=return] files
#netmasks:   nisplus [NOTFOUND=return] files

bootparams: nisplus [NOTFOUND=return] files

ethers:     files
netmasks:   files
networks:   files
protocols:  files
rpc:        files
services:   files

netgroup:   files

publickey:  nisplus

automount:  files
aliases:    files nisplus

squeaky@squeaky-mbp  ~/workspace  cat /etc/host.conf
multi on


Thanks
proot.txt

Cédric VINCENT

नहीं पढ़ी गई,
12 मार्च 2014, 5:33:48 am12/3/14
ईमेल पाने वाला proo...@googlegroups.com, Renim Ahkar
Hello Renim,

On Tue, Mar 11, 2014 at 3:49 PM, <shower...@gmail.com> wrote:
> Thanks for your time again.

You're welcome. I really want to understand what's going wrong.

As of my understanding, the resolver first queries nscd through a
socket, however this latter is not bound into the guest rootfs.
Please could you try:

$ proot -R centos-5-tar -b /var/run/nscd/socket wget google.com

I think this will *not* work either since -- as of my understanding --
nscd is only a cache for "/etc/hosts" and "/etc/resolv.conf". however
I'd like to be sure the missing socket does not introduce an
unexpected behavior.

Then, the resolver parses "/etc/nsswitch.conf". This files specifies
to query the "files" database (ie. "/etc/hosts"), then the
"mdns4_minimal" database. I have no clue how this latter works, so
I'll try to get some documentation about this. In the mean time,
could you please send me the output of:

$ proot -v 2 wget proot.me

(guest rootfs == host rootfs, to understand where the behavior differ
unexpectedly)

Cédric.

shower...@gmail.com

नहीं पढ़ी गई,
12 मार्च 2014, 8:18:35 am12/3/14
ईमेल पाने वाला proo...@googlegroups.com, Renim Ahkar
Hello Cédric.

Thanks for your great help.

Actually you are right - it was about nscd. Note that Fedora doesnt come with nscd installed by default.

I had to first install and start it:

sudo yum install nscd
sudo systemctl start nscd


Afterwards things start to work like a charm:

./proot-x86_64 -R centos-5-tar -b /var/run/nscd/socket wget proot.me
--2014-03-12 13:07:30--  http://proot.me/
Resolving proot.me... 37.59.56.11
Connecting to proot.me|37.59.56.11|:80... connected.

HTTP request sent, awaiting response... 200 OK
Length: 15774 (15K) [text/html]
Saving to: `index.html'

100%[=====================================================================================================================================================================================================>] 15,774      --.-K/s   in 0.06s  


So my question would be if I can do something to make Centos5 skip nscd when resolving names? Or maybe proot can do something about it? At least a warning could be displayed when you mount a distro that needs it I think.

Also when running on the same file system it looks like this:

proot info: binding = /
proot info: pid 17509: translate("/home/squeaky/workspace" + "wget")
proot info: pid 17509:          -> "/home/squeaky/workspace/wget"
proot info: pid 17509: translate("/" + "/usr/local/bin/wget")
proot info: pid 17509:          -> "/usr/local/bin/wget"
proot info: pid 17509: translate("/" + "/usr/bin/wget")
proot info: pid 17509:          -> "/usr/bin/wget"

proot info: exe = /usr/bin/wget
proot info: command = wget proot.me
proot info: initial cwd = /home/squeaky/workspace
proot info: verbose level = 2
proot info: pid 17509: access to "/dev/pts/3" (fd 0) won't be translated until closed
proot info: pid 17509: access to "/home/squeaky/workspace/out.txt" (fd 1) won't be translated until closed
proot info: pid 17509: access to "/home/squeaky/workspace/out.txt" (fd 2) won't be translated until closed

proot info: ptrace acceleration (seccomp mode 2) enabled
proot info: pid 17510: translate("/" + "/usr/bin/wget")
proot info: pid 17510:          -> "/usr/bin/wget"
proot info: pid 17510: translate("/" + "/usr/bin/wget")
proot info: pid 17510:          -> "/usr/bin/wget"
proot info: pid 17510: translate("/" + "/lib64/ld-linux-x86-64.so.2")
proot info: pid 17510:          -> "/usr/lib64/ld-2.18.so"
proot info: pid 17510: translate("/" + "/usr/bin/wget")
proot info: pid 17510:          -> "/usr/bin/wget"
proot info: pid 17510: translate("/" + "/etc/ld.so.preload")
proot info: pid 17510:          -> "/etc/ld.so.preload"
proot info: pid 17510: translate("/" + "/etc/ld.so.cache")
proot info: pid 17510:          -> "/etc/ld.so.cache"
proot info: pid 17510: translate("/" + "/lib64/libssl.so.10")
proot info: pid 17510:          -> "/usr/lib64/libssl.so.1.0.1e"
proot info: pid 17510: translate("/" + "/lib64/libcrypto.so.10")
proot info: pid 17510:          -> "/usr/lib64/libcrypto.so.1.0.1e"
proot info: pid 17510: translate("/" + "/lib64/libz.so.1")
proot info: pid 17510:          -> "/usr/lib64/libz.so.1.2.8"
proot info: pid 17510: translate("/" + "/lib64/libdl.so.2")
proot info: pid 17510:          -> "/usr/lib64/libdl-2.18.so"
proot info: pid 17510: translate("/" + "/lib64/libidn.so.11")
proot info: pid 17510:          -> "/usr/lib64/libidn.so.11.6.11"
proot info: pid 17510: translate("/" + "/lib64/libuuid.so.1")
proot info: pid 17510:          -> "/usr/lib64/libuuid.so.1.3.0"
proot info: pid 17510: translate("/" + "/lib64/libpcre.so.1")
proot info: pid 17510:          -> "/usr/lib64/libpcre.so.1.2.1"
proot info: pid 17510: translate("/" + "/lib64/libc.so.6")
proot info: pid 17510:          -> "/usr/lib64/libc-2.18.so"
proot info: pid 17510: translate("/" + "/lib64/libgssapi_krb5.so.2")
proot info: pid 17510:          -> "/usr/lib64/libgssapi_krb5.so.2.2"
proot info: pid 17510: translate("/" + "/lib64/libkrb5.so.3")
proot info: pid 17510:          -> "/usr/lib64/libkrb5.so.3.3"
proot info: pid 17510: translate("/" + "/lib64/libcom_err.so.2")
proot info: pid 17510:          -> "/usr/lib64/libcom_err.so.2.1"
proot info: pid 17510: translate("/" + "/lib64/libk5crypto.so.3")
proot info: pid 17510:          -> "/usr/lib64/libk5crypto.so.3.1"
proot info: pid 17510: translate("/" + "/lib64/libpthread.so.0")
proot info: pid 17510:          -> "/usr/lib64/libpthread-2.18.so"
proot info: pid 17510: translate("/" + "/lib64/libkrb5support.so.0")
proot info: pid 17510:          -> "/usr/lib64/libkrb5support.so.0.1"
proot info: pid 17510: translate("/" + "/lib64/libkeyutils.so.1")
proot info: pid 17510:          -> "/usr/lib64/libkeyutils.so.1.5"
proot info: pid 17510: translate("/" + "/lib64/libresolv.so.2")
proot info: pid 17510:          -> "/usr/lib64/libresolv-2.18.so"
proot info: pid 17510: translate("/" + "/lib64/libselinux.so.1")
proot info: pid 17510:          -> "/usr/lib64/libselinux.so.1"
proot info: pid 17510: translate("/" + "/lib64/liblzma.so.5")
proot info: pid 17510:          -> "/usr/lib64/liblzma.so.5.0.99"
proot info: pid 17510: translate("/" + "/sys/fs/selinux")
proot info: pid 17510:          -> "/sys/fs/selinux"
proot info: pid 17510: translate("/" + "/sys/fs/selinux")
proot info: pid 17510:          -> "/sys/fs/selinux"
proot info: pid 17510: translate("/" + "/sys/fs/selinux")
proot info: pid 17510:          -> "/sys/fs/selinux"
proot info: pid 17510: translate("/" + "/etc/system-fips")
proot info: pid 17510:          -> "/etc/system-fips"
proot info: pid 17510: translate("/" + "/usr/lib/locale/locale-archive")
proot info: pid 17510:          -> "/usr/lib/locale/locale-archive"
proot info: pid 17510: translate("/" + "/etc/wgetrc")
proot info: pid 17510:          -> "/etc/wgetrc"
proot info: pid 17510: translate("/" + "/etc/wgetrc")
proot info: pid 17510:          -> "/etc/wgetrc"
proot info: pid 17510: translate("/" + "/home/squeaky/.wgetrc")
proot info: pid 17510:          -> "/home/squeaky/.wgetrc"
proot info: pid 17510: translate("/home/squeaky/workspace" + "index.html")
proot info: pid 17510:          -> "/home/squeaky/workspace/index.html"
proot info: pid 17510: translate("/home/squeaky/workspace" + "index.html.1")
proot info: pid 17510:          -> "/home/squeaky/workspace/index.html.1"
proot info: pid 17510: translate("/home/squeaky/workspace" + "index.html.2")
proot info: pid 17510:          -> "/home/squeaky/workspace/index.html.2"
proot info: pid 17510: translate("/home/squeaky/workspace" + "index.html.3")
proot info: pid 17510:          -> "/home/squeaky/workspace/index.html.3"
proot info: pid 17510: translate("/home/squeaky/workspace" + "index.html.4")
proot info: pid 17510:          -> "/home/squeaky/workspace/index.html.4"
proot info: pid 17510: translate("/home/squeaky/workspace" + "index.html.4")
proot info: pid 17510:          -> "/home/squeaky/workspace/index.html.4"
proot info: pid 17510: translate("/home/squeaky/workspace" + "index.html")
proot info: pid 17510:          -> "/home/squeaky/workspace/index.html"
proot info: pid 17510: translate("/home/squeaky/workspace" + "index.html.1")
proot info: pid 17510:          -> "/home/squeaky/workspace/index.html.1"
proot info: pid 17510: translate("/home/squeaky/workspace" + "index.html.2")
proot info: pid 17510:          -> "/home/squeaky/workspace/index.html.2"
proot info: pid 17510: translate("/home/squeaky/workspace" + "index.html.3")
proot info: pid 17510:          -> "/home/squeaky/workspace/index.html.3"
proot info: pid 17510: translate("/home/squeaky/workspace" + "index.html.4")
proot info: pid 17510:          -> "/home/squeaky/workspace/index.html.4"
proot info: pid 17510: translate("/" + "/etc/localtime")
proot info: pid 17510:          -> "/usr/share/zoneinfo/Europe/Madrid"
--2014-03-12 13:13:25--  http://proot.me/
proot info: pid 17510: translate("/" + "/home/squeaky/.netrc")
proot info: pid 17510:          -> "/home/squeaky/.netrc"
proot info: pid 17510: translate("/" + "/usr/share/locale/locale.alias")
proot info: pid 17510:          -> "/usr/share/locale/locale.alias"
proot info: pid 17510: translate("/" + "/usr/share/locale/en_US.UTF-8/LC_MESSAGES/wget.mo")
proot info: pid 17510: translate("/" + "/usr/share/locale/en_US.utf8/LC_MESSAGES/wget.mo")
proot info: pid 17510: translate("/" + "/usr/share/locale/en_US/LC_MESSAGES/wget.mo")
proot info: pid 17510:          -> "/usr/share/locale/en_US/LC_MESSAGES/wget.mo"
proot info: pid 17510: translate("/" + "/usr/share/locale/en.UTF-8/LC_MESSAGES/wget.mo")
proot info: pid 17510: translate("/" + "/usr/share/locale/en.utf8/LC_MESSAGES/wget.mo")
proot info: pid 17510: translate("/" + "/usr/share/locale/en/LC_MESSAGES/wget.mo")
proot info: pid 17510:          -> "/usr/share/locale/en/LC_MESSAGES/wget.mo"
Resolving proot.me (proot.me)... proot info: pid 17510: translate("/" + "/var/run/nscd/socket")
proot info: pid 17510:          -> "/run/nscd/socket"
37.59.56.11
Connecting to proot.me (proot.me)|37.59.56.11|:80... connected.

HTTP request sent, awaiting response... 200 OK
proot info: pid 17510: translate("/home/squeaky/workspace" + "index.html.4")
proot info: pid 17510:          -> "/home/squeaky/workspace/index.html.4"
Length: 15774 (15K) [text/html]
proot info: pid 17510: translate("/home/squeaky/workspace" + "index.html.4")
proot info: pid 17510:          -> "/home/squeaky/workspace/index.html.4"
proot info: pid 17510: translate("/" + "/usr/lib64/charset.alias")
proot info: pid 17510:          -> "/usr/lib64/charset.alias"
Saving to: ‘index.html.4’

     0K .......... .....                                      100%  318K=0.05s

proot info: pid 17510: translate("/" + "/etc/localtime")
proot info: pid 17510:          -> "/usr/share/zoneinfo/Europe/Madrid"
proot info: pid 17510: translate("/home/squeaky/workspace" + "index.html.4")
proot info: pid 17510:          -> "/home/squeaky/workspace/index.html.4"
2014-03-12 13:13:25 (318 KB/s) - ‘index.html.4’ saved [15774/15774]

proot info: pid 17510: exited with status 0

2014-03-12 13:07:30 (265 KB/s) - `index.html' saved [15774/15774]
out.txt

shower...@gmail.com

नहीं पढ़ी गई,
12 मार्च 2014, 8:42:51 am12/3/14
ईमेल पाने वाला proo...@googlegroups.com, Renim Ahkar


On Wednesday, March 12, 2014 10:33:48 AM UTC+1, Cédric VINCENT wrote:

Cédric VINCENT

नहीं पढ़ी गई,
12 मार्च 2014, 3:42:21 pm12/3/14
ईमेल पाने वाला proo...@googlegroups.com, Renim Ahkar
Hello Renim,

On Wed, Mar 12, 2014 at 1:18 PM, <shower...@gmail.com> wrote:
> Actually you are right - it was about nscd.
[...]
> So my question would be if I can do something to make Centos5 skip nscd when
> resolving names? Or maybe proot can do something about it? At least a
> warning could be displayed when you mount a distro that needs it I think.

Hum, I didn't understand yet how nscd works, I have to dig into its
guts first. In the mean time, I could add its socket to the list of
recommanded bindings (-R option).

Thanks a lot for your tests,
Cédric.
सभी प्रषकों को उत्तर दें
लेखक को उत्तर दें
आगे भेजें
0 नया मैसेज