From owner-cvs-all Tue Dec 1 17:19:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA17774 for cvs-all-outgoing; Tue, 1 Dec 1998 17:19:17 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from lor.watermarkgroup.com (lor.watermarkgroup.com [207.202.73.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA17769 for ; Tue, 1 Dec 1998 17:19:15 -0800 (PST) (envelope-from luoqi@watermarkgroup.com) Received: (from luoqi@localhost) by lor.watermarkgroup.com (8.8.8/8.8.8) id UAA29476; Tue, 1 Dec 1998 20:18:58 -0500 (EST) (envelope-from luoqi) Date: Tue, 1 Dec 1998 20:18:58 -0500 (EST) From: Luoqi Chen Message-Id: <199812020118.UAA29476@lor.watermarkgroup.com> To: mike@smith.net.au Subject: Re: full path of sysctl in bsd.port.mk? Cc: committers@FreeBSD.ORG Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > > Usually I build ports as a regular user (only install them as root), so sysctl > > is not in my path and the build fails with the message, > > > > sysctl: not found > > "/usr/share/mk/bsd.port.mk", line 410: warning: "sysctl -n kern.osreldate" returned non-zero status > > > > Can we specify the full path name of sysctl in bsd.port.mk? > > Sysctl should be in your path; it's a general-purpose enquiry tool. > It's in /sbin and I don't include it in my path as a non-root user. Isn't it a unix convention that system binaries (/sbin /usr/sbin) are included only in superuser's path? Most of them require root priviledge anyway. For the few that I do use frequently as a regular user (e.g. ping, traceroute), I have aliases for them in my shell's setup. > -- > \\ Sometimes you're ahead, \\ Mike Smith > \\ sometimes you're behind. \\ mike@smith.net.au > \\ The race is long, and in the \\ msmith@freebsd.org > \\ end it's only with yourself. \\ msmith@cdrom.com > -lq To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message