tags 826044 unreproducible thanks
Hi Axel, Axel Beckert <a...@debian.org> writes: > So it's actually debconf which fails to end needrestart cleanly as it > did in my initial bug report. > > stracing debconf/frontend shows that it seems to wait for input on > file descriptor 9: > > # strace -p 26405 > strace: Process 26405 attached > read(9, > > According to /proc/26405/fd/9 that's a pipe: > > lr-x------ 1 root root 64 Aug 16 20:41 /proc/26405/fd/9 -> pipe:[54970896] > > Looking for the other end of that pipe, it seems to be this process: > > l-wx------ 1 root root 64 Aug 16 20:41 /proc/32724/fd/1 -> pipe:[54970896] > > which belongs to this process: > > root 32724 0.0 0.0 47040 2496 ? S 20:26 0:00 > /usr/sbin/consolation > > Stopping the consolation service already sufficed to fix the hanging > debconf and the needrestart zombie, at least in this case. > > Now the question is, where is the bug hidden? good question. Could you check if needrestart has open pipes, too? Since it was still to running (not beeing a zombie, wasn't it?) there should be a pipe on STDOUT (and debconf on the other side). > * Why does consolation influence debconf? Or does it influence > needrestart? > * Could it be relevant, that needrestart/debconf ran inside a screen > session? I don't think that screen could be the issue. From time to time I'm upgrading more than hundret (Debian) machines having needrestart installed using apt-dater (screen in the past, now tmux). > * Could it be relevant, that I have gpm or consolelog installed, too? I always use xterm(+tmux+ssh) - never tried consolation nor I'm using gpm (used it decades ago). I've tagged this bug as unreproducible since I'm unable to trigger it and nobody else reported a simular problem. Hopefully we can locate the issue, soon. Regards, Thomas > But then again, that bug hit me the first time when consolation wasn't > yet in Debian at all. So just a coincidence? > > Regards, Axel > -- > ,''`. | Axel Beckert <a...@debian.org>, http://people.debian.org/~abe/ > : :' : | Debian Developer, ftp.ch.debian.org Admin > `. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 > `- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE > -- :: WWW: https://fiasko-nw.net/~thomas/ :: ::: Jabber: xmpp:tho...@jabber.fiasko-nw.net ::: :: flickr: https://www.flickr.com/photos/laugufe/ ::