Subject: Re: postinstall fixes failed: gid sendmail uid
To: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
From: Bill Studenmund <firstname.lastname@example.org>
Date: 11/22/2005 09:33:48
Content-Type: text/plain; charset=us-ascii
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:
> > What surprises me more is that the OP did not consider running etcupdat=
> > 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=
> > including an expert system into postinstall.
> 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
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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)
-----END PGP SIGNATURE-----