On Wed, 21 Jun 2006 15:42:17 +0200 Daniel Hokka Zakrisson <[EMAIL PROTECTED]> wrote:
> > .: invalid option -- n > > > > Who produce this output ??? > I'd guess smbmount. An strace -fF -o mount.trace vnamespace... should > help you pinpoint which binary is printing it. > #strace -Ff -o /tmp/strace.txt vnamespace -e 181 -- /usr/sbin/chbind --silent --nid 181 --ip 192.168.1.181/23 -- /usr/lib/util-vserver/secure-mount -a --chroot --fstab /etc/vservers/vmessdb/fstab.remote --rootfs no #cat /tmp/strace.txt 26006 execve("/usr/sbin/vnamespace", ["vnamespace", "-e", "181", "--", "/usr/sbin/chbind", "--silent", "--nid", "181", "--ip", "192.168.1.181/23", "--", "/usr/lib/util-vserver/secure-mou"..., "-a", "--chroot", "--fstab", "/etc/vservers/vmessdb/fstab.remo"..., ...], [/* 20 vars */]) = 0 26006 vserver(0xa010000, 0xb5, 0, 0xb5, 0xffffe400) = 0 26006 execve("/usr/sbin/chbind", ["/usr/sbin/chbind", "--silent", "--nid", "181", "--ip", "192.168.1.181/23", "--", "/usr/lib/util-vserver/secure-mou"..., "-a", "--chroot", "--fstab", "/etc/vservers/vmessdb/fstab.remo"..., "--rootfs", "no"], [/* 20 vars */]) = 0 26006 open("/proc/net/dev", O_RDONLY|O_LARGEFILE) = 3 26006 read(3, "Inter-| Receive "..., 8192) = 450 26006 read(3, "", 7742) = 0 26006 close(3) = 0 26006 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fa6000 26006 vserver(0, 0x3f, 0, 0, 0xbfea3dc8) = 131329 26006 vserver(0x19010001, 0xb5, 0, 0xffffffff, 0xbfea3dc8) = -1 EEXIST (File exists) 26006 vserver(0x1b010000, 0xb5, 0, 0xffffffff, 0xbfea3dc8) = 0 26006 execve("/usr/lib/util-vserver/secure-mount", ["/usr/lib/util-vserver/secure-mou"..., "-a", "--chroot", "--fstab", "/etc/vservers/vmessdb/fstab.remo"..., "--rootfs", "no"], [/* 20 vars */]) = 0 26006 open(".", O_RDONLY|O_LARGEFILE|O_DIRECTORY) = 3 26006 open("/", O_RDONLY|O_LARGEFILE|O_DIRECTORY) = 4 26006 fcntl(3, F_SETFD, FD_CLOEXEC) = 0 26006 fcntl(4, F_SETFD, FD_CLOEXEC) = 0 26006 rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0 26006 open("/etc/vservers/vmessdb/fstab.remote", O_RDONLY|O_LARGEFILE) = 5 26006 _llseek(5, 0, [149], SEEK_END) = 0 26006 _llseek(5, 0, [0], SEEK_SET) = 0 26006 read(5, "#//fsuser/grp /home/messdb/fsuse"..., 150) = 149 26006 chdir("/") = 0 26006 fchdir(3) = 0 26006 chroot(".") = 0 26006 chdir("/home/messdb/fsuser") = 0 26006 open(".", O_RDONLY|O_LARGEFILE|O_DIRECTORY) = 6 26006 fchdir(4) = 0 26006 chroot(".") = 0 26006 fchdir(6) = 0 26006 close(6) = 0 26006 fork() = 26007 26006 wait4(26007, <unfinished ...> 26007 execve("/bin/mount", ["/bin/mount", "-n", "-o", "nodev,uid=101,gid=users,username"..., "-t", "smbfs", "//fsuser/grp", "."], [/* 20 vars */]) = 0 26007 uname({sys="Linux", node="butler", ...}) = 0 26007 brk(0) = 0x8057000 26007 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 26007 open("/etc/ld.so.cache", O_RDONLY) = 3 26007 fstat64(3, {st_mode=S_IFREG|0644, st_size=10200, ...}) = 0 26007 mmap2(NULL, 10200, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ef4000 26007 close(3) = 0 26007 open("/lib/libblkid.so.1", O_RDONLY) = 3 26007 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\34"..., 512) = 512 26007 fstat64(3, {st_mode=S_IFREG|0755, st_size=28108, ...}) = 0 26007 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ef3000 26007 mmap2(NULL, 26580, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7eec000 26007 mmap2(0xb7ef2000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0xb7ef2000 26007 close(3) = 0 26007 open("/lib/libuuid.so.1", O_RDONLY) = 3 26007 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\n\0"..., 512) = 512 26007 fstat64(3, {st_mode=S_IFREG|0755, st_size=9124, ...}) = 0 26007 mmap2(NULL, 11660, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ee9000 26007 mmap2(0xb7eeb000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7eeb000 26007 close(3) = 0 26007 open("/lib/libc.so.6", O_RDONLY) = 3 26007 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0O\1\000"..., 512) = 512 26007 fstat64(3, {st_mode=S_IFREG|0755, st_size=1195448, ...}) = 0 26007 mmap2(NULL, 1178588, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7dc9000 26007 mmap2(0xb7ee3000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x119) = 0xb7ee3000 26007 mmap2(0xb7ee7000, 7132, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7ee7000 26007 close(3) = 0 26007 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7dc8000 26007 mprotect(0xb7ee3000, 4096, PROT_READ) = 0 26007 mprotect(0xb7f0d000, 4096, PROT_READ) = 0 26007 set_thread_area({entry_number:-1 -> 6, base_addr:0xb7dc86b0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 26007 munmap(0xb7ef4000, 10200) = 0 26007 umask(022) = 022 26007 open("/dev/null", O_RDWR|O_LARGEFILE) = 3 26007 close(3) = 0 26007 brk(0) = 0x8057000 26007 brk(0x8078000) = 0x8078000 26007 getuid32() = 0 26007 geteuid32() = 0 26007 getgid32() = 0 26007 getegid32() = 0 26007 prctl(0x3, 0x20, 0xbff0a424, 0xbff0a424, 0x8) = 1 26007 open("/etc/blkid.tab", O_RDONLY) = 3 26007 fstat64(3, {st_mode=S_IFREG|0644, st_size=132, ...}) = 0 26007 fcntl64(3, F_GETFL) = 0 (flags O_RDONLY) 26007 fstat64(3, {st_mode=S_IFREG|0644, st_size=132, ...}) = 0 26007 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ef6000 26007 _llseek(3, 0, [0], SEEK_CUR) = 0 26007 read(3, "<device DEVNO=\"0x0301\" TIME=\"114"..., 4096) = 132 26007 read(3, "", 4096) = 0 26007 close(3) = 0 26007 munmap(0xb7ef6000, 4096) = 0 26007 getuid32() = 0 26007 geteuid32() = 0 26007 socket(PF_FILE, SOCK_STREAM, 0) = 3 26007 fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR) 26007 fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 26007 connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) 26007 close(3) = 0 26007 socket(PF_FILE, SOCK_STREAM, 0) = 3 26007 fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR) 26007 fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 26007 connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) 26007 close(3) = 0 26007 open("/etc/nsswitch.conf", O_RDONLY) = 3 26007 fstat64(3, {st_mode=S_IFREG|0644, st_size=373, ...}) = 0 26007 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ef6000 26007 read(3, "#\n# /etc/nsswitch.conf: name ser"..., 4096) = 373 26007 read(3, "", 4096) = 0 26007 close(3) = 0 26007 munmap(0xb7ef6000, 4096) = 0 26007 open("/etc/ld.so.cache", O_RDONLY) = 3 26007 fstat64(3, {st_mode=S_IFREG|0644, st_size=10200, ...}) = 0 26007 mmap2(NULL, 10200, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ef4000 26007 close(3) = 0 26007 open("/lib/libnss_files.so.2", O_RDONLY) = 3 26007 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\33"..., 512) = 512 26007 fstat64(3, {st_mode=S_IFREG|0755, st_size=38768, ...}) = 0 26007 mmap2(NULL, 41624, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7dbd000 26007 mmap2(0xb7dc6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8) = 0xb7dc6000 26007 close(3) = 0 26007 munmap(0xb7ef4000, 10200) = 0 26007 open("/etc/group", O_RDONLY) = 3 26007 fcntl64(3, F_GETFD) = 0 26007 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 26007 fstat64(3, {st_mode=S_IFREG|0644, st_size=219, ...}) = 0 26007 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ef6000 26007 read(3, "root::0:root\nbin::1:root,bin,dae"..., 4096) = 219 26007 close(3) = 0 26007 munmap(0xb7ef6000, 4096) = 0 26007 stat64("/sbin/mount.smbfs", {st_mode=S_IFREG|0755, st_size=781856, ...}) = 0 26007 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7dc86f8) = 26008 26007 wait4(-1, <unfinished ...> 26008 getuid32() = 0 26008 setuid32(0) = 0 26008 getgid32() = 0 26008 setgid32(0) = 0 26008 execve("/sbin/mount.smbfs", ["/sbin/mount.smbfs", "//fsuser/grp", ".", "-n", "-o", "rw,nodev,uid=101,gid=100,usernam"...], [/* 16 vars */]) = 0 26008 uname({sys="Linux", node="butler", ...}) = 0 26008 brk(0) = 0x800d0000 26008 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 26008 open("/usr/lib/tls/i686/sse2/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) 26008 stat64("/usr/lib/tls/i686/sse2", 0xbff45a20) = -1 ENOENT (No such file or directory) 26008 open("/usr/lib/tls/i686/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) 26008 stat64("/usr/lib/tls/i686", 0xbff45a20) = -1 ENOENT (No such file or directory) 26008 open("/usr/lib/tls/sse2/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) 26008 stat64("/usr/lib/tls/sse2", 0xbff45a20) = -1 ENOENT (No such file or directory) 26008 open("/usr/lib/tls/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) 26008 stat64("/usr/lib/tls", 0xbff45a20) = -1 ENOENT (No such file or directory) 26008 open("/usr/lib/i686/sse2/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) 26008 stat64("/usr/lib/i686/sse2", 0xbff45a20) = -1 ENOENT (No such file or directory) 26008 open("/usr/lib/i686/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) 26008 stat64("/usr/lib/i686", 0xbff45a20) = -1 ENOENT (No such file or directory) 26008 open("/usr/lib/sse2/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) 26008 stat64("/usr/lib/sse2", 0xbff45a20) = -1 ENOENT (No such file or directory) 26008 open("/usr/lib/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) 26008 stat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=8192, ...}) = 0 26008 open("/etc/ld.so.cache", O_RDONLY) = 3 26008 fstat64(3, {st_mode=S_IFREG|0644, st_size=10200, ...}) = 0 26008 mmap2(NULL, 10200, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f30000 26008 close(3) = 0 26008 open("/lib/libcrypt.so.1", O_RDONLY) = 3 26008 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\10\0\000"..., 512) = 512 26008 fstat64(3, {st_mode=S_IFREG|0755, st_size=22092, ...}) = 0 26008 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f2f000 26008 mmap2(NULL, 184636, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f01000 26008 mmap2(0xb7f06000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4) = 0xb7f06000 26008 mmap2(0xb7f08000, 155964, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f08000 26008 close(3) = 0 26008 open("/usr/lib/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) 26008 open("/lib/libresolv.so.2", O_RDONLY) = 3 26008 read(3, "[EMAIL PROTECTED]"..., 512) = 512 26008 fstat64(3, {st_mode=S_IFREG|0755, st_size=59692, ...}) = 0 26008 mmap2(NULL, 71784, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7eef000 26008 mmap2(0xb7efd000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd) = 0xb7efd000 26008 mmap2(0xb7eff000, 6248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7eff000 26008 close(3) = 0 26008 open("/usr/lib/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) 26008 open("/lib/libnsl.so.1", O_RDONLY) = 3 26008 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\3405\0"..., 512) = 512 26008 fstat64(3, {st_mode=S_IFREG|0755, st_size=77844, ...}) = 0 26008 mmap2(NULL, 88096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ed9000 26008 mmap2(0xb7eeb000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11) = 0xb7eeb000 26008 mmap2(0xb7eed000, 6176, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7eed000 26008 close(3) = 0 26008 open("/usr/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) 26008 open("/lib/libdl.so.2", O_RDONLY) = 3 26008 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\f\0"..., 512) = 512 26008 fstat64(3, {st_mode=S_IFREG|0755, st_size=9944, ...}) = 0 26008 mmap2(NULL, 12404, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ed5000 26008 mmap2(0xb7ed7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7ed7000 26008 close(3) = 0 26008 open("/usr/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) 26008 open("/lib/libc.so.6", O_RDONLY) = 3 26008 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0O\1\000"..., 512) = 512 26008 fstat64(3, {st_mode=S_IFREG|0755, st_size=1195448, ...}) = 0 26008 mmap2(NULL, 1178588, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7db5000 26008 mmap2(0xb7ecf000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x119) = 0xb7ecf000 26008 mmap2(0xb7ed3000, 7132, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7ed3000 26008 close(3) = 0 26008 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7db4000 26008 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7db3000 26008 mprotect(0xb7ecf000, 4096, PROT_READ) = 0 26008 mprotect(0xb7f49000, 4096, PROT_READ) = 0 26008 set_thread_area({entry_number:-1 -> 6, base_addr:0xb7db36b0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 26008 munmap(0xb7f30000, 10200) = 0 26008 open("/usr/lib/samba/upcase.dat", O_RDONLY|O_LARGEFILE) = 3 26008 mmap2(NULL, 131072, PROT_READ, MAP_SHARED, 3, 0) = 0xb7d93000 26008 close(3) = 0 26008 open("/usr/lib/samba/lowcase.dat", O_RDONLY|O_LARGEFILE) = 3 26008 mmap2(NULL, 131072, PROT_READ, MAP_SHARED, 3, 0) = 0xb7d73000 26008 close(3) = 0 26008 brk(0) = 0x800d0000 26008 brk(0x800f1000) = 0x800f1000 26008 stat64("/etc/samba/smb.conf", {st_mode=S_IFREG|0644, st_size=9991, ...}) = 0 26008 uname({sys="Linux", node="butler", ...}) = 0 26008 open("/etc/samba/smb.conf", O_RDONLY|O_LARGEFILE) = 3 26008 fstat64(3, {st_mode=S_IFREG|0644, st_size=9991, ...}) = 0 26008 read(3, "# This is the main Samba configu"..., 9991) = 9991 26008 close(3) = 0 26008 open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = -1 ENOENT (No such file or directory) 26008 open("/usr/lib/gconv/gconv-modules", O_RDONLY) = 3 26008 fstat64(3, {st_mode=S_IFREG|0644, st_size=45568, ...}) = 0 26008 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f32000 26008 read(3, "# GNU libc iconv configuration.\n"..., 4096) = 4096 26008 read(3, "lias\tJS//\t\t\tJUS_I.B1.002//\nalias"..., 4096) = 4096 26008 read(3, "ule\tINTERNAL\t\tISO-8859-3//\t\tISO8"..., 4096) = 4096 26008 read(3, "lias\tISO-IR-199//\t\tISO-8859-14//"..., 4096) = 4096 26008 read(3, "\t\tto\t\t\tmodule\t\tcost\nalias\tCSEBCD"..., 4096) = 4096 26008 read(3, "ule\t\tcost\nalias\tCP284//\t\t\tIBM284"..., 4096) = 4096 26008 read(3, "lias\tCP864//\t\t\tIBM864//\nalias\t86"..., 4096) = 4096 26008 read(3, "module\tIBM937//\t\tINTERNAL\t\tIBM93"..., 4096) = 4096 26008 read(3, "\tEUC-JP//\nalias\tUJIS//\t\t\tEUC-JP/"..., 4096) = 4096 26008 read(3, "module\t\tcost\nalias\tISO-IR-143//\t"..., 4096) = 4096 26008 read(3, "-BOX//\nmodule\tISO_10367-BOX//\t\tI"..., 4096) = 4096 26008 read(3, "module\tINTERNAL\t\tEUC-JISX0213//\t"..., 4096) = 512 26008 read(3, "", 4096) = 0 26008 close(3) = 0 26008 munmap(0xb7f32000, 4096) = 0 26008 open("/usr/lib/gconv/UTF-16.so", O_RDONLY) = 3 26008 read(3, "[EMAIL PROTECTED]"..., 512) = 512 26008 fstat64(3, {st_mode=S_IFREG|0755, st_size=13640, ...}) = 0 26008 mmap2(NULL, 16424, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7d6e000 26008 mmap2(0xb7d71000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2) = 0xb7d71000 26008 close(3) = 0 26008 open("/usr/lib/gconv/IBM850.so", O_RDONLY) = 3 26008 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\4\0"..., 512) = 512 26008 fstat64(3, {st_mode=S_IFREG|0755, st_size=9532, ...}) = 0 26008 mmap2(NULL, 12324, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7d6a000 26008 mmap2(0xb7d6c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7d6c000 26008 close(3) = 0 26008 brk(0x80116000) = 0x80116000 26008 brk(0x8013c000) = 0x8013c000 26008 brk(0x80134000) = 0x80134000 26008 brk(0x80157000) = 0x80157000 26008 open("/usr/lib/samba/valid.dat", O_RDONLY|O_LARGEFILE) = 3 26008 mmap2(NULL, 65536, PROT_READ, MAP_SHARED, 3, 0) = 0xb7d5a000 26008 close(3) = 0 26008 write(2, ".: invalid option -- n\n", 23) = 23 26008 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3 26008 ioctl(3, SIOCGIFCONF, {160, {{"lo", {AF_INET, inet_addr("127.0.0.1")}}, {"eth0", {AF_INET, inet_addr("192.168.1.159")}}, {"eth0", {AF_INET, inet_addr("192.168.1.180")}}, {"eth0", {AF_INET, inet_addr("192.168.1.179")}}, {"eth0", {AF_INET, inet_addr("192.168.1.181")}}}}) = 0 26008 ioctl(3, SIOCGIFADDR, {ifr_name="eth0", ifr_addr={AF_INET, inet_addr("192.168.1.181")}}) = 0 26008 ioctl(3, SIOCGIFFLAGS, {ifr_name="eth0", ifr_flags=IFF_UP|IFF_BROADCAST|IFF_RUNNING|IFF_MULTICAST}) = 0 26008 ioctl(3, SIOCGIFNETMASK, {ifr_name="eth0", ifr_netmask={AF_INET, inet_addr("255.255.254.0")}}) = 0 26008 ioctl(3, SIOCGIFADDR, {ifr_name="eth0", ifr_addr={AF_INET, inet_addr("192.168.1.179")}}) = 0 26008 ioctl(3, SIOCGIFFLAGS, {ifr_name="eth0", ifr_flags=IFF_UP|IFF_BROADCAST|IFF_RUNNING|IFF_MULTICAST}) = 0 26008 ioctl(3, SIOCGIFNETMASK, {ifr_name="eth0", ifr_netmask={AF_INET, inet_addr("255.255.254.0")}}) = 0 26008 ioctl(3, SIOCGIFADDR, {ifr_name="eth0", ifr_addr={AF_INET, inet_addr("192.168.1.180")}}) = 0 26008 ioctl(3, SIOCGIFFLAGS, {ifr_name="eth0", ifr_flags=IFF_UP|IFF_BROADCAST|IFF_RUNNING|IFF_MULTICAST}) = 0 26008 ioctl(3, SIOCGIFNETMASK, {ifr_name="eth0", ifr_netmask={AF_INET, inet_addr("255.255.254.0")}}) = 0 26008 ioctl(3, SIOCGIFADDR, {ifr_name="eth0", ifr_addr={AF_INET, inet_addr("192.168.1.159")}}) = 0 26008 ioctl(3, SIOCGIFFLAGS, {ifr_name="eth0", ifr_flags=IFF_UP|IFF_BROADCAST|IFF_RUNNING|IFF_MULTICAST}) = 0 26008 ioctl(3, SIOCGIFNETMASK, {ifr_name="eth0", ifr_netmask={AF_INET, inet_addr("255.255.254.0")}}) = 0 26008 ioctl(3, SIOCGIFADDR, {ifr_name="lo", ifr_addr={AF_INET, inet_addr("127.0.0.1")}}) = 0 26008 ioctl(3, SIOCGIFFLAGS, {ifr_name="lo", ifr_flags=IFF_UP|IFF_LOOPBACK|IFF_RUNNING}) = 0 26008 ioctl(3, SIOCGIFNETMASK, {ifr_name="lo", ifr_netmask={AF_INET, inet_addr("255.0.0.0")}}) = 0 26008 close(3) = 0 26008 getcwd("/vservers/vmessdb/home/messdb/fsuser", 4096) = 37 26008 geteuid32() = 0 26008 getuid32() = 0 26008 getpid() = 26008 26008 brk(0x80180000) = 0x80180000 26008 open("/var/run/samba/gencache.tdb", O_RDWR|O_CREAT|O_LARGEFILE, 0644) = 3 26008 fcntl64(3, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=0, len=1}, 0xbff43264) = 0 26008 read(3, "TDB file\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 168) = 168 26008 fstat64(3, {st_mode=S_IFREG|0644, st_size=8192, ...}) = 0 26008 mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_SHARED, 3, 0) = 0xb7f31000 26008 fcntl64(3, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=0, len=1}, 0xbff43264) = 0 26008 fcntl64(3, F_SETLKW64, {type=F_RDLCK, whence=SEEK_SET, start=184, len=1}, 0xbff43264) = 0 26008 fcntl64(3, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=184, len=1}, 0xbff43294) = 0 26008 time(NULL) = 1151042758 26008 fcntl64(3, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=184, len=1}, 0xbff43284) = 0 26008 fcntl64(3, F_SETLK64, {type=F_WRLCK, whence=SEEK_SET, start=772, len=1}, 0xbff432b4) = 0 26008 fcntl64(3, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=772, len=1}, 0xbff432b4) = 0 26008 fcntl64(3, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=164, len=1}, 0xbff43214) = 0 26008 fcntl64(3, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=164, len=1}, 0xbff43214) = 0 26008 fcntl64(3, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=184, len=1}, 0xbff432b4) = 0 26008 open("/etc/samba/lmhosts", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) 26008 gettimeofday({1151042758, 759831}, NULL) = 0 26008 open("/etc/resolv.conf", O_RDONLY) = 4 26008 fstat64(4, {st_mode=S_IFREG|0644, st_size=136, ...}) = 0 26008 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f30000 26008 read(4, "#\n# /etc/resolv.conf: resolver c"..., 4096) = 136 26008 read(4, "", 4096) = 0 26008 close(4) = 0 26008 munmap(0xb7f30000, 4096) = 0 26008 socket(PF_FILE, SOCK_STREAM, 0) = 4 26008 fcntl64(4, F_GETFL) = 0x2 (flags O_RDWR) 26008 fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0 26008 connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) 26008 close(4) = 0 26008 socket(PF_FILE, SOCK_STREAM, 0) = 4 26008 fcntl64(4, F_GETFL) = 0x2 (flags O_RDWR) 26008 fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0 26008 connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) 26008 close(4) = 0 26008 open("/etc/nsswitch.conf", O_RDONLY) = 4 26008 fstat64(4, {st_mode=S_IFREG|0644, st_size=373, ...}) = 0 26008 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f30000 26008 read(4, "#\n# /etc/nsswitch.conf: name ser"..., 4096) = 373 26008 read(4, "", 4096) = 0 26008 close(4) = 0 26008 munmap(0xb7f30000, 4096) = 0 26008 open("/usr/lib/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) 26008 open("/etc/ld.so.cache", O_RDONLY) = 4 26008 fstat64(4, {st_mode=S_IFREG|0644, st_size=10200, ...}) = 0 26008 mmap2(NULL, 10200, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb7d57000 26008 close(4) = 0 26008 open("/lib/libnss_files.so.2", O_RDONLY) = 4 26008 read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\33"..., 512) = 512 26008 fstat64(4, {st_mode=S_IFREG|0755, st_size=38768, ...}) = 0 26008 mmap2(NULL, 41624, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb7d4c000 26008 mmap2(0xb7d55000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x8) = 0xb7d55000 26008 close(4) = 0 26008 munmap(0xb7d57000, 10200) = 0 26008 open("/etc/host.conf", O_RDONLY) = 4 26008 fstat64(4, {st_mode=S_IFREG|0644, st_size=92, ...}) = 0 26008 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f30000 26008 read(4, "#\n# /etc/host.conf: resolver con"..., 4096) = 92 26008 read(4, "", 4096) = 0 26008 close(4) = 0 26008 munmap(0xb7f30000, 4096) = 0 26008 open("/etc/hosts", O_RDONLY) = 4 26008 fcntl64(4, F_GETFD) = 0 26008 fcntl64(4, F_SETFD, FD_CLOEXEC) = 0 26008 fstat64(4, {st_mode=S_IFREG|0644, st_size=298, ...}) = 0 26008 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f30000 26008 read(4, "#\n# /etc/hosts: static lookup ta"..., 4096) = 298 26008 read(4, "", 4096) = 0 26008 close(4) = 0 26008 munmap(0xb7f30000, 4096) = 0 26008 open("/usr/lib/libnss_dns.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) 26008 open("/etc/ld.so.cache", O_RDONLY) = 4 26008 fstat64(4, {st_mode=S_IFREG|0644, st_size=10200, ...}) = 0 26008 mmap2(NULL, 10200, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb7d57000 26008 close(4) = 0 26008 open("/lib/libnss_dns.so.2", O_RDONLY) = 4 26008 read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\r\0"..., 512) = 512 26008 fstat64(4, {st_mode=S_IFREG|0755, st_size=18012, ...}) = 0 26008 mmap2(NULL, 20616, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb7d46000 26008 mmap2(0xb7d4a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x3) = 0xb7d4a000 26008 close(4) = 0 26008 munmap(0xb7d57000, 10200) = 0 26008 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4 26008 connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.1.164")}, 28) = 0 26008 fcntl64(4, F_GETFL) = 0x2 (flags O_RDWR) 26008 fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0 26008 gettimeofday({1151042758, 762489}, NULL) = 0 26008 poll([{fd=4, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1 26008 send(4, "yI\1\0\0\1\0\0\0\0\0\0\6fsuser\7dbaudio\3com\0"..., 36, 0) = 36 26008 poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, 5000) = 1 26008 ioctl(4, FIONREAD, [85]) = 0 26008 recvfrom(4, "yI\205\200\0\1\0\2\0\1\0\0\6fsuser\7dbaudio\3com\0"..., 1024, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.1.164")}, [16]) = 85 26008 close(4) = 0 26008 time(NULL) = 1151042758 26008 fcntl64(3, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=184, len=1}, 0xbff43254) = 0 26008 fcntl64(3, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=164, len=1}, 0xbff42db4) = 0 26008 fcntl64(3, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=164, len=1}, 0xbff42db4) = 0 26008 fcntl64(3, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=184, len=1}, 0xbff43254) = 0 26008 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 4 26008 fcntl64(4, F_GETFL) = 0x2 (flags O_RDWR) 26008 fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0 26008 connect(4, {sa_family=AF_INET, sin_port=htons(445), sin_addr=inet_addr("192.168.1.164")}, 16) = -1 EINPROGRESS (Operation now in progress) 26008 nanosleep({0, 10000000}, {0, 10000000}) = 0 26008 connect(4, {sa_family=AF_INET, sin_port=htons(445), sin_addr=inet_addr("192.168.1.164")}, 16) = 0 26008 fcntl64(4, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK) 26008 fcntl64(4, F_SETFL, O_RDWR) = 0 26008 setsockopt(4, SOL_TCP, TCP_NODELAY, [1], 4) = 0 26008 write(4, "\0\0\0\263\377SMBr\0\0\0\0\10\1\320\0\0\0\0\0\0\0\0\0\0"..., 183) = 183 26008 gettimeofday({1151042758, 776799}, NULL) = 0 26008 select(5, [4], NULL, NULL, {20, 0}) = 1 (in [4], left {19, 996000}) 26008 read(4, "\0\0\0]", 4) = 4 26008 gettimeofday({1151042758, 777311}, NULL) = 0 26008 select(5, [4], NULL, NULL, {20, 0}) = 1 (in [4], left {20, 0}) 26008 read(4, "\377SMBr\0\0\0\0\210\1\300\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 93) = 93 26008 mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d25000 26008 rt_sigaction(SIGINT, {0x800620a0, [INT], SA_RESTART}, {SIG_DFL}, 8) = 0 26008 open("/dev/tty", O_RDWR|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 6 26008 ioctl(6, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 26008 ioctl(6, SNDCTL_TMR_CONTINUE or TCSETSF, {B38400 opost isig icanon -echo ...}) = 0 26008 write(6, "Password: ", 10) = 10 26008 read(6, "\n", 1) = 1 26008 ioctl(6, SNDCTL_TMR_START or TCSETS, {B38400 opost isig icanon echo ...}) = 0 26008 write(6, "\n", 1) = 1 26008 close(6) = 0 26008 rt_sigaction(SIGINT, {SIG_DFL}, {0x800620a0, [INT], SA_RESTART}, 8) = 0 26008 write(4, "\0\0\0U\377SMBs\0\0\0\0\10\1\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 89) = 89 26008 gettimeofday({1151042759, 794489}, NULL) = 0 26008 select(5, [4], NULL, NULL, {20, 0}) = 1 (in [4], left {20, 0}) 26008 read(4, "\0\0\0#", 4) = 4 26008 gettimeofday({1151042759, 795225}, NULL) = 0 26008 select(5, [4], NULL, NULL, {20, 0}) = 1 (in [4], left {20, 0}) 26008 read(4, "\377SMBs\1\0\5\0\210\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\230"..., 35) = 35 26008 write(4, "\0\0\0J\377SMBs\0\0\0\0\10\1\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 78) = 78 26008 gettimeofday({1151042759, 795397}, NULL) = 0 26008 select(5, [4], NULL, NULL, {20, 0}) = 1 (in [4], left {20, 0}) 26008 read(4, "\0\0\0D", 4) = 4 26008 gettimeofday({1151042759, 795715}, NULL) = 0 26008 select(5, [4], NULL, NULL, {20, 0}) = 1 (in [4], left {20, 0}) 26008 read(4, "\377SMBs\0\0\0\0\210\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\230"..., 68) = 68 26008 write(1, "Anonymous login successful\n", 27) = 27 26008 write(4, "\0\0\0?\377SMBu\0\0\0\0\10\1\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 67) = 67 26008 gettimeofday({1151042759, 795965}, NULL) = 0 26008 select(5, [4], NULL, NULL, {20, 0}) = 1 (in [4], left {20, 0}) 26008 read(4, "\0\0\0#", 4) = 4 26008 gettimeofday({1151042759, 796148}, NULL) = 0 26008 select(5, [4], NULL, NULL, {20, 0}) = 1 (in [4], left {20, 0}) 26008 read(4, "\377SMBu\1\0\5\0\210\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\230"..., 35) = 35 26008 write(1, "26008: tree connect failed: ERRD"..., 66) = 66 26008 munmap(0xb7d25000, 135168) = 0 26008 close(4) = 0 26008 write(2, "SMB connection failed\n", 22) = 22 26008 exit_group(1) = ? 26007 <... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 26008 26007 --- SIGCHLD (Child exited) @ 0 (0) --- 26007 exit_group(1) = ? 26006 <... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 26007 26006 --- SIGCHLD (Child exited) @ 0 (0) --- 26006 write(2, "/etc/vservers/vmessdb/fstab.remo"..., 34) = 34 26006 write(2, ":2:1", 4) = 4 26006 write(2, ": failed to mount fstab-entry\n", 30) = 30 26006 close(5) = 0 26006 _exit(0) = ? I hope, somebody can help me and pinpoint the problem. I can't imagine that smb should not do within a guest. :-( Thanks Falk -- [EMAIL PROTECTED] chown linux.users /world _______________________________________________ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver