From owner-freebsd-current Fri Nov 17 02:28:03 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id CAA22170 for current-outgoing; Fri, 17 Nov 1995 02:28:03 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id CAA22084 for ; Fri, 17 Nov 1995 02:27:14 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id LAA23297; Fri, 17 Nov 1995 11:21:34 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id LAA03045; Fri, 17 Nov 1995 11:21:31 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id LAA15492; Fri, 17 Nov 1995 11:17:17 +0100 From: J Wunsch Message-Id: <199511171017.LAA15492@uriah.heep.sax.de> Subject: Re: absolute pathnames in /usr/share/mk/bsd.*.mk To: wosch@cs.tu-berlin.de (Wolfram Schneider) Date: Fri, 17 Nov 1995 11:17:16 +0100 (MET) Cc: asami@cs.berkeley.edu, current@FreeBSD.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199511160956.KAA08085@caramba.cs.tu-berlin.de> from "Wolfram Schneider" at Nov 16, 95 10:56:50 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 913 Sender: owner-current@FreeBSD.org Precedence: bulk As Wolfram Schneider wrote: > > $ egrep /sbin/ *.mk |wc -l > 6 > > $ egrep /sbin/ *.mk > bsd.kmod.mk: /sbin/modload -o ${KMOD} -e${KMOD} ${PROG} > bsd.kmod.mk: /sbin/modunload -n ${KMOD} > bsd.port.mk:MD5?= /sbin/md5 > bsd.port.mk:MTREE_CMD?= /usr/sbin/mtree > bsd.port.mk:PKG_CMD?= /usr/sbin/pkg_create > bsd.port.mk: if /sbin/ldconfig -r | grep -q -e "-l$$lib"; then \ I think the /sbin references in bsd.kmod.mk could go away. mod(un)loading is only allowed for the superuser anyway, who's expected to have /sbin in his $path. The absolute references in bsd.port.mk are okay. I'm not sure about the mtree command, the remaining commands must be executable for regular users, too. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)