Date: Tue, 1 Dec 1998 20:18:58 -0500 (EST) From: Luoqi Chen <luoqi@watermarkgroup.com> To: mike@smith.net.au Cc: committers@FreeBSD.ORG Subject: Re: full path of sysctl in bsd.port.mk? Message-ID: <199812020118.UAA29476@lor.watermarkgroup.com>
next in thread | raw e-mail | index | archive | help
> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812020118.UAA29476>