devel/google-perftools in a jail

yuri at FreeBSD.org yuri at FreeBSD.org
Mon Apr 5 06:57:29 UTC 2021


Hi Andrea,


On 4/3/21 12:53 AM, Andrea Venturoli wrote:
> I think perftools-pprof queries for a given library and, instead of 
> the path in the jail's filesystem space, somehow gets the same file 
> but in the host's filesystem space.
> I don't know how it tries to get these, though.


I tried to reproduce this problem, but couldn't.


I created the jail with the command:

# jail -c path=/disk-huge/jail host.hostname=testjail ip4=inherit 
command=/etc/rc


Logged into the jail in a normal way:

jexec 231 /bin/sh


Compiled a program, ran it with profiling, then printed the profile 
without seeing a problem like you described.


My jail:

FreeBSD testjail 12.2-STABLE FreeBSD 12.2-STABLE #0 r369528M: Mon Mar 29 
05:18:24 PDT 2021 
unknown at nohost.com:/disk-huge/sys/usr/src/amd64.amd64/sys/GENERIC amd64


Yuri



More information about the freebsd-questions mailing list