[Pkg-openldap-devel] Re: db_input use in postinst
Steve Langasek
vorlon@debian.org
Wed, 20 Apr 2005 01:08:03 -0700
--xQmOcGOVkeO43v2v
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Torsten,
I noticed you added=20
+ * Check lintian warning: Postinst uses db_input. I think the usage is
+ okay as it is an error message IIRC which is also output using cat
+ in case debconf is not available.
=20
to the debian/TODO. Yes, use of db_input for displaying error messages is
perfectly ok in a postinst; it's arguably the *only* valid use of debconf
notes. Do you want to add a lintian override for this, or can this comment
be removed from the TODO?
Also, note that debconf is *always* available by the time the postinst runs,
because it's a dependency of slapd; so if there are any instances of cat
being used just for this reason, they ought to be removed.
Cheers,
--=20
Steve Langasek
postmodern programmer
--xQmOcGOVkeO43v2v
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFCZg3jKN6ufymYLloRAhwQAJoCH69xcS3y2fsiR4rXoDHx11NpbwCgjmZz
D03XqXLRNxfj9R4CDemHyAQ=
=o36C
-----END PGP SIGNATURE-----
--xQmOcGOVkeO43v2v--