Quoting Thomas Liske (2017-01-13 23:25:39)
> 
> unblock 850948 with 826044
> unmerge 826044
> severity 826044 important
> thanks
> 
> Hi,
> 
> Jonas Smedegaard <d...@jones.dk> 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.

I fully agree, which is why I wrote "seems", and then filed a separate 
bugreport.

Sorry, I don't know the details of piuparts the tool nor 
piupart.debian.net the service.  That's why my separate bugreport was 
filed against either of needrestart or piuparts.


> > 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 14444  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)

Agreed. This would imply that either piuparts fail to setup policy-rc.d 
appropriately, or that needrestart ignores policy-rc.d.  The latter is a 
Policy violation.

> - the debconf pipe gets weirrd (consolation)

I suspect this to be irrelevant in scenarios involving policy-rc.d.


> - needrestart and debconf thinks you call them interactive... but they
>   are called non-interactive. As a result they wait forever for
>   interaction.

Agreed.

From my brief conversations with the piuparts developers I am of the 
impression that piuparts a) makes use of policy-rc.d and b) tells 
debconf that interaction is non-interactive, c) has a quite big track 
record to support a) and b), d) have rarely if ever tested needrestart 
being pulled in as a dependency due to very few packages depending on it 
at all.

Therefore I suggest to double-check and/or share your opinion here on 
whether needrestart respects policy-rc.d and doesn't do funny things 
with debconf.


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

Thanks for the suggestion.  I am not familiar with piupart I will likely 
not do so, but welcome others to pick up where I left.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature

Reply via email to