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

Bug#111025: debian-policy: typo in chapter 9: ldconfig and pre/post scripts



On 06-Sep-01, 03:28 (CDT), Herbert Xu <herbert@gondor.apana.org.au> wrote: 
> Steve Greenland <stevegr@debian.org> wrote:
>>
>> I thought we just established that calling ldconfig during 'postinst
>> upgrade' is wrong. Therefore, "all packages simply doing a ldconfig
> 
> Where did we establish that? Please point me to the msgid.

Ack. You are right. This is apparently all too confusing to my little
brain. Sorry.

So, while Steve Robbin's most recently proposed wording would lead to
correct maintainer scripts, it is needlessly restrictive, and would
(possibly) lead to technically acceptable scripts being in violation of
policy, and so I object. His (non-proposed) paragraph:

    However, the postrm script must not call ldconfig if invoked with
    the argument "upgrade", "failed-upgrade", or "disappear". The
    preinst script must not call ldconfig if invoked with the argument
    "abort-upgrade".

seems accurate and I don't think it's particularly "longwinded and
fairly confusing."

Steve Greenland



Reply to: