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

Lintian complaining about ldconfig in postrm-remove



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


When running lintian, I always get the following warning:

W: atleto: postrm-unsafe-ldconfig
N:
N:   The postrm script calls ldconfig unsafely. The postrm must only call
N:   ldconfig when given the argument "remove".
N:
N:   Refer to Policy Manual, section 9.1.1 for details.
N:

But I cannot find why the script should be wrong, Section 9.1.1. does not 
really tell me why I should avoid this, but does not tell me why I am still 
getting the warning. I am just calling ldconfig when "remove" is passed. I 
also tested this on the commandline. 

I attached the postrm-script in case you want to have a look.

Any hints?

Thanks again for your help... Dominik.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/SOiRBy2+bgx1H+0RAldmAJ0auXnBSTKKLGY+Xra7PnKwEAI1MwCcCcn6
vtCAMJtUHTx+84ktgqapr3k=
=+YNh
-----END PGP SIGNATURE-----

Attachment: postrm
Description: application/shellscript


Reply to: