http://bugs.winehq.com/show_bug.cgi?id=1420
------- Additional Comments From z_god@wanadoo.nl 2003-28-06 11:07 ------- Bug comments restored from Gmane.org:
Wine will fail to run with nscd running in memory. 'nscd' is a DNS caching service and should not effect wine operation.
The following error is produced every time: wine: lstat /tmp/.wine-user/server-816-31a/socket : No such file or directory
strace pointed to the possible problem: getuid32() = 1000 socket(PF_UNIX, SOCK_STREAM, 0) = 3 connect(3, {sa_family=AF_UNIX, path="/var/run/.nscd_socket"}, 110) = 0 writev(3, [{"\2\0\0\0\1\0\0\0\5\0\0\0", 12}, {"1000\0", 5}], 2) = 17 read(3, "\0\0\0\0\1\0\0\0\10\0\0\0\2\0\0\0\350\3\0\0\350\3\0\0\1"..., 36) = 36 read(3, "user\0x\0\0/home/user\0/bin/ba"..., 35) = 35 close(3) = 0 stat64("/home/user/.wine", {st_mode=S_IFDIR|0750, st_size=232, ...}) = 0 chdir("/tmp/.wine-user/server-816-31a") = 0 stat64(".", {st_mode=S_IFDIR|0700, st_size=72, ...}) = 0 getuid32() = 1000 lstat64("socket", 0xbfffe430) = -1 ENOENT (No such file or directory)
Stopping the nscd service resolves the problem.
wine 20030318 nscd (GNU libc) 2.3.2 Gentoo Linux (2.4.20-gentoo-r3) gcc (GCC) 3.2.2 20030322 (Gentoo Linux 1.4 3.2.2-r2) glibc 2.3.2-r1
------- Additional Comments From andi <at> rhlx01.fht-esslingen.de 2003-04-28 17:13 ------- Wow, good spot! Immediately reassigning to Alexandre for fast bugfixing...
------- Additional Comments From dclark <at> akamail.com 2003-04-28 18:18 ------- Adding wine-bugs to the CC list, else any new postings won't show up on gmane (nor the wine-bugs archives, I think).
------- Additional Comments From julliard <at> winehq.com 2003-04-28 18:34 ------- Nothing to do with nscd, it's the well known glibc problem. Get the latest wine and build with the --with-nptl flag.
*** This bug has been marked as a duplicate of 1343 ***
------- Additional Comments From Speeddymon <at> yahoo.com 2003-16-06 19:10 ------- Closing