On Monday November 9 2009 18:47:30 you wrote: > Dj YB wrote: > >> # strace -u foo -f su - > > > > wow that was incredibly long output > > > > the important line was about 1023 times repeating > > > > [pid 24172] close(3) = 0 > > [pid 24172] close(4) = 0 > > [pid 24172] close(5) = -1 (EBADF) bad file descriptor > > [pid 24172] close(6) = -1 (EBADF) bad file descriptor > > [pid 24172] close(7) = -1 (EBADF) bad file descriptor > > [pid 24172] close(8) = -1 (EBADF) bad file descriptor > > ... > > [pid 24172] close(1023) = -1 (EBADF) bad file descriptor > > > > that was before and after the password entering step. > > any idea what to do next? > > it seems like a filesystem problem > > No, that is not a significant part. > This is just a new process starting and doing a "let me close > every file descriptor they passed me" function. > It actually closes only 3 and 4 as the others are not > opened (closing them fails because they are simply not open). > > Your problem is somewhere else. > Try to see what happens before the access denied message. > thanks i found some lines that look suspicious 8854 open("/etc/shadow", O_RDONLY|O_CLOEXEC) = -1 EACCES (Permission denied) and this are the last lines, I really don't know where to look, I can't tell what line indicate a failure... ... 8843 getuid32() = 500 8843 close(4) = 0 8843 munmap(0x5ad000, 6256) = 0 8843 munmap(0x110000, 14844) = 0 8843 munmap(0xf31000, 100768) = 0 8843 munmap(0xd40000, 121836) = 0 8843 munmap(0x7f0d000, 108520) = 0 8843 munmap(0x114000, 12716) = 0 8843 munmap(0x958000, 5972) = 0 8843 munmap(0xf6b000, 7912) = 0 8843 munmap(0x3ab000, 6264) = 0 8843 munmap(0x4fd000, 12684) = 0 8843 munmap(0xd84000, 196956) = 0 8843 munmap(0xa98000, 294732) = 0 8843 munmap(0x118000, 46784) = 0 8843 munmap(0x1ce000, 4456) = 0 8843 munmap(0x124000, 15776) = 0 8843 munmap(0x6c6000, 15736) = 0 8843 open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory) 8843 open("/usr/share/locale/en_US.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory) 8843 open("/usr/share/locale/en_US/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory) 8843 open("/usr/share/locale/en.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory) 8843 open("/usr/share/locale/en.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory) 8843 open("/usr/share/locale/en/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory) 8843 write(2, "su: "..., 4) = 4 8843 write(2, "incorrect password"..., 18) = 18 8843 write(2, "\n"..., 1) = 1 8843 close(1) = 0 8843 close(2) = 0 8843 exit_group(1) = ? -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines