NetBSD Problem Report #30957

From zuntum@zunix.luchowski.com  Wed Aug 10 00:35:20 2005
Return-Path: <zuntum@zunix.luchowski.com>
Received: from zunix.luchowski.com (pr72.lublin.sdi.tpnet.pl [217.97.36.72])
	by narn.netbsd.org (Postfix) with SMTP id E0ABA63B116
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 10 Aug 2005 00:35:18 +0000 (UTC)
Message-Id: <20050810004142.25234.qmail@zunix.luchowski.com>
Date: 10 Aug 2005 00:41:42 -0000
From: Tomasz Luchowski <zuntum@NetBSD.org>
Reply-To: Tomasz Luchowski <zuntum@NetBSD.org>
To: gnats-bugs@netbsd.org
Subject: djbdns-run rc.d script does not support multiple dnscache instances
X-Send-Pr-Version: 3.95

>Number:         30957
>Category:       pkg
>Synopsis:       djbdns-run rc.d script does not support multiple dnscache instances
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    schmonz
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 10 00:36:00 +0000 2005
>Closed-Date:    Sat Oct 03 13:07:29 +0000 2020
>Last-Modified:  Sat Oct 03 13:07:29 +0000 2020
>Originator:     Tomasz Luchowski <zuntum@NetBSD.org>
>Release:        NetBSD 2.0.2
>Organization:
/* Tomasz Luchowski <tomasz@luchowski.com> */
>Environment:


System: NetBSD zunix.luchowski.com 2.0.2 NetBSD 2.0.2 (GENERIC) #0: Thu Mar 24 20:22:06 CET 2005 zuntum@zunpc:/build-2-0/obj/usr/cvs/netbsd-2-0/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
	djbdns-run provides a nice rc.d script that facilitates running dnscache.
	However, there is no way to run multiple dnscache instances using this rc.d
	startup script. As dnscache can only listen on one interface, I imagine that
	this problem is pretty common, e.g. when you want to have dnscache listen
	both on 192.168.0.1 and 10.0.0.1
>How-To-Repeat:
	install djbdns-run. try to run two dnscache instances using provided rc.d
	scripts.
>Fix:
	Perhaps let one dnscache rc.d script handle multiple addresses, and consequently,
	multiple dnscache instances?


>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->schmonz
Responsible-Changed-By: schmonz@netbsd.org
Responsible-Changed-When: Wed, 10 Aug 2005 00:39:08 +0000
Responsible-Changed-Why:
Over to maintainer (moi).


From: "Amitai Schleier" <schmonz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/30957 CVS commit: pkgsrc/net/djbdns
Date: Sat, 3 Oct 2020 12:59:36 +0000

 Module Name:	pkgsrc
 Committed By:	schmonz
 Date:		Sat Oct  3 12:59:36 UTC 2020

 Modified Files:
 	pkgsrc/net/djbdns: Makefile distinfo options.mk

 Log Message:
 Address PR pkg/30957 with a new 'djbdns-listenmultiple' option to apply
 these patches:

 - Uwe Ohse's djbdns-1.05-multiip.diff for tinydns
 - Dan Peterson's dnscache-1.05-multiple-ip.patch for dnscache

 The patches came with different list separators, but this is pkgsrc! The
 default separator for both is now a comma, and you can override it by
 setting DJBDNS_IP_SEPARATOR. (Add that to BUILD_DEFS if the option was
 enabled, and unconditionally add all the users and groups.) Bump
 PKGREVISION.

 While here, make djbdns-1.05-ignoreip2.patch fetchable via archive.org.


 To generate a diff of this commit:
 cvs rdiff -u -r1.71 -r1.72 pkgsrc/net/djbdns/Makefile
 cvs rdiff -u -r1.27 -r1.28 pkgsrc/net/djbdns/distinfo
 cvs rdiff -u -r1.23 -r1.24 pkgsrc/net/djbdns/options.mk

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

State-Changed-From-To: open->closed
State-Changed-By: schmonz@NetBSD.org
State-Changed-When: Sat, 03 Oct 2020 13:07:29 +0000
State-Changed-Why:
Hi zuntum@, if you're still out there!

With the above change, one rc.d script suffices for many use cases (including my own).
For cases where it doesn't, daemontools-run (possibly in conjunction with rc.d-boot) makes
it fairly easy to set up one's own additional service.

Whether or not it's still important to you, thanks for the PR!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.