Subject: pkg/24587: maradns rc.d script is useless
To: None <gnats-bugs@gnats.NetBSD.org>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 02/27/2004 21:42:03
>Number:         24587
>Category:       pkg
>Synopsis:       the net/maradns rc.d script is useless
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 27 20:43:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Martin Husemann
>Release:        NetBSD 1.6ZK
>Organization:
>Environment:
System: NetBSD night-porter.duskware.de 1.6ZK NetBSD 1.6ZK (PORTER) #0: Fri Feb 27 10:41:17 CET 2004 martin@night-porter.duskware.de:/usr/src/sys/arch/i386/compile/PORTER i386
Architecture: i386
Machine: i386
>Description:

The maradns pkg installs various programs, only one of which is "maradns".
The rc.d script only starts "maradns" - but for example an authoritative
name server needs to run "zoneserver" as well.

Even worse, the "maradns" program does not daemonize - but the rc.d script
ignores this fact, so the startup process will stop once maradns runs.

>How-To-Repeat:

Install maradns and try to use it or look at the maradns documentation
and read the script.

>Fix:
Remove the script - or do it correctly.
>Release-Note:
>Audit-Trail:
>Unformatted: