[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ldconfig or not

On Sat, Mar 28, 1998 at 02:44:05PM +0100, James Troup wrote:
> Only iff "$1" is configure; you do *not* want to run ldconfig if the
> postinst is called as abort-upgrade|abort-remove|abort-deconfigure, or
> you can end up with all kinds of nastiness with .dpkg-tmp files as .so
> links and in ld.so's cache and other fun stuff[1].

This touches on something I've asked for in the past, but not in quite
a while.

It would really be nice if someone would write sample, skeleton
maintainer scripts that explicitly list every case where they may be
called from dpkg.  The sample scripts should also contain approriate
comments describing each case, when and why they might be called and
what should and should not be typically done.

I know most, if not all, of this information is available in the
current dpkg documentation, but that section can be a bit daunting (I
know it still is to me).  If such sample scripts were available, I
think it would be a tremendous help to new developers as well as
experienced developers.

David Engel                        ODS Networks
david@sw.ods.com                   1001 E. Arapaho Road
(972) 234-6400                     Richardson, TX  75081

To UNSUBSCRIBE, email to debian-policy-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: