user related commands hang on open("/etc/localtime", O_RDONLY) = 4 in CentOS 5.5
- by fuzzy lollipop
I am logged in as root when doing a strace -etrace=open adduser git
it hangs on open("/etc/localtime", O_RDONLY) = 4 for like 2 minutes then continues on.
Also when I try and strace -etrace=open su git it just hangs at the same place as well, I can't login via ssh as the git user either.
Some other users I created work just fine, like su tomcat and I can ssh in as tomcat as well.
I deleted the file that was at /etc/localtime and replaced it with a symlink to ln -s /usr/share/zoneinfo/US/Eastern /etc/localtime and it didn't change the behavior in any way.