postinst-does-not-load-confmodule and postinst hang
I got a lintian warning
so I added a line to source the module:
into my repro.postinst file
Now, the postinst hangs and doesn't return to the prompt:
# dpkg -i repro_1.8.0~pre5-1_amd64.deb
Selecting previously unselected package repro.
(Reading database ... 196677 files and directories currently installed.)
Unpacking repro (from repro_1.8.0~pre5-1_amd64.deb) ...
Setting up repro (1.8.0~pre5-1) ...
Adding group `repro' (GID 125) ...
Adding system user `repro' (UID 116) ...
Adding new user `repro' (UID 116) with group `repro' ...
Not creating home directory `/var/lib/repro'.
Starting SIP proxy: repro.
^Cdpkg: error processing repro (--install):
subprocess installed post-installation script was interrupted
Processing triggers for man-db ...
Errors were encountered while processing:
If I look at the process table while it is hung:
11451 pts/1 S+ 0:00 dpkg -i repro_1.8.0~pre5-1_amd64.deb
11461 pts/1 S+ 0:00 /usr/bin/perl -w /usr/share/debconf/frontend
11467 pts/1 Z+ 0:00 [repro.postinst] <defunct>
11509 pts/1 Sl+ 0:00 /usr/sbin/repro /etc/repro/repro.config
--Daemonize=true --LoggingType=syslog --PidFile=/var/run/re
11524 pts/3 R+ 0:00 ps ax
and the repro process is definitely active (I can see log activity, it
is all normal)
If I don't source debconf confmodule, there is no freeze