Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
When a user is in a jail shell, or chroot shell, the man page can't be displayed correctly (a blank page with only <END>).
I can see no error.
I used strace to compare a standard user with the user in jail (user: test) and can't find much difference. Man seems to find the zip file (ie. ping in this test)
Running Centos 6.2, jailkit.
If you have any idea how to make the page displayed, any settings (manpath, ...), permissions to apply to the manual, let me know.
Here is the log of strace for the user test (in jail).
Quote:
execve("/usr/bin/man", ["man", "ping"], [/* 13 vars */]) = 0
brk(0) = 0x741000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1f86334000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=4249, ...}) = 0
mmap(NULL, 4249, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f1f86332000
close(3) = 0
open("/lib64/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\355\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1903208, ...}) = 0
mmap(NULL, 3733672, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1f85d86000
mprotect(0x7f1f85f0c000, 2097152, PROT_NONE) = 0
mmap(0x7f1f8610c000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x186000) = 0x7f1f8610c000
mmap(0x7f1f86111000, 18600, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f1f86111000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1f86331000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1f86330000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1f8632f000
arch_prctl(ARCH_SET_FS, 0x7f1f86330700) = 0
mprotect(0x7f1f8610c000, 16384, PROT_READ) = 0
mprotect(0x7f1f86335000, 4096, PROT_READ) = 0
munmap(0x7f1f86332000, 4249) = 0
brk(0) = 0x741000
brk(0x762000) = 0x762000
open("/usr/lib/locale/locale-archive", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=99158704, ...}) = 0
mmap(NULL, 99158704, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f1f7fef5000
close(3) = 0
getuid() = 504
geteuid() = 504
getgid() = 100
getegid() = 100
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, TIOCGWINSZ, {ws_row=39, ws_col=143, ws_xpixel=0, ws_ypixel=0}) = 0
open("/etc/man.config", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=4940, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1f86333000
read(3, "#\n# Generated automatically from"..., 4096) = 4096
brk(0x784000) = 0x784000
read(3, "T\t\t1:1p:8:2:3:3p:4:5:6:7:9:0p:n:"..., 4096) = 844
read(3, "", 4096) = 0
stat("/usr/local/share/man/overrides/en_US.UTF-8", 0x7fffbe9d1aa0) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/man/overrides/en_US", 0x7fffbe9d1aa0) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/man/overrides/en", 0x7fffbe9d1aa0) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/man/overrides", 0x7fffbe9d1af0) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/man/en_US.UTF-8", 0x7fffbe9d1aa0) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/man/en_US", 0x7fffbe9d1aa0) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/man/en", 0x7fffbe9d1aa0) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/man", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/share/man/overrides/en_US.UTF-8", 0x7fffbe9d1aa0) = -1 ENOENT (No such file or directory)
stat("/usr/share/man/overrides/en_US", 0x7fffbe9d1aa0) = -1 ENOENT (No such file or directory)
stat("/usr/share/man/overrides/en", 0x7fffbe9d1aa0) = -1 ENOENT (No such file or directory)
stat("/usr/share/man/overrides", 0x7fffbe9d1af0) = -1 ENOENT (No such file or directory)
stat("/usr/share/man/en_US.UTF-8", 0x7fffbe9d1aa0) = -1 ENOENT (No such file or directory)
stat("/usr/share/man/en_US", 0x7fffbe9d1aa0) = -1 ENOENT (No such file or directory)
stat("/usr/share/man/en", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/share/man", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/share/man/overrides/en_US.UTF-8", 0x7fffbe9d1aa0) = -1 ENOENT (No such file or directory)
stat("/usr/share/man/overrides/en_US", 0x7fffbe9d1aa0) = -1 ENOENT (No such file or directory)
stat("/usr/share/man/overrides/en", 0x7fffbe9d1aa0) = -1 ENOENT (No such file or directory)
stat("/usr/share/man/overrides", 0x7fffbe9d1af0) = -1 ENOENT (No such file or directory)
stat("/usr/share/man/en_US.UTF-8", 0x7fffbe9d1aa0) = -1 ENOENT (No such file or directory)
stat("/usr/share/man/en_US", 0x7fffbe9d1aa0) = -1 ENOENT (No such file or directory)
stat("/usr/share/man/overrides/en_US.UTF-8", 0x7fffbe9d1aa0) = -1 ENOENT (No such file or directory)
stat("/usr/share/man/overrides/en_US", 0x7fffbe9d1aa0) = -1 ENOENT (No such file or directory)
stat("/usr/share/man/overrides/en", 0x7fffbe9d1aa0) = -1 ENOENT (No such file or directory)
stat("/usr/share/man/overrides", 0x7fffbe9d1af0) = -1 ENOENT (No such file or directory)
stat("/usr/share/man/en_US.UTF-8", 0x7fffbe9d1aa0) = -1 ENOENT (No such file or directory)
stat("/usr/share/man/en_US", 0x7fffbe9d1aa0) = -1 ENOENT (No such file or directory)
stat("/usr/local/man", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/local/man/en_US.UTF-8", 0x7fffbe9d2aa0) = -1 ENOENT (No such file or directory)
stat("/usr/local/man/en_US", 0x7fffbe9d2aa0) = -1 ENOENT (No such file or directory)
stat("/usr/local/man/en", 0x7fffbe9d2aa0) = -1 ENOENT (No such file or directory)
stat("/usr/local/man", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/local/man/man", 0x7fffbe9d4b90) = -1 ENOENT (No such file or directory)
stat("/usr/local/man/MAN", 0x7fffbe9d4b90) = -1 ENOENT (No such file or directory)
stat("/usr/local/man", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/local/man/en_US.UTF-8", 0x7fffbe9d2aa0) = -1 ENOENT (No such file or directory)
stat("/usr/local/man/en_US", 0x7fffbe9d2aa0) = -1 ENOENT (No such file or directory)
stat("/usr/local/man/en", 0x7fffbe9d2aa0) = -1 ENOENT (No such file or directory)
stat("/usr/share/man/man", 0x7fffbe9d4b90) = -1 ENOENT (No such file or directory)
stat("/usr/share/man/MAN", 0x7fffbe9d4b90) = -1 ENOENT (No such file or directory)
stat("/usr/share/man", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/share/man/en_US.UTF-8", 0x7fffbe9d2aa0) = -1 ENOENT (No such file or directory)
stat("/usr/share/man/en_US", 0x7fffbe9d2aa0) = -1 ENOENT (No such file or directory)
stat("/usr/man/overrides/en_US.UTF-8", 0x7fffbe9d1ad0) = -1 ENOENT (No such file or directory)
stat("/usr/man/overrides/en_US", 0x7fffbe9d1ad0) = -1 ENOENT (No such file or directory)
stat("/usr/man/overrides/en", 0x7fffbe9d1ad0) = -1 ENOENT (No such file or directory)
stat("/usr/man/overrides", 0x7fffbe9d1b20) = -1 ENOENT (No such file or directory)
stat("/usr/man/en_US.UTF-8", 0x7fffbe9d1ad0) = -1 ENOENT (No such file or directory)
stat("/usr/man/en_US", 0x7fffbe9d1ad0) = -1 ENOENT (No such file or directory)
stat("/usr/man/en", 0x7fffbe9d1ad0) = -1 ENOENT (No such file or directory)
stat("/usr/man", 0x7fffbe9d1b20) = -1 ENOENT (No such file or directory)
stat("/usr/share/man/overrides/en_US.UTF-8", 0x7fffbe9d1ad0) = -1 ENOENT (No such file or directory)
stat("/usr/share/man/overrides/en_US", 0x7fffbe9d1ad0) = -1 ENOENT (No such file or directory)
stat("/usr/share/man/overrides/en", 0x7fffbe9d1ad0) = -1 ENOENT (No such file or directory)
stat("/usr/share/man/overrides", 0x7fffbe9d1b20) = -1 ENOENT (No such file or directory)
stat("/usr/share/man/en_US.UTF-8", 0x7fffbe9d1ad0) = -1 ENOENT (No such file or directory)
stat("/usr/share/man/en_US", 0x7fffbe9d1ad0) = -1 ENOENT (No such file or directory)
stat("/usr/local/man/overrides/en_US.UTF-8", 0x7fffbe9d1ad0) = -1 ENOENT (No such file or directory)
stat("/usr/local/man/overrides/en_US", 0x7fffbe9d1ad0) = -1 ENOENT (No such file or directory)
stat("/usr/local/man/overrides/en", 0x7fffbe9d1ad0) = -1 ENOENT (No such file or directory)
stat("/usr/local/man/overrides", 0x7fffbe9d1b20) = -1 ENOENT (No such file or directory)
stat("/usr/local/man/en_US.UTF-8", 0x7fffbe9d1ad0) = -1 ENOENT (No such file or directory)
stat("/usr/local/man/en_US", 0x7fffbe9d1ad0) = -1 ENOENT (No such file or directory)
stat("/usr/local/man/en", 0x7fffbe9d1ad0) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/man/overrides/en_US.UTF-8", 0x7fffbe9d1ad0) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/man/overrides/en_US", 0x7fffbe9d1ad0) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/man/overrides/en", 0x7fffbe9d1ad0) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/man/overrides", 0x7fffbe9d1b20) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/man/en_US.UTF-8", 0x7fffbe9d1ad0) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/man/en_US", 0x7fffbe9d1ad0) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/man/en", 0x7fffbe9d1ad0) = -1 ENOENT (No such file or directory)
stat("/usr/X11R6/man/overrides/en_US.UTF-8", 0x7fffbe9d1ad0) = -1 ENOENT (No such file or directory)
stat("/usr/X11R6/man/overrides/en_US", 0x7fffbe9d1ad0) = -1 ENOENT (No such file or directory)
stat("/usr/X11R6/man/overrides/en", 0x7fffbe9d1ad0) = -1 ENOENT (No such file or directory)
stat("/usr/X11R6/man/overrides", 0x7fffbe9d1b20) = -1 ENOENT (No such file or directory)
stat("/usr/X11R6/man/en_US.UTF-8", 0x7fffbe9d1ad0) = -1 ENOENT (No such file or directory)
stat("/usr/X11R6/man/en_US", 0x7fffbe9d1ad0) = -1 ENOENT (No such file or directory)
stat("/usr/X11R6/man/en", 0x7fffbe9d1ad0) = -1 ENOENT (No such file or directory)
stat("/usr/X11R6/man", 0x7fffbe9d1b20) = -1 ENOENT (No such file or directory)
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
open("/usr/local/share/man/html1/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/share/man/man1/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
fcntl(4, F_GETFD) = 0x1 (flags FD_CLOEXEC)
getdents(4, /* 23 entries */, 32768) = 744
getdents(4, /* 0 entries */, 32768) = 0
close(4) = 0
open("/usr/local/share/man/man1/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
getdents(4, /* 23 entries */, 32768) = 744
getdents(4, /* 0 entries */, 32768) = 0
close(4) = 0
open("/usr/local/share/man/cat1/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/share/man/en/html1/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/share/man/en/man1/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
getdents(4, /* 5 entries */, 32768) = 144
getdents(4, /* 0 entries */, 32768) = 0
close(4) = 0
open("/usr/share/man/en/man1/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
getdents(4, /* 5 entries */, 32768) = 144
getdents(4, /* 0 entries */, 32768) = 0
close(4) = 0
open("/usr/share/man/en/cat1/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/share/man/html1/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/share/man/man1/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
getdents(4, /* 757 entries */, 32768) = 26384
getdents(4, /* 0 entries */, 32768) = 0
close(4) = 0
open("/usr/share/man/man1/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
getdents(4, /* 757 entries */, 32768) = 26384
getdents(4, /* 0 entries */, 32768) = 0
close(4) = 0
open("/usr/share/man/cat1/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/man/html1/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/man/man1/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/man/cat1/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/share/man/html1p/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/share/man/man1p/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/share/man/cat1p/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/share/man/en/html1p/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/share/man/en/man1p/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/share/man/en/cat1p/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/share/man/html1p/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/share/man/man1p/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
getdents(4, /* 2 entries */, 32768) = 48
getdents(4, /* 0 entries */, 32768) = 0
close(4) = 0
open("/usr/share/man/man1p/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
getdents(4, /* 2 entries */, 32768) = 48
getdents(4, /* 0 entries */, 32768) = 0
close(4) = 0
open("/usr/share/man/man1p/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
getdents(4, /* 2 entries */, 32768) = 48
getdents(4, /* 0 entries */, 32768) = 0
close(4) = 0
open("/usr/share/man/cat1p/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/man/html1p/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/man/man1p/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/man/cat1p/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/share/man/html8/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/share/man/man8/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
getdents(4, /* 2 entries */, 32768) = 48
getdents(4, /* 0 entries */, 32768) = 0
close(4) = 0
open("/usr/local/share/man/man8/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
getdents(4, /* 2 entries */, 32768) = 48
getdents(4, /* 0 entries */, 32768) = 0
close(4) = 0
open("/usr/local/share/man/cat8/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/share/man/en/html8/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/share/man/en/man8/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
getdents(4, /* 3 entries */, 32768) = 88
getdents(4, /* 0 entries */, 32768) = 0
close(4) = 0
open("/usr/share/man/en/man8/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
getdents(4, /* 3 entries */, 32768) = 88
getdents(4, /* 0 entries */, 32768) = 0
close(4) = 0
open("/usr/share/man/en/cat8/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/share/man/html8/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/share/man/man8/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
getdents(4, /* 504 entries */, 32768) = 18704
getdents(4, /* 0 entries */, 32768) = 0
close(4) = 0
open("/usr/share/man/man8/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
getdents(4, /* 504 entries */, 32768) = 18704
getdents(4, /* 0 entries */, 32768) = 0
close(4) = 0
access("/usr/share/man/man8/ping.8.gz", R_OK) = 0
open("/usr/local/man/html8/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/man/man8/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
getdents(4, /* 4 entries */, 32768) = 112
getdents(4, /* 0 entries */, 32768) = 0
close(4) = 0
open("/usr/local/man/man8/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
getdents(4, /* 4 entries */, 32768) = 112
getdents(4, /* 0 entries */, 32768) = 0
close(4) = 0
open("/usr/local/man/cat8/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
access("/usr/share/man/man8/ping.8.gz", R_OK) = 0
pipe2([4, 5], O_CLOEXEC) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f1f863309d0) = 31129
close(5) = 0
fcntl(4, F_SETFD, 0) = 0
fstat(4, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1f86332000
read(4, ".\\\" This manpage has been automa"..., 4096) = 4096
close(4) = 0
wait4(31129, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 31129
--- SIGCHLD (Child exited) 0 (0) ---
munmap(0x7f1f86332000, 4096) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
open("/usr/lib64/gconv/gconv-modules.cache", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/gconv/gconv-modules", O_RDONLY) = -1 ENOENT (No such file or directory)
pipe2([4, 5], O_CLOEXEC) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f1f863309d0) = 31130
close(5) = 0
fcntl(4, F_SETFD, 0) = 0
fstat(4, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1f86332000
read(4, ".\\\" This manpage has been automa"..., 4096) = 4096
close(4) = 0
wait4(31130, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 31130
--- SIGCHLD (Child exited) 0 (0) ---
munmap(0x7f1f86332000, 4096) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
rt_sigaction(SIGINT, {0x408050, [INT], SA_RESTORER|SA_RESTART, 0x7f1f85db8900}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {SIG_IGN, [], SA_RESTORER, 0x7f1f85db8900}, {0x408050, [INT], SA_RESTORER|SA_RESTART, 0x7f1f85db8900}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN, [], SA_RESTORER, 0x7f1f85db8900}, {SIG_DFL, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
clone(child_stack=0, flags=CLONE_PARENT_SETTID|SIGCHLD, parent_tidptr=0x7fffbe9d4b88) = 31131
wait4(31131, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 31131
rt_sigaction(SIGINT, {0x408050, [INT], SA_RESTORER|SA_RESTART, 0x7f1f85db8900}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, [], SA_RESTORER, 0x7f1f85db8900}, NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) 0 (0) ---
rt_sigaction(SIGINT, {SIG_DFL, [INT], SA_RESTORER|SA_RESTART, 0x7f1f85db8900}, {0x408050, [INT], SA_RESTORER|SA_RESTART, 0x7f1f85db8900}, 8) = 0
exit_group(0) = ?
/usr/bin/gunzip -c /usr/share/man/man1/man.1.gz | less -is
Since man seems to find the "gz file" looking at the trace, I just tried to unzip it using the "test" user. And that can be displayed using "less -is".
_____________________________________
If someone helps you, or you approve of what's posted, click the "Add to Reputation" button, on the left of the post.
Happy with solution ... mark as SOLVED
(located in the "thread tools")
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.