Bug#120585: apparently what lintian does is valid, ldconfig use outside $1=configure is not documented as safe
>>"Herbert" == Herbert Xu <herbert@gondor.apana.org.au> writes:
Herbert> Josip Rodin <joy@gkvk.hr> wrote:
>>
>> So... please either provide a rationale for this optional invocation, in
>> which case the lintian warning postinst-unsafe-ldconfig stays just a
>> warning, or remove the clause, in which case the lintian warning gets
Herbert> It is perfectly safe to invoke ldconfig unconditionally in a postinst
Herbert> script. Thus it is OK for a package to simply put ldconfig in its
Herbert> postinst without checking $1.
This sounds fair enough. The ldconfig must be called when
psotinst configure is called; and optionally when postinst is called
with other arguments; so the wording of policy should not be changed
to narrow invocation of ldconfig.
I have added the rationale; and it shall be in the next upload.
manoj
--
She's learned to say things with her eyes that others waste time
putting into words.
Manoj Srivastava <srivasta@debian.org> <http://www.debian.org/%7Esrivasta/>
1024R/C7261095 print CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
Reply to: