Navigate
Home
ArticleWiki
Forum
Journal
Search
Newsletter
Links
Tech News
expertsrt.com
Welcome Guest.
Username:

Password:

Remember me

man pages blank in chroot
Welcome, Guest. Please login or register.
December 02, 2008, 09:43:25 AM
11304 Posts in 1248 Topics by 498 Members
Latest Member: katCheeme
Experts Round Table Network  |  Webservers  |  Apache  |  man pages blank in chroot « previous next »
Pages: [1]
Author Topic: man pages blank in chroot  (Read 604 times)
Roosta23

Offline Offline

Posts: 1


« on: October 10, 2007, 10:32:35 AM »

HiI was wondering if any can help, I just cant seem to get man commanf to work properly within a chroot (im using jailkit), the command works but it does not pull any information.. I tried debugging using strace and i get the following result from strace on the chrooted man command and normal enviroment

I believe all the libaries are installed as it is loading fine just not pulling the info through


Jailkit


open("/etc/ld.so.cache", O_RDONLY) = 4
open("/lib/libc.so.6", O_RDONLY) = 4
open("/etc/man.config", O_RDONLY) = 4
open("/usr/share/locale/C/man", O_RDONLY) = 5

Process 26204 detached
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
nan 0.000000 0 4 read
nan 0.000000 0 1 write
nan 0.000000 0 4 open
nan 0.000000 0 3 close
nan 0.000000 0 1 execve
nan 0.000000 0 1 1 access
nan 0.000000 0 4 brk
nan 0.000000 0 3 ioctl
nan 0.000000 0 6 old_mmap
nan 0.000000 0 1 munmap
nan 0.000000 0 2 mprotect
nan 0.000000 0 2 mmap2
nan 0.000000 0 4 fstat64
nan 0.000000 0 1 getuid32
nan 0.000000 0 1 getgid32
nan 0.000000 0 1 geteuid32
nan 0.000000 0 1 getegid32
nan 0.000000 0 1 set_thread_area
------ ----------- ----------- --------- --------- ----------------
100.00 0.000000 41 1 total







real life

open("/etc/ld.so.cache", O_RDONLY) = 3
open("/lib/libc.so.6", O_RDONLY) = 3
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
open("/etc/man.config", O_RDONLY) = 3
open("/usr/share/locale/en/man", O_RDONLY) = 4


% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
nan 0.000000 0 4 read
nan 0.000000 0 1 write
nan 0.000000 0 7 2 open
nan 0.000000 0 4 close
nan 0.000000 0 1 execve
nan 0.000000 0 1 1 access
nan 0.000000 0 4 brk
nan 0.000000 0 3 ioctl
nan 0.000000 0 6 old_mmap
nan 0.000000 0 1 munmap
nan 0.000000 0 2 mprotect
nan 0.000000 0 3 mmap2
nan 0.000000 0 5 fstat64
nan 0.000000 0 1 getuid32
nan 0.000000 0 1 getgid32
nan 0.000000 0 1 geteuid32
nan 0.000000 0 1 getegid32
nan 0.000000 0 1 set_thread_area
Logged
Pages: [1]
« previous next »
    Jump to: