Your message dated Fri, 22 Mar 2019 14:49:19 +0000
with message-id <[email protected]>
and subject line Bug#925291: fixed in fusiondirectory 1.2.3-4
has caused the Debian Bug report #925291,
regarding postinst script hangs (esp. when installing on stretch)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
925291: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=925291
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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 debconf
14: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-devel
15: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 about
15: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
pgpqSaBsRHDda.pgp
Description: Digitale PGP-Signatur
--- End Message ---
--- Begin Message ---
Source: fusiondirectory
Source-Version: 1.2.3-4
We believe that the bug you reported is fixed in the latest version of
fusiondirectory, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Mike Gabriel <[email protected]> (supplier of updated fusiondirectory
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 22 Mar 2019 15:22:53 +0100
Source: fusiondirectory
Architecture: source
Version: 1.2.3-4
Distribution: unstable
Urgency: medium
Maintainer: FusionDirectory Packagers <[email protected]>
Changed-By: Mike Gabriel <[email protected]>
Closes: 925291
Changes:
fusiondirectory (1.2.3-4) unstable; urgency=medium
.
* debian/fusiondirectory.postinst:
+ Move Apache2 logic into configure condition.
+ Drop usage of debconf confmodule. (Closes: #925291).
Checksums-Sha1:
1537c47cc5b43c1f03f34abd5f58f50754d4258d 12692 fusiondirectory_1.2.3-4.dsc
839e366c42a83f0b641bfb0bb6c9ed4bb57642cd 43020
fusiondirectory_1.2.3-4.debian.tar.xz
0503e52b24402dcb4d1d2832a31ef454fa74f6f1 9393
fusiondirectory_1.2.3-4_source.buildinfo
Checksums-Sha256:
8d4bd536de17238edf0fc9d7e244271c4100063985e469de9ff82be19357b7a5 12692
fusiondirectory_1.2.3-4.dsc
f819a17d13c2385ac1d1ba6ae48639559ccb6e6cbd17a2111e55e0f4de714dd2 43020
fusiondirectory_1.2.3-4.debian.tar.xz
12d8eb6bedb7945845fa2329eee5688abb0fb231ed7cf535bae67000150e057d 9393
fusiondirectory_1.2.3-4_source.buildinfo
Files:
5af7e22e2cbf13ed0d5067dfe9a08ec9 12692 web optional fusiondirectory_1.2.3-4.dsc
f032ea57d4a93f2b7dff5714f6a88110 43020 web optional
fusiondirectory_1.2.3-4.debian.tar.xz
d26930842fc446e4270368c8f9251fdf 9393 web optional
fusiondirectory_1.2.3-4_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJJBAEBCAAzFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAlyU8VAVHHN1bndlYXZl
ckBkZWJpYW4ub3JnAAoJEJr0azAldxsxuT4P/0wpS39KYpbdQ7VSTNSK33fy0OUe
ggrmZ9f/IYZFFDWE3VYpV7eET1sV/kHXttzk8WE5h4XA7Vu3ttpYVcjf3Lhx1ZQp
yUS9LhEcHjFGH2owJMhByJEbcWWiEYQcZ4QQ2CU82xC+JsavFS3saAU6xy0TIH2s
Lagzcon6Ux+yGHT4Li013ICYTLs7Va2GZKM+eMs4CNPTERg5P2KXt9tBrgMDvvto
5dsmznfq8UHg1bctjAfxYiPKeDPYSu4OI138ZZn4ob1ATDBn8po+WkMeXvGOKtG0
oMHFcFsFqNTDq3MjXoLVCGUFya7pO0Ujh7DlAbJtlkUoHJC5wbj8tEbuflEQq85t
gpr9846y6krRtdFeanUCVU36un275At0RCocbfEhqgKdxGNoBFX+3p/fOc11SZMq
c+m3LwYzBkjjr0386d/T9G6FaBgtiLLEjdGjdf00d+78IAp2WcNJuJVhAcG6IwuN
qt+64ZEuoXmzx+QGXAgp8OZaQbl/uXeiDP1i4rFUfPCzYbTIqkimD1wPdykeqkSD
Y3xfmnQqT8XqaYF5NZ+CFrtI/xMZZvX9rpKFuLsh64YT0gx/1ufZI3dbHjwwYvdj
QHKnmsjDXZ6ms0SVvoaQtYsh9SNAAQETmfMHkE0CaCLe//HXZSm4cO9v1VDiLmOI
EDNscrhj0QNlyWIT
=+VYl
-----END PGP SIGNATURE-----
--- End Message ---