Package: fusiondirectory Severity: important Version: 1.2.3-3
Luckily I got some help with this... I observed a fusiondirectory backport of 1.2.3-3 to hang indefinitely and causing a zombie child process of the debconf frontend.
Here the bug hunting chat on IRC: ```14:53 < sunweaver> 14:50 < sunweaver> hi all, I have a highly weird phenomenon I have never seen with dpkg. 14:53 < sunweaver> 14:50 < sunweaver> I try to install fusiondirectory from (soon) stretch-backports on a stretch system. 14:53 < sunweaver> 14:51 < sunweaver> and I get a process named "fusiondirectory" as a child of the debconf frontend process. 14:53 < sunweaver> 14:51 < sunweaver> and that fusiondirectory process zombifies...
14:53 < sunweaver> 14:51 < sunweaver> http://paste.debian.net/1074231/14:53 < sunweaver> 14:52 < sunweaver> the installation process then hangs after postinst. Even when running dpkg with fancy debug modes, I see the dpkg installation hang at the 14:53 < sunweaver> very end of postinst (after set -x has printed "exit 0" (last line of postinst) onto the screen).
14:53 < sunweaver> 14:52 < sunweaver> anyone any idea``` 14:53 < sunweaver> (cross posting from #debian-qa)14:54 < hartmans> sunweaver: Can you point me at the package sources of the exact version you're installing?
14:54 < jcristau> you need to db_stop before you fork the service i guess 14:54 < hartmans> Yeah, that was going to be my guess 14:54 < sunweaver> ok... 14:54 < jcristau> to close the pipes to debconf14:55 -!- Lutin <[email protected]> has quit (Ping timeout: 480 seconds)
14:55 < sunweaver> first the link... 14:55 < jcristau> or, use systemd 14:56 -!- faw <[email protected]> has quit (Ping timeout: 480 seconds)14:56 < sunweaver> http://packages.ps.informatik.uni-kiel.de/debian/pool/main/f/fusiondirectory/fusiondirectory_1.2.3-3~bpo9+1.dsc
14:56 < sunweaver> dget on that file should give you the src:pkg. 14:56 < sunweaver> the funny thing... installing on buster works nicely.14:57 < sunweaver> not the bpo, of course, but the buster/unstable version of the src:pkg from the Debian archive.
14:57 < jcristau> have you diffed the postinsts? 14:57 < sunweaver> lemme see... 15:00 < sunweaver> postinst are the same... 15:00 < hartmans> This postinst script is horrible 15:01 < sunweaver> urgh... 15:01 * sunweaver ducks... 15:01 * sunweaver would say... historically grown...15:01 < hartmans> Why does the postinst call the debconf confmodule without making any other debconf calls? 15:02 < hartmans> Also, the postinst script does a bunch of stuff even when not called as configure... It's wrong to do the rearranging of the apache scripts on abort-upgrade for example
15:02 < sunweaver> ok, will fix that. 15:03 < jcristau> the best postinst is /dev/null 15:03 -!- Lutin <[email protected]> has joined #debian-devel15:03 < sunweaver> the package uses debconf to pop up a warning about potential breakages when major version upgrades take place. 15:03 < hartmans> If you retain the debconf confmodule for some reason, you want a db_stop call prior to restarting the daemon
15:04 < sunweaver> what daemon? Apache2? 15:04 < sunweaver> there is debconf magic in preinst. 15:04 < jcristau> this is postinst we're talking about15:04 < hartmans> OK, but I don't think you need confmodule in postinst for that to work
15:04 < sunweaver> ok.15:05 < sunweaver> lintian popped up about it, but lintian might just not be bright enough.
15:05 < sunweaver> let me try dropping the debconf confmodule. 15:06 < sunweaver> yep. 15:06 < sunweaver> ok. I will rewrite the postinst and bring it into buster... 15:06 < sunweaver> thanks !!! ```I will rewrite the postinst script now and propose a fix-up version for Debian buster.
Mike -- DAS-NETZWERKTEAM c\o Technik- und Ökologiezentrum Eckernförde Mike Gabriel, Marienthaler str. 17, 24340 Eckernförde mobile: +49 (1520) 1976 148 landline: +49 (4354) 8390 139 GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31 mail: [email protected], http://das-netzwerkteam.de
pgpKtUN64v6iH.pgp
Description: Digitale PGP-Signatur

