[Piuparts-devel] Bug#850948: needrestart, piuparts: needrestart hangs -> piupart fails -> debian-design blocked

Andreas Beckmann anbe at debian.org
Wed Jan 11 15:30:50 UTC 2017


On 2017-01-11 15:25, Jonas Smedegaard wrote:

> This bugreport is tracking debian-design not entering testing.

I filed an unblock request for you, since that seems to be
fallout from britney evaluationg piuparts results, #850950

I now managed to get the piuparts test to finish after removing
timeout from the command line ... strange ...

after installing all the dependencies, we are finally installing
design-desktop:

...
  Selecting previously unselected package design-desktop.
  Preparing to unpack .../design-desktop_3.0.4_all.deb ...
  Unpacking design-desktop (3.0.4) ...
  Setting up design-desktop (3.0.4) ...
  Failed to retrieve available kernel versions.
  Restarting services...
   telinit u
  Can't exec "telinit": No such file or directory at /usr/sbin/needrestart line 899, <STDIN> line 11.
  Services being skipped:
   service dbus restart
   service network-manager restart
  No containers need to be restarted.
  User sessions running outdated binaries:
   998 @ /dev/pts/10: bash[2218]
   998 @ /dev/pts/11: bash[11844]
...
   998 @ /dev/pts/20: bash[3350], python[9688]
...
   998 @ /dev/pts/9: bash[1938]
   999 @ /dev/pts/6: bash[1848]
   dummy1000 @ /dev/pts/0: bash[1319]
   dummy1000 @ /dev/pts/1: bash[6400]
   dummy1000 @ /dev/pts/14: bash[10579]
...
   dummy1000 @ /dev/pts/42: bash[12017]
   dummy1000 @ /dev/pts/5: bash[8979]
   root @ /dev/pts/1: bash[6440]
   root @ /dev/pts/11: apt-get[12657]
   root @ /dev/pts/13: apt-get[19639]
   root @ /dev/pts/25: bash[16006], schroot[15820]
   root @ /dev/pts/30: bash[16012]
...


I'm not sure whether needrestart does the right thing here ...
* it should adhere to policy-rc.d
* it should not run missing binaries
* it should be aware of being run in a chroot
  (right now it enumerates all shells running in the host system ...)


Andreas



More information about the Piuparts-devel mailing list