Bug#798598: nghttp2: Hangs in init script upon package upgrade, causing the package manager to not continue
The trivial fix has been merged upstream: https://github.com/tatsuhiro-t/nghttp2/pull/350 Expect a new upload soon. Tomasz signature.asc Description: Digital signature
Bug#798598: nghttp2: Hangs in init script upon package upgrade, causing the package manager to not continue
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.)
Bug#798598: nghttp2: Hangs in init script upon package upgrade, causing the package manager to not continue
On 10/09/15 23:32, Axel Beckert wrote: > 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: > Hi Axel, > 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. Ouch! I think that DEAMON_ARGS misses '-D' switch to start as a daemon. I'll debug it during the weekend. > (And yes, the system is running sysvinit as init system. libnghttp2-5 > was still installed afterwards as it had lost its autoinstalled flag > somewhen.) For me, both sysv and systemd should work :). Thanks for this bug report! Tomasz signature.asc Description: Digital signature