On Sat, Sep 08, 2001 at 06:55:56PM -0400, Steve M. Robbins wrote:
> 
> --- policy.sgml.orig  Sat Sep  8 16:12:53 2001
> +++ policy.sgml       Sat Sep  8 17:06:01 2001
> @@ -3711,21 +3711,16 @@
>           </list>
>         </p>
>       </footnote>
> -     must call <prgn>ldconfig</prgn> in its <prgn>postinst</prgn>
> -     script if the first argument is <tt>configure</tt> and should
> -     call it in the <prgn>postrm</prgn> script if the first
> -     argument is <tt>remove</tt>.
> -      </p>
> -
> -      <p>
> -     However, <prgn>postrm</prgn> and <prgn>preinst</prgn> scripts
> -     <em>must not</em> call <prgn>ldconfig</prgn> in the case where
> -     the package is being upgraded (see <ref id="unpackphase"> for
> -     details), as <prgn>ldconfig</prgn> will see the temporary
> -     names that <prgn>dpkg</prgn> uses for the files while it is
> -     installing them and will make the shared library links point
> -     to them, just before <prgn>dpkg</prgn> continues the
> -     installation and renames the temporary files!
> +     must use <prgn>ldconfig</prgn> to update the shared library
> +     system.  The package must call <prgn>ldconfig</prgn> in the
> +     <prgn>postinst</prgn> script if the first argument is
> +     <tt>configure</tt>; the <prgn>postinst</prgn> script may
> +     optionally invoke <prgn>ldconfig</prgn> at other times.  The
> +     package should call <prgn>ldconfig</prgn> in the
> +     <prgn>postrm</prgn> script if the first argument is
> +     <tt>remove</tt>.  The maintainer scripts must not invoke
> +     <prgn>ldconfig</prgn> under any circumstances other than those
> +     described in this paragraph.
>        </p>
>  
>        <sect>

Seconded.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Reply via email to