NetBSD Problem Report #53592

From hauke@spg.tu-darmstadt.de  Tue Sep 11 12:24:10 2018
Return-Path: <hauke@spg.tu-darmstadt.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 4FD697A166
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 11 Sep 2018 12:24:10 +0000 (UTC)
Message-Id: <201809111219.w8BCJ8Ku015897@Anscharte.nt.e-technik.tu-darmstadt.de>
Date: Tue, 11 Sep 2018 14:19:08 +0200 (CEST)
From: Hauke Fath <hf@spg.tu-darmstadt.de>
Reply-To: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@NetBSD.org
Cc: Hauke Fath <hf@spg.tu-darmstadt.de>
Subject: racoon is confused about adminsock
X-Send-Pr-Version: 3.95

>Number:         53592
>Category:       bin
>Synopsis:       racoon is confused about adminsock
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 11 12:25:00 +0000 2018
>Originator:     Hauke Fath
>Release:        NetBSD 8.0_STABLE
>Organization:
Technische Universitaet Darmstadt
>Environment:


System: NetBSD Anscharte.nt.e-technik.tu-darmstadt.de 8.0_STABLE NetBSD 8.0_STABLE (HP2170P) #0: Fri Aug 3 14:36:04 CEST 2018 hauke@Anscharte.nt.e-technik.tu-darmstadt.de:/var/obj/netbsd-builds/8/amd64/sys/arch/amd64/compile/HP2170P amd64
Architecture: x86_64
Machine: amd64
>Description:

	The racoon roadwarrior client setup in
	/usr/share/examples/racoon/roadwarrior/client sets the
	location and permissions of a control socket in a "listen { }"
	section. With adminsock not set, the socket will be in
	/var/run per default.

	When you set adminsock, you will find the socket is
	not where you set it to; instead, you will find that
	/etc/racoon/phase1-down.sh is a socket, with permissions and
	ownership as specified for adminsock, and racoonctl will fail
	with an obtuse error.


>How-To-Repeat:

	Set up racoon with the roadwarrior client sample configuration.


>Fix:

	Sure, why not?


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.