[Pkg-openldap-devel] Re: db_input use in postinst
Torsten Landschoff
torsten@debian.org
Thu, 21 Apr 2005 02:00:04 +0200
--v9Ux+11Zm5mwPlX6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hi Steve,=20
On Wed, Apr 20, 2005 at 01:08:03AM -0700, Steve Langasek wrote:
> I noticed you added=20
>=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 comme=
nt
> be removed from the TODO?
I want lintian to be silent for slapd so yes, this will stay for adding
the override. Is there a sane way to do that BTW? The last time I did
that I have to install a file into /usr/share/lintian/overrides. Which
is awkward, I'd say.
> Also, note that debconf is *always* available by the time the postinst ru=
ns,
> 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.
It's always available in preinst now as well :))
Greetings
Torsten
--v9Ux+11Zm5mwPlX6
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)
iD8DBQFCZu0DdQgHtVUb5EcRAm8tAJ9aKLX2itymTT9MwFJ8y1KbmRUtSwCcDHky
/oRRgPePUWC7NvZ4eFbRm44=
=HTOJ
-----END PGP SIGNATURE-----
--v9Ux+11Zm5mwPlX6--