NetBSD Problem Report #41376

From spz@volans.1st.de  Thu May  7 08:09:58 2009
Return-Path: <spz@volans.1st.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id F2F3063B8DF
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  7 May 2009 08:09:57 +0000 (UTC)
Message-Id: <20090507080926.72EDB5793@volans.1st.de>
Date: Thu,  7 May 2009 10:09:26 +0200 (CEST)
From: spz@serpens.de
Reply-To: spz@serpens.de
To: gnats-bugs@gnats.NetBSD.org
Subject: inconsistency in ADMINPORTDIR between racoon and racoonctl
X-Send-Pr-Version: 3.95

>Number:         41376
>Category:       bin
>Synopsis:       inconsistency in ADMINPORTDIR between racoon and racoonctl
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 07 08:10:01 +0000 2009
>Closed-Date:    Tue May 19 08:26:33 +0000 2009
>Last-Modified:  Tue May 19 08:26:33 +0000 2009
>Originator:     S.P.Zeidler
>Release:        NetBSD 5.0 (still applies to -current)
>Organization:
	dis-
>Environment:
System: NetBSD volans 5.0 NetBSD 5.0 (VOLANS) #21: Mon May 4 09:55:10 CEST 2009 spz@volans:/home/netbsd/i386/obj/home/netbsd/src/sys/arch/i386/compile/VOLANS i386
Architecture: i386
Machine: i386
>Description:
	src/usr.sbin/racoon/Makefile has ADMINPORTDIR /var/run,
        src/usr.sbin/racoonctl/Makefile has ADMINPORTDIR /var/racoon,
        rendering racoonctl useless (send: Bad file descriptor) without
	previous application of workarounds.
>How-To-Repeat:
	racoonctl show-sa isakmp
>Fix:
	Workaround:
	mkdir /var/racoon && ln -s /var/run/racoon.sock /var/racoon/racoon.sock
	Proper fix:
diff -u -r1.4 Makefile
--- Makefile    22 Apr 2009 15:23:07 -0000      1.4
+++ Makefile    7 May 2009 08:05:41 -0000
@@ -13,7 +13,7 @@
 CPPFLAGS+=     -I${DIST}/src/racoon -I${DIST}/src/libipsec     \
                -I${NETBSDSRCDIR}/lib/libipsec                  \
                -UIPSEC_DEBUG -DHAVE_CONFIG_H -DNOUSE_PRIVSEP   \
-               -DADMINPORTDIR=\"/var/racoon\"
+               -DADMINPORTDIR=\"/var/run\"
 LDADD+=        -lipsec
 DPADD+=        ${LIBIPSEC}
 CLEANFILES+=   racoonctl.cat8

>Release-Note:

>Audit-Trail:
From: "S.P.Zeidler" <spz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/41376 CVS commit: src/usr.sbin/racoonctl
Date: Thu, 7 May 2009 09:31:41 +0000

 Module Name:	src
 Committed By:	spz
 Date:		Thu May  7 09:31:41 UTC 2009

 Modified Files:
 	src/usr.sbin/racoonctl: Makefile

 Log Message:
 adjust the ADMINPORTDIR to match that of racoon (with which it'll want to talk)
 fixes PR 41376


 To generate a diff of this commit:
 cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/racoonctl/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->pending-pullups
State-Changed-By: spz@NetBSD.org
State-Changed-When: Thu, 07 May 2009 09:44:52 +0000
State-Changed-Why:
the fix has been committed, pullups have been sent


From: Soren Jacobsen <snj@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/41376 CVS commit: [netbsd-5] src/usr.sbin/racoonctl
Date: Sun, 10 May 2009 20:27:34 +0000

 Module Name:	src
 Committed By:	snj
 Date:		Sun May 10 20:27:34 UTC 2009

 Modified Files:
 	src/usr.sbin/racoonctl [netbsd-5]: Makefile

 Log Message:
 Pull up following revision(s) (requested by spz in ticket #740):
 	usr.sbin/racoonctl/Makefile: revision 1.5 via patch
 adjust the ADMINPORTDIR to match that of racoon (with which it'll want
 to talk)
 fixes PR 41376


 To generate a diff of this commit:
 cvs rdiff -u -r1.2 -r1.2.8.1 src/usr.sbin/racoonctl/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Soren Jacobsen <snj@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/41376 CVS commit: [netbsd-5-0] src/usr.sbin/racoonctl
Date: Sun, 10 May 2009 20:28:59 +0000

 Module Name:	src
 Committed By:	snj
 Date:		Sun May 10 20:28:58 UTC 2009

 Modified Files:
 	src/usr.sbin/racoonctl [netbsd-5-0]: Makefile

 Log Message:
 Pull up following revision(s) (requested by spz in ticket #740):
 	usr.sbin/racoonctl/Makefile: revision 1.5 via patch
 adjust the ADMINPORTDIR to match that of racoon (with which it'll want
 to talk)
 fixes PR 41376


 To generate a diff of this commit:
 cvs rdiff -u -r1.2 -r1.2.12.1 src/usr.sbin/racoonctl/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Manuel Bouyer <bouyer@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/41376 CVS commit: [netbsd-4] src/usr.sbin/racoonctl
Date: Mon, 11 May 2009 19:19:25 +0000

 Module Name:	src
 Committed By:	bouyer
 Date:		Mon May 11 19:19:25 UTC 2009

 Modified Files:
 	src/usr.sbin/racoonctl [netbsd-4]: Makefile

 Log Message:
 Pull up following revision(s) (requested by spz in ticket #1312):
 	usr.sbin/racoonctl/Makefile: revision 1.5 via patch
 adjust the ADMINPORTDIR to match that of racoon (with which it'll want to talk)
 fixes PR 41376


 To generate a diff of this commit:
 cvs rdiff -u -r1.1 -r1.1.10.1 src/usr.sbin/racoonctl/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Manuel Bouyer <bouyer@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/41376 CVS commit: [netbsd-4-0] src/usr.sbin/racoonctl
Date: Mon, 11 May 2009 19:20:34 +0000

 Module Name:	src
 Committed By:	bouyer
 Date:		Mon May 11 19:20:34 UTC 2009

 Modified Files:
 	src/usr.sbin/racoonctl [netbsd-4-0]: Makefile

 Log Message:
 Pull up following revision(s) (requested by spz in ticket #1312):
 	usr.sbin/racoonctl/Makefile: revision 1.5 via patch
 adjust the ADMINPORTDIR to match that of racoon (with which it'll want to talk)
 fixes PR 41376


 To generate a diff of this commit:
 cvs rdiff -u -r1.1 -r1.1.20.1 src/usr.sbin/racoonctl/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: pending-pullups->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Tue, 19 May 2009 08:26:33 +0000
State-Changed-Why:
pullups done


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.