From: Arnaud Gomes-do-Vale (Arnaud.Gomes_at_ircam.fr)
Date: Wed 26 Nov 2003 - 15:27:46 GMT
Herbert Poetzl <herbert_at_13thfloor.at> writes:
> try strace (vers >= 4.5) and make the dump
> available ... maybe this will shed some light on it ..
[root_at_vserver:smb /]rpm -q strace
strace-4.5-1
[root_at_vserver:smb /]strace ls /net/lime/data/
execve("/bin/ls", ["ls", "/net/lime/data/"], [/* 23 vars */]) = 0
uname({sys="Linux", node="smb.ircam.fr", ...}) = 0
set_tid_address(0) = -1 ENOSYS (Function not implemented)
brk(0) = 0x8058da8
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=12034, ...}) = 0
old_mmap(NULL, 12034, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
close(3) = 0
open("/lib/libtermcap.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\r\0"..., 512) = 512fstat64(3, {st_mode=S_IFREG|0755, st_size=11784, ...}) = 0
old_mmap(NULL, 14856, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40019000
old_mmap(0x4001c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2000) = 0x4001c000
close(3) = 0
open("/lib/i686/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 [\1\000"..., 512) = 512fstat64(3, {st_mode=S_IFREG|0755, st_size=1552740, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001d000
old_mmap(NULL, 1279684, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001e000
old_mmap(0x40151000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x133000) = 0x40151000
old_mmap(0x40154000, 9924, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40154000
close(3) = 0
munmap(0x40016000, 12034) = 0
brk(0) = 0x8058da8
brk(0x8059da8) = 0x8059da8
brk(0) = 0x8059da8
brk(0x805a000) = 0x805a000
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=31202800, ...}) = 0
mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40157000
close(3) = 0
rt_sigaction(SIGTERM, {0x8049700, [TERM], SA_RESTORER|SA_RESTART, 0x400465a8}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGKILL, {0x8049700, [KILL], SA_RESTORER|SA_RESTART, 0x400465a8}, {SIG_DFL}, 8) = -1 EINVAL (Invalid argument)
rt_sigaction(SIGSTOP, {0x8049700, [STOP], SA_RESTORER|SA_RESTART, 0x400465a8}, {SIG_DFL}, 8) = -1 EINVAL (Invalid argument)
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TIOCGWINSZ, {ws_row=56, ws_col=80, ws_xpixel=0, ws_ypixel=0}) = 0
brk(0) = 0x805a000
brk(0x805d000) = 0x805d000
stat64("/net/lime/data/", 0x8059654) = -1 EACCES (Permission denied)
write(2, "ls: ", 4ls: ) = 4
write(2, "/net/lime/data/", 15/net/lime/data/) = 15
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2601, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000
read(3, "# Locale name alias data base.\n#"..., 4096) = 2601
read(3, "", 4096) = 0
close(3) = 0
munmap(0x40016000, 4096) = 0
open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, ": Permission denied", 19: Permission denied) = 19
write(2, "\n", 1
) = 1
exit_group(1) = ?
[root_at_vserver:smb /]
-- Arnaud _______________________________________________ Vserver mailing list Vserver_at_list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver