Bug#826044: needrestart: Hangs in apt hook with a zombie

2017-01-13 Thread Thomas Liske

unblock 850948 with 826044
unmerge 826044
severity 826044 important
thanks

Hi,

Jonas Smedegaard  writes:

> Hi,
>
> It seems I have another instance of this issue: piuparts hangs (as I 

piuparts does not use consolation, doesn't it? Please stop abusing this
issue focusing on needrestart vs. consolation for another issue.


> has more details - an interesting part is this extracted when piuparts 
> hangs:
>
> 30803 root   30  10  117M 63804  9816 T  0.0  0.2  0:11.84 │  │└─ 
> /usr/bin/python /srv/piuparts/sbin/piuparts --skip-logrotatefiles-test 
> --warn-on-others --no-eatmydata --scriptsdir /etc/piuparts/script
> 29515 root   30  10 84340 46992 32864 T  0.0  0.1  0:00.67 │  │   
> └─ apt-get -y install design-desktop=3.0.4
> 30238 root   30  10 84340 14128 0 T  0.0  0.0  0:00.00 │  │   
>└─ apt-get -y install design-desktop=3.0.4
> 30240 root   30  10  4288   752   676 T  0.0  0.0  0:00.00 │  │   
>   └─ sh -c test -x /usr/lib/needrestart/apt-pinvoke && 
> /usr/lib/needrestart/apt-pinvoke || true
> 30241 root   30  10 55276 1  4324 T  0.0  0.0  0:00.23 │  │   
>  └─ /usr/bin/perl -w /usr/share/debconf/frontend /usr/sbin/needrestart
> 30331 root   30  10 50124 17516  4148 T  0.0  0.1  0:00.40 │  │   
> └─ /usr/bin/perl /usr/sbin/needrestart
>  2846 root   30  10  4288   740   668 T  0.0  0.0  0:00.00 │  │   
>├─ sh -c resize 2>/dev/null
>  2847 root   30  10  4188   704   632 T  0.0  0.0  0:00.00 │  │   
>│  └─ resize
>  2838 root   30  10 0 0 0 Z  0.0  0.0  0:00.00 │  │   
>└─ 90-none

Maybe it is just a debconf frontend issue? In cases needrestart does
seems to hang it trackes down to:

- daemons hangig while restarting them (init scripts)
- the debconf pipe gets weirrd (consolation)
- needrestart and debconf thinks you call them interactive... but they
  are called non-interactive. As a result they wait forever for
  interaction.


Feel free to open a new bug to needrestart to track down this issue.


Thanks,
Thomas

-- 

::  WWW:https://fiasko-nw.net/~thomas/  ::
   :::  Jabber:   xmpp:tho...@jabber.fiasko-nw.net  :::
::  flickr: https://www.flickr.com/photos/laugufe/  ::



Processed: Re: Bug#826044: needrestart: Hangs in apt hook with a zombie

2017-01-13 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> unblock 850948 with 826044
Bug #850948 [needrestart] needrestart,piuparts: needrestart hangs -> piupart 
fails -> debian-design blocked
850948 was blocked by: 826044
850948 was not blocking any bugs.
Removed blocking bug(s) of 850948: 826044
> unmerge 826044
Bug #826044 [needrestart] needrestart: Hangs in apt hook with a zombie
Ignoring request to unmerge a bug which is not merged with any others.
> severity 826044 important
Bug #826044 [needrestart] needrestart: Hangs in apt hook with a zombie
Severity set to 'important' from 'serious'
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
826044: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=826044
850948: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850948
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems