NetBSD Problem Report #8814

Received: (qmail 5098 invoked from network); 16 Nov 1999 22:10:35 -0000
Message-Id: <199911162207.OAA25240@nooksack.ldc.cs.wwu.edu>
Date: Tue, 16 Nov 1999 14:07:00 -0800 (PST)
From: wulf@ping.net.au
Reply-To: wulf@ping.net.au
To: gnats-bugs@gnats.netbsd.org
Subject: majordomo-1.94.4 can't find digest script
X-Send-Pr-Version: www-1.0

>Number:         8814
>Category:       pkg
>Synopsis:       majordomo-1.94.4 can't find digest script
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 16 14:12:00 +0000 1999
>Closed-Date:    Sat Nov 27 16:50:16 +0000 1999
>Last-Modified:  Sat Nov 27 16:50:47 +0000 1999
>Originator:     Berndt Josef Wulf
>Release:        NetBSD-1.4.1-i386
>Organization:
>Environment:
NetBSD dingo 1.4 NetBSD 1.4 (HOTDOG) #0: Tue Jul 27 11:05:49 CST 1999
wulf@dingo:/usr/src/sys/arch/alpha/compile/HOTDOG alpha
>Description:
Majordomo returns an error when issuing the 'mkdigest' directive
as it expects 'digest' to be installed in /home/majordomo.
On NetBSD, all majordomo binaries and scripts are installed in
${PREFIX}/libexec/majordomo.

The offending line is

majordomo:            "$homedir/digest -m -C -l $list $list_outgoing 2>&1 |");
                       ^^^^^^^^
                       shouldn't this be $bindir?

where

bindir="@PREFIX@/libexec/majordomo";


>How-To-Repeat:
Install majordomo-1.94.4 in /usr/pkgsrc/mail/majordomo and after
creating the appropriate mailing lists issue the following command:

echo mkdigest <list>-digest <password> | mail majordomo@<domainname>

The result will be:

/home/majordomo/digest: permission denied


>Fix:
--- majordomo.orig      Wed Nov 17 08:37:13 1999
+++ majordomo   Wed Nov 17 08:36:54 1999
@@ -1139,7 +1139,7 @@
        # The password is valid, so run digest

            open(DIGEST,
-               "$homedir/digest -m -C -l $list $list_outgoing 2>&1 |");
+               "$bindir/digest -m -C -l $list $list_outgoing 2>&1 |");
            @digest_errors = <DIGEST>;
            close(DIGEST);
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: hubertf 
State-Changed-When: Sat Nov 27 08:50:16 PST 1999 
State-Changed-Why:  
I've just committed that fix. 


- Hubert 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.