On Fri, Feb 15, 2008 at 07:16:12PM -0500, Michael Stone wrote:
> Could you send an strace from one of the non-working systems? That might
> be enough to figure out what's going wrong and whether it can be worked
> around.
Attached.
... Adam
execve("/bin/rm", ["rm", "-rf", "foo/"], [/* 12 vars */]) = 0
brk(0) = 0x8054000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7fd5000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=7012, ...}) = 0
mmap2(NULL, 7012, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fd3000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/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\260e\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1274092, ...}) = 0
mmap2(NULL, 1279600, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7e9a000
mmap2(0xb7fcd000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x133) = 0xb7fcd000
mmap2(0xb7fd0000, 9840, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7fd0000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7e99000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7e996b0, limit:1048575,
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0,
useable:1}) = 0
mprotect(0xb7fcd000, 4096, PROT_READ) = 0
munmap(0xb7fd3000, 7012) = 0
brk(0) = 0x8054000
brk(0x8075000) = 0x8075000
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
lstat64("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fstatat64(AT_FDCWD, "foo/", 0xbfdee29c, AT_SYMLINK_NOFOLLOW) = -1 ENOSYS
(Function not implemented)
lstat64("foo/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
unlink("foo/") = -1 EISDIR (Is a directory)
open("foo/", O_RDONLY|O_NOCTTY|O_NONBLOCK|O_LARGEFILE|O_NOFOLLOW) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fstat64(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl64(3, F_GETFL) = 0x28800 (flags
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_NOFOLLOW)
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
getdents64(3, /* 3 entries */, 4096) = 72
open("/proc/self/fd/3/bar",
O_RDONLY|O_NOCTTY|O_NONBLOCK|O_LARGEFILE|O_NOFOLLOW) = -1 ENOENT (No such file
or directory)
fstat64(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/proc/self/fd", 0xbfdedff0) = -1 ENOENT (No such file or directory)
rmdir("/proc/self/fd/3/bar") = -1 ENOENT (No such file or directory)
fstat64(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/proc/self/fd", 0xbfdee050) = -1 ENOENT (No such file or directory)
write(2, "rm: ", 4rm: ) = 4
write(2, "cannot remove `foo/bar\'", 23cannot remove `foo/bar') = 23
write(2, ": Function not implemented", 26: Function not implemented) = 26
write(2, "\n", 1
) = 1
getdents64(3, /* 0 entries */, 4096) = 0
fcntl64(3, F_GETFD) = 0x1 (flags FD_CLOEXEC)
close(3) = 0
close(0) = 0
close(1) = 0
close(2) = 0
exit_group(1) = ?
Process 23930 detached