Bug 762111 (GLUSTER-379) - gluster client cannot list gluster mount
Summary: gluster client cannot list gluster mount
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-379
Product: GlusterFS
Classification: Community
Component: core
Version: 2.0.6
Hardware: x86_64
OS: Linux
low
high
Target Milestone: ---
Assignee: Anand Avati
QA Contact:
URL: http://ubuntuforums.org/showthread.ph...
Whiteboard:
Depends On:
Blocks: GLUSTER-386
TreeView+ depends on / blocked
 
Reported: 2009-11-13 11:46 UTC by Riaan
Modified: 2015-09-01 23:04 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Riaan 2009-11-13 11:46:18 UTC
I have 4 gluster (2.0.6-1.el5) nodes, cluster/replicate 2x2 & cluster/distribute 2

I have a Xen VM who's Image is hosted on the GlusterFS, 
Inside the VM I installed glusterfs (2.0.8-1) 

#/etc/fstab
/etc/glusterfs/glusterfs.vol  /mnt  glusterfs  defaults,direct-io-mode=disable  0  0

#grep gluster /proc/mounts 
glusterfs#/etc/glusterfs/glusterfs.vol /mnt fuse rw,user_id=0,group_id=0,default_permissions,allow_other,max_read=131072 0 0

#ls /mnt/ 
this command hangs .. strace reports, 
lstat("/opt/viamedia/mnt/ools", 0x2ae537bf4858) = -1 ENOENT (No such file or directory)
getdents(3, /* 1 entries */, 32768)     = 24
lstat("/opt/viamedia/mnt/ools", 0x2ae537bf4918) = -1 ENOENT (No such file or directory)
getdents(3, /* 1 entries */, 32768)     = 24
lstat("/opt/viamedia/mnt/ools", 0x2ae537bf49d8) = -1 ENOENT (No such file or directory)
getdents(3, /* 1 entries */, 32768)     = 24
lstat("/opt/viamedia/mnt/ools", 0x2ae537bf4a98) = -1 ENOENT (No such file or directory)

###############

Then inside the VM I unmount glusterfs, uninstall it, installe glusterfs (2.0.7-1) 

#mount -a

now I can use the glusterfs within the VM

#ls /mnt
tools  vm

see with (2.0.8-1) it reported ools not found, ools, does not exist but tools does, 

I hope this helps, If you need any info, please let me know and I'll gladly test it for you, 

Have a great weekend, Riaan

Comment 1 Vijay Bellur 2009-11-13 15:08:46 UTC
Hi Riaan,

Can you please provide the client and server log files that you had when the problem was noticed?

Thanks,
Vijay

Comment 2 Riaan 2009-11-14 07:58:07 UTC
(In reply to comment #1)
> Hi Riaan,
> 
> Can you please provide the client and server log files that you had when the
> problem was noticed?
> 
> Thanks,
> Vijay

Hallo, sure, 

# rpm -qa | grep gluster
glusterfs-client-2.0.8-1
glusterfs-common-2.0.8-1
glusterfs-server-2.0.8-1

#glusterfs-client
# mount -a && tail -f /var/log/glusterfs/opt-mnt.log
[2009-11-14 12:32:39] N [client-protocol.c:5733:client_setvolume_cbk] node3: Connected to 192.168.13.22:6996, attached to remote volume 'brick'.
[2009-11-14 12:32:39] N [afr.c:2194:notify] replicate2: Subvolume 'node3' came back up; going online.
[2009-11-14 12:32:39] N [client-protocol.c:5733:client_setvolume_cbk] node4: Connected to 192.168.13.23:6996, attached to remote volume 'brick'.
[2009-11-14 12:32:39] N [client-protocol.c:5733:client_setvolume_cbk] node1: Connected to 192.168.13.20:6996, attached to remote volume 'brick'.
[2009-11-14 12:32:39] N [afr.c:2194:notify] replicate1: Subvolume 'node1' came back up; going online.
[2009-11-14 12:32:39] N [client-protocol.c:5733:client_setvolume_cbk] node4: Connected to 192.168.13.23:6996, attached to remote volume 'brick'.
[2009-11-14 12:32:39] N [client-protocol.c:5733:client_setvolume_cbk] node3: Connected to 192.168.13.22:6996, attached to remote volume 'brick'.
[2009-11-14 12:32:39] N [client-protocol.c:5733:client_setvolume_cbk] node2: Connected to 192.168.13.21:6996, attached to remote volume 'brick'.
[2009-11-14 12:32:39] N [client-protocol.c:5733:client_setvolume_cbk] node2: Connected to 192.168.13.21:6996, attached to remote volume 'brick'.
[2009-11-14 12:32:39] N [client-protocol.c:5733:client_setvolume_cbk] node1: Connected to 192.168.13.20:6996, attached to remote volume 'brick'.

#glusterfs-client
# grep gluster /proc/mounts 
glusterfs#/etc/glusterfs/glusterfs.vol /opt/mnt fuse rw,user_id=0,group_id=0,default_permissions,allow_other,max_read=131072 0 0

#glusterfs-client info
at this stage everything appears fine, mount says reports the size of the gluster volume
# df -h | grep -A2 gluster
glusterfs#/etc/glusterfs/glusterfs.vol
                      876G  498G  369G  58% /opt/mnt

but when i try to do an ls -la /opt/mnt the shell hangs, logged in on another shell, top says gluster use 27% CPU, 

 # strace ls /opt/mnt/ | less
I get this, many of them.
nect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 110) = -1 ENOENT (No such file or directory)
close(3)                                = 0
open("/etc/nsswitch.conf", O_RDONLY)    = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1696, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ae3fa26b000
read(3, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1696
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x2ae3fa26b000, 4096)            = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=24108, ...}) = 0
mmap(NULL, 24108, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2ae3fa26b000
close(3)                                = 0
open("/lib64/libnss_files.so.2", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\37\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=53880, ...}) = 0
mmap(NULL, 2139432, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ae3fa271000
mprotect(0x2ae3fa27b000, 2093056, PROT_NONE) = 0
mmap(0x2ae3fa47a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9000) = 0x2ae3fa47a000
close(3)                                = 0
mprotect(0x2ae3fa47a000, 4096, PROT_READ) = 0
munmap(0x2ae3fa26b000, 24108)           = 0
open("/etc/passwd", O_RDONLY)           = 3
fcntl(3, F_GETFD)                       = 0
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=1432, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ae3fa26b000
read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1432
close(3)                                = 0
munmap(0x2ae3fa26b000, 4096)            = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 3
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 110) = -1 ENOENT (No such file or directory)
close(3)                                = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 3
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 110) = -1 ENOENT (No such file or directory)
close(3)                                = 0
open("/etc/group", O_RDONLY)            = 3
fcntl(3, F_GETFD)                       = 0
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=630, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ae3fa26b000
read(3, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 630
close(3)                                = 0
munmap(0x2ae3fa26b000, 4096)            = 0
open("/opt/mnt/", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 3
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
getdents(3, /* 3 entries */, 32768)     = 72
getdents(3, /* 1 entries */, 32768)     = 32
getdents(3, /* 2 entries */, 32768)     = 48
getdents(3, /* 1 entries */, 32768)     = 24
getdents(3, /* 1 entries */, 32768)     = 24
getdents(3, /* 1 entries */, 32768)     = 24
getdents(3, /* 1 entries */, 32768)     = 24
getdents(3, /* 1 entries */, 32768)     = 24
getdents(3, /* 1 entries */, 32768)     = 24
getdents(3, /* 1 entries */, 32768)     = 24
getdents(3, /* 1 entries */, 32768)     = 24
getdents(3, /* 1 entries */, 32768)     = 24
getdents(3, /* 1 entries */, 32768)     = 24
getdents(3, /* 1 entries */, 32768)     = 24
getdents(3, /* 1 entries */, 32768)     = 24
getdents(3, /* 1 entries */, 32768)     = 24
getdents(3, /* 1 entries */, 32768)     = 24
getdents(3, /* 1 entries */, 32768)     = 24
getdents(3, /* 1 entries */, 32768)     = 24
getdents(3, /* 1 entries */, 32768)     = 24
getdents(3, /* 1 entries */, 32768)     = 24
...

#glusterfs-server 
[2009-11-14 12:32:38] N [server-protocol.c:7056:mop_setvolume] server: accepted client from 192.168.13.182:1022
[2009-11-14 12:32:38] N [server-protocol.c:7056:mop_setvolume] server: accepted client from 192.168.13.182:1023

#glusterfs-server
# rpm -qa | grep gluster
glusterfs-devel-2.0.6-1.el5
glusterfs-common-2.0.6-1.el5
glusterfs-server-2.0.6-1.el5
glusterfs-client-2.0.6-1.el5

when I install version 2.0.7-1 on the client
# rpm -qa | grep glusterfs
glusterfs-client-2.0.7-1
glusterfs-common-2.0.7-1
glusterfs-server-2.0.7-1

I can do an ls on the volume, whereas with the latest version i could not, strace on the client with version 2.0.7-1
# strace ls -la /opt/mnt/
execve("/bin/ls", ["ls", "-la", "/opt/mnt/"], [/* 21 vars */]) = 0
brk(0)                                  = 0x18095000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ae988160000
uname({sys="Linux", node="x64-nix-drone001", ...}) = 0
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=24108, ...}) = 0
mmap(NULL, 24108, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2ae988161000
close(3)                                = 0
open("/lib64/librt.so.1", O_RDONLY)     = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \"\200a7\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=53448, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ae988167000
mmap(0x3761800000, 2132936, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3761800000
mprotect(0x3761807000, 2097152, PROT_NONE) = 0
mmap(0x3761a07000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x3761a07000
close(3)                                = 0
open("/lib64/libacl.so.1", O_RDONLY)    = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\31@a7\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=28008, ...}) = 0
mmap(0x3761400000, 2120992, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3761400000
mprotect(0x3761406000, 2093056, PROT_NONE) = 0
mmap(0x3761605000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x3761605000
close(3)                                = 0
open("/lib64/libselinux.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`E\0a7\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=95464, ...}) = 0
mmap(0x3761000000, 2192784, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3761000000
mprotect(0x3761015000, 2097152, PROT_NONE) = 0
mmap(0x3761215000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x3761215000
mmap(0x3761217000, 1424, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3761217000
close(3)                                = 0
open("/lib64/libc.so.6", O_RDONLY)      = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\332\1`7\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1717800, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ae988168000
mmap(0x3760000000, 3498328, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3760000000
mprotect(0x376014d000, 2097152, PROT_NONE) = 0
mmap(0x376034d000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14d000) = 0x376034d000
mmap(0x3760352000, 16728, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3760352000
close(3)                                = 0
open("/lib64/libpthread.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220W\200`7\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=145824, ...}) = 0
mmap(0x3760800000, 2204528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3760800000
mprotect(0x3760816000, 2093056, PROT_NONE) = 0
mmap(0x3760a15000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x3760a15000
mmap(0x3760a17000, 13168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3760a17000
close(3)                                = 0
open("/lib64/libattr.so.1", O_RDONLY)   = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\17\300a7\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=17888, ...}) = 0
mmap(0x3761c00000, 2110728, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3761c00000
mprotect(0x3761c04000, 2093056, PROT_NONE) = 0
mmap(0x3761e03000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x3761e03000
close(3)                                = 0
open("/lib64/libdl.so.2", O_RDONLY)     = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\16@`7\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=23360, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ae988169000
mmap(0x3760400000, 2109696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3760400000
mprotect(0x3760402000, 2097152, PROT_NONE) = 0
mmap(0x3760602000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x3760602000
close(3)                                = 0
open("/lib64/libsepol.so.1", O_RDONLY)  = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0=\300`7\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=247496, ...}) = 0
mmap(0x3760c00000, 2383136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3760c00000
mprotect(0x3760c3b000, 2097152, PROT_NONE) = 0
mmap(0x3760e3b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3b000) = 0x3760e3b000
mmap(0x3760e3c000, 40224, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3760e3c000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ae98816a000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ae98816b000
arch_prctl(ARCH_SET_FS, 0x2ae98816ac50) = 0
mprotect(0x3761a07000, 4096, PROT_READ) = 0
mprotect(0x376034d000, 16384, PROT_READ) = 0
mprotect(0x3760a15000, 4096, PROT_READ) = 0
mprotect(0x375fe1b000, 4096, PROT_READ) = 0
mprotect(0x3760602000, 4096, PROT_READ) = 0
munmap(0x2ae988161000, 24108)           = 0
set_tid_address(0x2ae98816ace0)         = 28464
set_robust_list(0x2ae98816acf0, 0x18)   = 0
futex(0x7fff5f609b6c, FUTEX_WAKE_PRIVATE, 1) = 0
rt_sigaction(SIGRTMIN, {0x3760805370, [], SA_RESTORER|SA_SIGINFO, 0x376080e7c0}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x37608052b0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x376080e7c0}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=10240*1024, rlim_max=RLIM_INFINITY}) = 0
access("/etc/selinux/", F_OK)           = 0
brk(0)                                  = 0x18095000
brk(0x180b6000)                         = 0x180b6000
open("/etc/selinux/config", O_RDONLY)   = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=58, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ae988161000
read(3, "# Managed by Puppet\nSELINUX=disa"..., 4096) = 58
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x2ae988161000, 4096)            = 0
open("/proc/mounts", O_RDONLY)          = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ae988161000
read(3, "rootfs / rootfs rw 0 0\n/dev/root"..., 4096) = 685
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x2ae988161000, 4096)            = 0
open("/usr/lib/locale/locale-archive", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=56471200, ...}) = 0
mmap(NULL, 56471200, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2ae98816c000
close(3)                                = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TIOCGWINSZ, {ws_row=41, ws_col=157, ws_xpixel=0, ws_ypixel=0}) = 0
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2528, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ae98b747000
read(3, "# Locale name alias data base.\n#"..., 4096) = 2528
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x2ae98b747000, 4096)            = 0
open("/usr/share/locale/en_US.UTF-8/LC_TIME/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US.utf8/LC_TIME/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_TIME/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.UTF-8/LC_TIME/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.utf8/LC_TIME/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_TIME/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
lstat("/opt/mnt/", {st_mode=S_IFDIR|0755, st_size=8192, ...}) = 0
getxattr("/opt/mnt/", "system.posix_acl_access", 0x0, 0) = -1 ENODATA (No data available)
getxattr("/opt/mnt/", "system.posix_acl_default", 0x0, 0) = -1 ENODATA (No data available)
socket(PF_FILE, SOCK_STREAM, 0)         = 3
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 110) = -1 ENOENT (No such file or directory)
close(3)                                = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 3
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 110) = -1 ENOENT (No such file or directory)
close(3)                                = 0
open("/etc/nsswitch.conf", O_RDONLY)    = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1696, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ae98b747000
read(3, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1696
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x2ae98b747000, 4096)            = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=24108, ...}) = 0
mmap(NULL, 24108, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2ae98b747000
close(3)                                = 0
open("/lib64/libnss_files.so.2", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\37\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=53880, ...}) = 0
mmap(NULL, 2139432, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ae98b74d000
mprotect(0x2ae98b757000, 2093056, PROT_NONE) = 0
mmap(0x2ae98b956000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9000) = 0x2ae98b956000
close(3)                                = 0
mprotect(0x2ae98b956000, 4096, PROT_READ) = 0
munmap(0x2ae98b747000, 24108)           = 0
open("/etc/passwd", O_RDONLY)           = 3
fcntl(3, F_GETFD)                       = 0
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=1432, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ae98b747000
read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1432
close(3)                                = 0
munmap(0x2ae98b747000, 4096)            = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 3
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 110) = -1 ENOENT (No such file or directory)
close(3)                                = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 3
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 110) = -1 ENOENT (No such file or directory)
close(3)                                = 0
open("/etc/group", O_RDONLY)            = 3
fcntl(3, F_GETFD)                       = 0
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=630, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ae98b747000
read(3, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 630
close(3)                                = 0
munmap(0x2ae98b747000, 4096)            = 0
open("/opt/mnt/", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 3
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
getdents(3, /* 4 entries */, 32768)     = 104
lstat("/opt/mnt/..", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getxattr("/opt/mnt/..", "system.posix_acl_access", 0x0, 0) = -1 ENODATA (No data available)
getxattr("/opt/mnt/..", "system.posix_acl_default", 0x0, 0) = -1 ENODATA (No data available)
lstat("/opt/mnt/vm", {st_mode=S_IFDIR|0755, st_size=8192, ...}) = 0
getxattr("/opt/mnt/vm", "system.posix_acl_access", 0x0, 0) = -1 ENODATA (No data available)
getxattr("/opt/mnt/vm", "system.posix_acl_default", 0x0, 0) = -1 ENODATA (No data available)
lstat("/opt/mnt/tools", {st_mode=S_IFDIR|0755, st_size=8192, ...}) = 0
getxattr("/opt/mnt/tools", "system.posix_acl_access", 0x0, 0) = -1 ENODATA (No data available)
getxattr("/opt/mnt/tools", "system.posix_acl_default", 0x0, 0) = -1 ENODATA (No data available)
lstat("/opt/mnt/.", {st_mode=S_IFDIR|0755, st_size=8192, ...}) = 0
getxattr("/opt/mnt/.", "system.posix_acl_access", 0x0, 0) = -1 ENODATA (No data available)
getxattr("/opt/mnt/.", "system.posix_acl_default", 0x0, 0) = -1 ENODATA (No data available)
getdents(3, /* 0 entries */, 32768)     = 0
close(3)                                = 0
open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ae98b747000
write(1, "total 52\n", 9total 52
)               = 9
open("/etc/localtime", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=245, ...}) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=245, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ae98b748000
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\3\0\0\0\3\0\0\0\0"..., 4096) = 245
lseek(3, -147, SEEK_CUR)                = 98
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\0"..., 4096) = 147
close(3)                                = 0
munmap(0x2ae98b748000, 4096)            = 0
clock_gettime(CLOCK_REALTIME, {1258196065, 255949000}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=245, ...}) = 0
write(1, "drwxr-xr-x  4 root root 8192 Sep"..., 44drwxr-xr-x  4 root root 8192 Sep  9 10:45 .
) = 44
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=245, ...}) = 0
write(1, "drwxr-xr-x  3 root root 4096 Nov"..., 45drwxr-xr-x  3 root root 4096 Nov 12 11:56 ..
) = 45
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=245, ...}) = 0
write(1, "drwxr-xr-x  4 root root 8192 Oct"..., 48drwxr-xr-x  4 root root 8192 Oct 13 10:54 tools
) = 48
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=245, ...}) = 0
write(1, "drwxr-xr-x 32 root root 8192 Nov"..., 45drwxr-xr-x 32 root root 8192 Nov  3 13:45 vm
) = 45
close(1)                                = 0
munmap(0x2ae98b747000, 4096)            = 0
exit_group(0)                           = ?

Thank you for your time, it's a great project

Comment 3 Vijay Bellur 2009-12-02 14:58:48 UTC
We have reverted a problematic patch which would cause this. This is fixed in 2.0.9rc2 and mainline. Hence marking this as resolved. Thanks for reporting this!


Note You need to log in before you can comment on or make changes to this bug.