NetBSD Problem Report #19804
Received: (qmail 24240 invoked by uid 605); 12 Jan 2003 05:27:16 -0000
Message-Id: <200301120526.h0C5Qwk18591@localhost.plethora.net>
Date: Sat, 11 Jan 2003 23:26:58 -0600 (CST)
From: seebs@plethora.net
Sender: gnats-bugs-owner@netbsd.org
Reply-To: seebs@plethora.net
To: gnats-bugs@gnats.netbsd.org
Subject: pkg installs often assume /sbin in $PATH
X-Send-Pr-Version: 3.95
>Number: 19804
>Category: pkg
>Synopsis: pkg installs often assume /sbin in $PATH
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jan 12 05:28:00 +0000 2003
>Closed-Date: Mon Jan 20 23:04:35 +0000 2003
>Last-Modified: Mon Jan 20 23:04:35 +0000 2003
>Originator: Seebs
>Release: NetBSD 1.6L
>Organization:
>Environment:
System: NetBSD 1.6L NetBSD 1.6L (GUILD) #0: Sat Jan 11 22:37:53 CST 2003 seebs@:/usr/src/sys/arch/i386/compile/GUILD i386
Architecture: i386
Machine: i386
>Description:
The installs for procmail and apache both assume that /sbin is
in $PATH, and call 'chown' without a path.
>How-To-Repeat:
Set root up to use ksh, don't set $PATH, run an install.
>Fix:
IMHO, to add /sbin to the default path. :)
>Release-Note:
>Audit-Trail:
From: Jan Schaumann <jschauma@netbsd.org>
To: gnats-bugs@gnats.netbsd.org
Cc:
Subject: pr/19804 CVS commit: pkgsrc/mail/procmail
Date: Tue, 21 Jan 2003 00:55:45 +0200 (EET)
Module Name: pkgsrc
Committed By: jschauma
Date: Mon Jan 20 22:55:44 UTC 2003
Modified Files:
pkgsrc/mail/procmail: Makefile distinfo
pkgsrc/mail/procmail/patches: patch-ae
Log Message:
Make this use ${CHMOD} rather than 'chmod', which may be in different
locations (and thus not even in the PATH), depending on the platform.
This partly adresses PR pkg/19804.
To generate a diff of this commit:
cvs rdiff -r1.28 -r1.29 pkgsrc/mail/procmail/Makefile
cvs rdiff -r1.6 -r1.7 pkgsrc/mail/procmail/distinfo
cvs rdiff -r1.5 -r1.6 pkgsrc/mail/procmail/patches/patch-ae
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Jan Schaumann <jschauma@netbsd.org>
To: gnats-bugs@gnats.netbsd.org
Cc:
Subject: pr/19804 CVS commit: pkgsrc/www/apache
Date: Tue, 21 Jan 2003 00:58:27 +0200 (EET)
Module Name: pkgsrc
Committed By: jschauma
Date: Mon Jan 20 22:58:26 UTC 2003
Modified Files:
pkgsrc/www/apache: Makefile distinfo
pkgsrc/www/apache/patches: patch-aa
Log Message:
Make this use ${CHOWN}, ${CHMOD}, ${XARGS} and ${FIND}, rather than the
hard-coded commands, which may not be in the PATH depending on the operating
system. This partly addresses PR pkg/19804.
To generate a diff of this commit:
cvs rdiff -r1.117 -r1.118 pkgsrc/www/apache/Makefile
cvs rdiff -r1.24 -r1.25 pkgsrc/www/apache/distinfo
cvs rdiff -r1.20 -r1.21 pkgsrc/www/apache/patches/patch-aa
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->feedback
State-Changed-By: jschauma
State-Changed-When: Mon Jan 20 14:59:00 PST 2003
State-Changed-Why:
Rather than adding /sbin (or any other location) to the default PATH,
I changed these packages to use the variables CHMOD, CHOWN etc. which
are set according to the operating systems definitions.
Please let me know if this PR can be closed.
State-Changed-From-To: feedback->closed
State-Changed-By: jschauma
State-Changed-When: Mon Jan 20 15:04:17 PST 2003
State-Changed-Why:
Feedback provided, all's peachy.
>Unformatted:
(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.