NetBSD Problem Report #30133

From www@netbsd.org  Wed May  4 20:12:35 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id 4FEEC63B116; Wed,  4 May 2005 20:12:35 +0000 (UTC)
Message-Id: <20050504201235.4FEEC63B116@narn.netbsd.org>
Date: Wed,  4 May 2005 20:12:35 +0000 (UTC)
From: waddell@caravan.com
Reply-To: waddell@caravan.com
To: gnats-bugs@netbsd.org
Subject: majordomo install sets ~majordom/list with group write enabled + unlisted conflict
X-Send-Pr-Version: www-1.0

>Number:         30133
>Category:       pkg
>Synopsis:       majordomo install sets ~majordom/list with group write enabled + unlisted conflict
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed May 04 20:13:00 +0000 2005
>Closed-Date:    Thu May 26 01:12:34 +0000 2022
>Last-Modified:  Thu May 26 01:12:34 +0000 2022
>Originator:     Harry Waddell
>Release:        netbsd 2.0.2 i-386
>Organization:
Caravan Publishing
>Environment:
NetBSD www.pbspro.com 2.0.2_STABLE NetBSD 2.0.2_STABLE (CARAVANWKS) #2: Fri Apr 15 21:04:55 PDT 2005  waddell@morocco:/usr/obj/sys/arch/i386/compile.i386/CARAVANWKS i386

>Description:
reinstalling the majordomo package changes the ~/lists dir to have 
group write set, which when used with sendmail which sendmail and cause problems when trying to finally deliver to a list, e.g.:

  ----- The following addresses had permanent fatal errors -----
:include:/home/majordom/lists/agt-staff
    (expanded from: <agt-staff-list@mail.pbspro.com>)

   ----- Transcript of session follows -----
550 5.2.4 :include:/home/majordom/lists/agt-staff... Cannot open /home/majordom/lists/agt-staff: Group writable directory
Message delivered to mailing list <agt-staff-list@mail.pbspro.com>

There may be some reason why the permissions are so permissive, but if there is not, 755 seems like a better value.

Also, mail/majordomo conflicts with net/bounce since they both install
/usr/pkg/bin/bounce and /usr/pkg/man/man1/bounce.1
>How-To-Repeat:
reinstall majordomo package when using sendmail.
>Fix:
change INSTALL to set more restrictive directory perms, or add a target to Makefile postinstall section.

>Release-Note:

>Audit-Trail:
From: Tim Rightnour <garbled@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/30133 CVS commit: pkgsrc/mail/majordomo
Date: Fri,  6 Jan 2006 02:35:32 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	garbled
 Date:		Fri Jan  6 02:35:32 UTC 2006

 Modified Files:
 	pkgsrc/mail/majordomo: Makefile

 Log Message:
 Per PR pkg/30133 majordomo conflicts with net/bounce.


 To generate a diff of this commit:
 cvs rdiff -r1.21 -r1.22 pkgsrc/mail/majordomo/Makefile

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

From: Tim Rightnour <garbled@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/30133 CVS commit: pkgsrc/net/bounce
Date: Fri,  6 Jan 2006 02:37:12 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	garbled
 Date:		Fri Jan  6 02:37:11 UTC 2006

 Modified Files:
 	pkgsrc/net/bounce: Makefile

 Log Message:
 Per PR pkg/30133 majordomo conflicts with net/bounce.


 To generate a diff of this commit:
 cvs rdiff -r1.7 -r1.8 pkgsrc/net/bounce/Makefile

 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: dholland@NetBSD.org
State-Changed-When: Thu, 26 May 2022 01:12:34 +0000
State-Changed-Why:
One part fixed in 2006; the other part sometime since as the current
makefile sets the perms for ${MAJORDOMO_HOMEDIR}/lists to 0755.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 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.