bin/72138: isn't installed in a safe way

Xin LI delphij at
Tue Sep 28 10:32:22 PDT 2004

On Tue, Sep 28, 2004 at 07:05:11PM +0200, Matthias Andree wrote:
> X-Sieve: CMU Sieve 2.2
> To: Xin LI <delphij at>
> Cc: Matthias Andree <ma at>,
> 	Ruslan Ermilov <ru at>,
> 	Matthias Andree <matthias.andree at>, current at
> Subject: Re: bin/72138: isn't installed in a safe way
> In-Reply-To: <20040928153537.GA3185 at> (Xin LI's message of "Tue,
> 	28 Sep 2004 23:35:37 +0800")
> From: Matthias Andree <ma at>
> Date: Tue, 28 Sep 2004 19:05:11 +0200
> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux)
> X-Virus-Scanned: by amavisd-new at
> Xin LI <delphij at> writes:
> > So I personally prefer we have -S for the shared libraries (as Ruslan's
> > patch did) - and give our user community the choose of whether to have
> > INSTALL=install -S in their make.conf.
> >
> > What do you think about this?
> It is important that a failing "make installworld" doesn't leave a
> non-working system behind. I don't care much about temporary files left
> over.

I concur that it's important, however, it is much less by chance when failing to
install binaries then failing to install shared objects, because the
latter would cause serious problem with *all* binaries when they are
dynamically linked newadays.

Generally speaking I've no idea why general binaries should be installed
in ``safe mode'' because:
	- Little chances that lacking one binary will cause an unbootable
	  system.  If you have different idea, we may probably list them
	  individually rather than having everything installed in ``safe
	  mode'', as most of the binaries won't cause problem even they
	  are deleted.  We can live without ``rm'' because we can still
	  ``make install'' it...
	- Users who feel this important can still set INSTALL=install -S
	  instead of the default make.conf value.
	- Rename operation might be expensive in some situation, for
	  instance, a flash disk.  Their life is limited by re-writes
	  and -S will cause four writes.

It seems to me, however, a good compromise to document this in make.conf
rather than making it default.  Maybe we can make the following changes:

	  INSTALL_DOC knobs
	  which control the installation of binaries, libraries, shared
	  objects, documentations, while retaining the INSTALL as the
	  all-over knob.
	- Change
		${INSTALL} foo $[BINPATH}/bar
	  or so forth.  With this change, we can control whether
	  documentation is or is not installed in safe mode.

However, this change may need more tests so I'd ratherr having Ruslan's
patch in the tree first (and I highly recommend that it should be MFC'ed
to RELENG_5 and the upcoming RELENG_5_3), and consider the above after

Will that helpful?

Xin LI <delphij frontfree net>
See complete headers for GPG key and other information.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-current mailing list