Subject: pkg/20615: nas libaudio UNIX domain socket miscalculated
To: None <>
From: None <>
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
>Originator:     Scott Presnell
>Release:        NetBSD 1.5.2
System: NetBSD 1.5.2 NetBSD 1.5.2 (YUKON) #29: Tue Jan 28 07:53:04 PST 2003 i386

	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.

	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.

	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 @@
+#if HasBSD44Sockets