From owner-svn-src-all@freebsd.org Thu Mar 2 01:55:15 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 363A0CF3F88; Thu, 2 Mar 2017 01:55:15 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D0FA6371; Thu, 2 Mar 2017 01:55:14 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id v221tC3q060081; Wed, 1 Mar 2017 17:55:12 -0800 (PST) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd-rwg@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id v221tCxY060080; Wed, 1 Mar 2017 17:55:12 -0800 (PST) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201703020155.v221tCxY060080@pdx.rh.CN85.dnsmgr.net> Subject: Re: svn commit: r314464 - head/usr.sbin/yppush In-Reply-To: To: Ngie Cooper Date: Wed, 1 Mar 2017 17:55:12 -0800 (PST) CC: Alexey Dokuchaev , Ian Lepore , "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , src-committers X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Mar 2017 01:55:15 -0000 > On Wed, Mar 1, 2017 at 8:57 AM, Alexey Dokuchaev wrote: > > On Wed, Mar 01, 2017 at 08:43:55AM -0800, Rodney W. Grimes wrote: > >> I believe we have some other full path things that have crept > >> forward into the production release, but that may be in ports > >> only. Nope bad full paths links I found in just a few seconds: > >> > >> lrwxr-xr-x 1 root wheel 15 Nov 30 02:26 chfn -> /usr/bin/chpass > >> lrwxr-xr-x 1 root wheel 15 Nov 30 02:26 chsh -> /usr/bin/chpass > >> lrwxr-xr-x 1 root wheel 7 Nov 30 02:27 cpio -> bsdcpio > >> lrwxr-xr-x 1 root wheel 21 Nov 30 02:27 mailq -> /usr/sbin/mailwrapper > >> lrwxr-xr-x 1 root wheel 21 Nov 30 02:27 newaliases -> /usr/sbin/mailwrapper > >> lrwxr-xr-x 1 root wheel 10 Nov 30 02:25 pgrep -> /bin/pgrep > >> lrwxr-xr-x 1 root wheel 10 Nov 30 02:25 pkill -> /bin/pkill > >> [...] > > > > Jeez, this is all so bogus! Imagine accessing those remotely via NFS mount > > and watch things break hell in all weird ways. :-( > > This is completely orthogonal to my changes (and has been in place for > a number of years). If you'd like to use relative symlinks for > programs, then let's definitely do it as part of another change > (personally, I think that some of these items could and should be > replaced with hardlinks). Yes, this is just something that leaked over into this thread. Note that this is not just something I want to do, this is technically a bug in FreeBSD and a regresion that occured. And yes in general if the binaries live in the same directoy hard rather than soft links should be used, so another regresion. -- Rod Grimes rgrimes@freebsd.org