[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 10:36:34AM -0400, Jason Lunz wrote:
> > When I installed pure-ftpd_0.98.4-1_i386.deb , at the end of the
> > install pure-ftpd said "Starting ftp server: pure-ftpd" and nothing
> > else happened, i.e. I do not have the prompt, "enter" do not give me
> > the prompt.If I do a ps I cans see that perl and debconf are still
> > runing.  I've killed the processes but my pure-ftp server seems to
> > work. I stopped and started pure-ftpd and there is no problem, I don't
> > know if it is a bug but it's really minor.
> 
> grr. I was hoping that was just happening to me.
> 
> At that point everything is fine, so you don't need to worry. The hang 
> is at the end of the postinst, when some debhelper-generated shell calls
> "/etc/init.d/pure-ftpd start". The init.d script starts pure-ftpd and
> exits successfully, but the postinst goes zombie after that:
> 
> [orr](0) % ps axfw 
>   PID TTY      STAT   TIME COMMAND
> 29349 pts/4    S      0:01          \_ dpkg -i /var/debian/standard/pure-ftpd_0.98.4-4_i386.deb
> 29366 pts/4    S      0:00              \_ /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/pure-ftpd.postinst config
> 29368 pts/4    Z      0:00                  \_ [pure-ftpd.posti <defunct>]
> 
> This is weird, because the only thing left in the postinst is:
> 
>         [orr](0) % tail /var/lib/dpkg/info/pure-ftpd.postinst
>         # End automatically added section
>         # 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
> 
> 
>         exit 0
> 
> Does anyone know what could cause this?

Debconf. Redirect the output of the init script to stderr, that is, add >&2.

-- 
Digital Electronic Being Intended for Assassination and Nullification



Reply to: