Subject: pkg/8117: sendmail 8.9.3 pkg defaulting to db 2.x causes problems
To: None <gnats-bugs@gnats.netbsd.org>
From: None <hf@saphirsc.de>
List: netbsd-bugs
Date: 07/30/1999 05:35:50
>Number:         8117
>Category:       pkg
>Synopsis:       sendmail 8.9.3 pkg defaulting to db 2.x causes problems
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 30 05:35:00 1999
>Last-Modified:
>Originator:     Hauke Fath <hf@saphirsc.de>
>Organization:
Saphir Software GmbH
>Release:        1.4
>Environment:
	
System: NetBSD scree.melog.de 1.4 NetBSD 1.4 (PEBBLE) #0: Mon Jul 26 19:44:32 CEST 1999 hf@scree.melog.de:/var/tmpa/netbsd/1.4/usr/src/sys/arch/i386/compile/PEBBLE i386


>Description:
	I installed the sendmail 8.9.3 pkg because I have to work on 
relaying issues (pop-before-relay). The sendmail pkg pulled in the 
sleepycat db 2.x pkg. When I tried to set up Curt Sampsonīs poprelayd
<http://www.cynic.net/~cjs/computer/sendmail/poprelay.html> I found
that perl uses the default db, so poprelayd does not understand
sendmail databases and vice versa.

It seems to me that having two versions of db opens up a can of worms, 
and that packages should default to the sstem db if at all
possible. Else, scripts may break in unexpected ways.

>How-To-Repeat:
	Install sendmail pkg, get poprelayd and try to set it
up. Waste a lot of time until you understand that sendmail and perl
now use different database formats.

Exclamate: "What _were_ they thinking?!"

>Fix:
	Either drop the sendmail pkg`s dependency on db 2.x totally,
or make it optional.
>Audit-Trail:
>Unformatted: