Subject: pkg/20615: nas libaudio UNIX domain socket miscalculated
To: None <gnats-bugs@gnats.netbsd.org>
From: None <srp@tworoads.net>
List: netbsd-bugs
Date: 03/07/2003 09:08:51
>Number: 20615
>Category: pkg
>Synopsis: nas libaudio/client UNIX domain socket length miscalculated
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Mar 07 09:10:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Scott Presnell
>Release: NetBSD 1.5.2
>Organization:
Self
>Environment:
System: NetBSD low.tworoads.net 1.5.2 NetBSD 1.5.2 (YUKON) #29: Tue Jan 28 07:53:04 PST 2003 root@dirt.tworoads.net:/usr/src/sys/arch/i386/compile/YUKON i386
>Description:
The nas-1.6 client library socket length calculation is not
correct for a BSD44 based host. clients look for /tmp/.sockets/audio
instead the appropriate socket (e.g. /tmp/.sockets/audio0)
A nas maintainer has been made aware of the bug.
>How-To-Repeat:
Start nasd.
Start a nas client (e.g. auplay) and attempt to connect on :0
(default), or unix:0. The client is unable to connect.
>Fix:
It's just a configuration error. Should you not be able to
complie use the work around:
ln -s /tmp/.sockets/audio0 /tmp/.sockets/audio
...or patch and remake makefiles, then recompile:
--- lib/audio/Imakefile.orig Mon Oct 7 20:08:02 2002
+++ lib/audio/Imakefile Tue Mar 4 08:12:48 2003
@@ -58,6 +58,10 @@
SYSV_DEFINES = -DAU_NOT_STDC_ENV -D_AuNEEDBCOPYFUNC -DNEED_FAKE_XWIN
#endif
+#if HasBSD44Sockets
+ EXTRA_DEFINES = -DBSD44SOCKETS
+#endif
+
>Release-Note:
>Audit-Trail:
>Unformatted: