http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59453
Bug ID: 59453
Summary: log/syslog FAILs on Solaris 9
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: go
Assignee: ian at airs dot com
Reporter: ro at gcc dot gnu.org
Host: *-*-solaris2.9
Target: *-*-solaris2.9
Build: *-*-solaris2.9
The libgo log/syslog test FAILs on Solaris 9:
--- FAIL: TestConcurrentReconnect (0.24 seconds)
syslog_test.go:336: syslog.Dial() failed: dial unix
/tmp/syslogtest27399
3343: connection refused
syslog_test.go:336: syslog.Dial() failed: dial unix
/tmp/syslogtest27399
3343: connection refused
FAIL
FAIL: log/syslog
Running just that test individually in a loop just works.
Running the test under truss with all tests shows:
/5: AF_UNIX name = /tmp/syslogtest295446496
/5: unlink("/tmp/syslogtest295446496") = 0
/5: AF_UNIX name = /tmp/syslogtest295446496
/4: unlink("/tmp/syslogtest295446496") Err#2 ENOENT
/4: rmdir("/tmp/syslogtest295446496") Err#2 ENOENT
so the socket is indeed removed before the connect *in the same thread*. No
idea
why this doesn't trigger on Solaris 10+.
Rainer