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

pure-ftpd: zombie postinst under debconf

ppons@cvf.fr said:
> 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 
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
        # End automatically added section

        exit 0

Does anyone know what could cause this?


Reply to: