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

Re: pure-ftpd: zombie postinst under debconf



On Thu, May 31, 2001 at 11:54:09AM -0400, Jason Lunz wrote:
> >> This is weird, because the only thing left in the postinst is:
> >>         # Automatically added by dh_installinit
> >>         if [ -e "/etc/init.d/pure-ftpd" ]; then
> >>                 update-rc.d pure-ftpd defaults >/dev/null
> >>                 /etc/init.d/pure-ftpd start
> >>         fi
> >>         # End automatically added section
> >> Does anyone know what could cause this?
> > Debconf. Redirect the output of the init script to stderr, that is, add >&2.
> 
> Is there a way to have debhelper do that? Or should I just not be using
> debhelper for this and put correct code in the postinst myself?

You could add it yourself and use dh_installinit -n, that's what I did for
xinetd. Or try what Itai suggested.

> And if so, is that a bug in debhelper? I would think it should be
> debconf-aware, or at least have the option to be.

Well, some feel debconf is at fault here, mercilessly taking possession of
stdout :)

-- 
Digital Electronic Being Intended for Assassination and Nullification



Reply to: