NetBSD Problem Report #10167

Received: (qmail 24553 invoked from network); 21 May 2000 19:48:28 -0000
Message-Id: <200005211948.e4LJmR807166@acheron.middleboro.ma.us>
Date: Sun, 21 May 2000 15:48:27 -0400 (EDT)
From: mason@acheron.middleboro.ma.us
Reply-To: mason@acheron.middleboro.ma.us
To: gnats-bugs@gnats.netbsd.org
Subject: yp Makefile looks for /etc/aliases
X-Send-Pr-Version: 3.95

>Number:         10167
>Category:       bin
>Synopsis:       yp Makefile looks for /etc/aliases
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 21 19:49:00 +0000 2000
>Closed-Date:    Wed Oct 11 16:51:40 +0000 2000
>Last-Modified:  Wed Oct 11 16:51:40 +0000 2000
>Originator:     Mason Loring Bliss
>Release:        2000.05.21
>Organization:

>Environment:

System: NetBSD acheron.middleboro.ma.us 1.4Y NetBSD 1.4Y (MLB) #3: Sat May 20 17
:36:54 EDT 2000 root@acheron.middleboro.ma.us:/usr/src/sys/arch/i386/compile/MLB
 i386

>Description:

Makefile in /var/yp/foodomain (created from /var/yp/Makefile.yp) looks
for /etc/aliases, and not /etc/mail/aliases.

>How-To-Repeat:

cd /var/yp/foodomain && make

>Fix:

This is a bit ugly, but:

*** Makefile.yp	Sat May 20 15:39:32 2000
--- Makefile.yp.fixed	Sun May 21 15:41:36 2000
***************
*** 95,101 ****
  	fi


! aliases.time: ${DIR}/aliases
  	-@if [ -f ${.ALLSRC} ]; then \
  		${CP} -p ${.ALLSRC} ${DOMAIN}-aliases; \
  		${SENDMAIL} -bi -oA${PWD}/${DOMAIN}-aliases; \
--- 95,101 ----
  	fi


! aliases.time: ${DIR}/mail/aliases
  	-@if [ -f ${.ALLSRC} ]; then \
  		${CP} -p ${.ALLSRC} ${DOMAIN}-aliases; \
  		${SENDMAIL} -bi -oA${PWD}/${DOMAIN}-aliases; \
***************
*** 360,366 ****
  ${DIR}/passwd:
  ${DIR}/group:
  ${DIR}/hosts:
! ${DIR}/aliases:
  ${AMDDIR}/amd.home:
  ${DIR}/ethers:
  ${DIR}/master.passwd:
--- 360,366 ----
  ${DIR}/passwd:
  ${DIR}/group:
  ${DIR}/hosts:
! ${DIR}/mail/aliases:
  ${AMDDIR}/amd.home:
  ${DIR}/ethers:
  ${DIR}/master.passwd:

>Release-Note:
>Audit-Trail:

From: matthew green <mrg@eterna.com.au>
To: mason@acheron.middleboro.ma.us
Cc: gnats-bugs@gnats.netbsd.org
Subject: re: bin/10167: yp Makefile looks for /etc/aliases 
Date: Mon, 22 May 2000 08:30:41 +1000


    >Synopsis:       yp Makefile looks for /etc/aliases



 so does, i'm sure, 1000's of other tools around the world.  yeah, moving
 the default /etc/aliases location is a cool idea.!!!  not.
State-Changed-From-To: open->closed 
State-Changed-By: itojun 
State-Changed-When: Wed Oct 11 09:51:31 PDT 2000 
State-Changed-Why:  
thanks fixed. 
>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.