Subject: Re: postinstall fixes failed: gid sendmail uid
To: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
From: Bill Studenmund <wrstuden@netbsd.org>
List: current-users
Date: 11/22/2005 09:33:48
--+QahgC5+KEYLbs62
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Nov 19, 2005 at 09:18:12PM +0000, David Laight wrote:
> On Sat, Nov 19, 2005 at 08:48:24PM +0100, Hauke Fath wrote:
> >=20
> > What surprises me more is that the OP did not consider running etcupdat=
e(8)
> > before postinstall. Since that nicely takes care of updating things that
> > may result in conflicts with local changes, I do not really see the nee=
d of
> > including an expert system into postinstall.
>=20
> Sysinst will run postinstall, IIRC it isn't possible to run etcupdate
> with the information available on an installed system.

Sorry for getting back to this so late. Why isn't it possible to run=20
etcupdate with the information available on an installed system?

All etcupdate needs is the "pre-update" /etc and the new /etc. Both are=20
available.

When I do updates, I follow the example from the "binary distribution"=20
update method in the etcupdate man page: mkdir /tmp/temp; cd /tmp/temp;=20
tar xpzf /some/where/etc.tgz; cd ..; etcupdate -b /tmp/temp

Oh, I added the cd .. as etcupdate wants to remove /tmp/temp at the end.

Works fine, and should work fine in sysinst.

Take care,

Bill

--+QahgC5+KEYLbs62
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFDg1Z8Wz+3JHUci9cRAtkSAJ9dicX2/ugmDC0GY6iDZ3GljMuMJwCbBuof
7cu+Yjscgqbr4THJ6m1AMEo=
=EwFY
-----END PGP SIGNATURE-----

--+QahgC5+KEYLbs62--