Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 May 2001 03:10:15 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sbin/init Makefile src/libexec/rtld-elf Makefile
Message-ID:  <Pine.BSF.4.21.0105310306060.19573-100000@besplex.bde.org>
In-Reply-To: <20010529163749.A30158@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 29 May 2001, Ruslan Ermilov wrote:

> On Tue, May 29, 2001 at 11:18:14PM +1000, Bruce Evans wrote:
> > On Mon, 28 May 2001, Ruslan Ermilov wrote:
> > 
> > > ru          2001/05/28 09:58:36 PDT
> > > 
> > >   Modified files:
> > >     sbin/init            Makefile 
> > >     libexec/rtld-elf     Makefile 
> > >   Log:
> > >   Use new backup feature of install(1).
> > >   
> > >   Revision  Changes    Path
> > >   1.26      +2 -8      src/sbin/init/Makefile
> > >   1.15      +2 -15     src/libexec/rtld-elf/Makefile
> > 
> > Do we really want these backups?  Note that the backup for init never
> > actually worked in any committed version, because the existence test
> > was done before bsd.prog.mk is included, so some of the variables in
> > it were not set.
> > 
> Why not?  We do have init.bak listed in init_main.c:init_path[].

That's almost a reason :-).  If our "secure" (schg'ed) init somehow doesn't
work, then we fall back to insecure ones.  But this is really another bug.

> And yes, I have noticed that the backups for init(8) did not work because
> make(1) resolves exists() the first time it parses it, and BINDIR is only
> defined after bsd.prog.mk is included.

This means that no one except the PR submitter has every used it.

Bruce


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?Pine.BSF.4.21.0105310306060.19573-100000>