Package: nghttp2
Severity: grave
Version: 1.3.0-0.2

Upgrading nghttp2 from 0.6.7-1+b1 to 1.3.0-0.2 hangs in the package's
maintainer script indefinitely when starting the service:

Setting up nghttp2 (1.3.0-0.2) ...
Installing new version of config file /etc/logrotate.d/nghttpx ...
Installing new version of config file /etc/nghttpx/nghttpx.conf ...
10/Sep/2015:09:33:24 +0200 PID9544 [NOTICE] Listening on 127.0.0.1, port 3000

Ctrl-C doesn't help at that point.

The according process list looks like this:

 9499 root       20   0 30760 16956  2380 S  0.0  0.6  0:00.22 │        ├─ 
/usr/bin/dpkg --status-fd 196 --configure libnghttp2-14:amd64 libev4:amd64 
libspdylay7:amd64 nghttp2:amd64 man-db:amd64 dh-make-perl:all 
libnghttp2-doc:all lib[…]
 9517 root       20   0  4328   724   636 S  0.0  0.0  0:00.00 │        │  ├─ 
/bin/sh /var/lib/dpkg/info/nghttp2.postinst configure 0.6.7-1+b1
 9523 root       20   0  4328  1580  1460 S  0.0  0.1  0:00.00 │        │  │  
└─ /bin/sh /usr/sbin/invoke-rc.d nghttpx start
 9540 root       20   0  4328  1664  1500 S  0.0  0.1  0:00.00 │        │  │    
 └─ /bin/sh /etc/init.d/nghttpx start
 9544 root       20   0 87348  7212  6144 S  0.0  0.2  0:00.04 │        │  │    
    └─ /usr/sbin/nghttpx --conf /etc/nghttpx/nghttpx.conf 
--pid-file=/var/run/nghttpx.pid

I had to kill pid 9544 to make dpkg continue its jobs. Interestingly
killing the process didn't make the package installation to fail.

(And yes, the system is running sysvinit as init system. libnghttp2-5
was still installed afterwards as it had lost its autoinstalled flag
somewhen.)

Reply via email to