Hi Thijs,

On 05/20/2014 04:03 PM, Thijs Kinkhorst wrote:
Needrestart sports a progress indicator in debconf while it tries to find
services that need a restart. However, this scanning for services is
most of the time very fast and the full repainting of the screen actually
costs more time than the scanning does. When an upgrade has no impact
on running services, it results in needless 'flashing' of the screen.

I would recommend to only output "Scanning processes..." on stdout
and load and invoke the whole debconf infrastructure only when there's
actual prompting to be done.

the time it takes to complete the two pass scan depends on the number of running processes... especially on desktop systems there might be a huge number of taking a longer time (due my subjective feeling). Maybe there should be configurable option using enabling/disabling the progress stuff with a reasonable* default value.

*) I'm undecided about your suggestion.

Thanks for your report.


Cheers,
Thomas

Cheers,
Thijs

-- Package-specific info:
needrestart output:
Scanning processes
No services required to be restarted.



-- System Information:
Debian Release: jessie/sid
   APT prefers testing
   APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.13.7 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages needrestart depends on:
ii  libmodule-find-perl        0.12-1
ii  libmodule-scandeps-perl    1.13-1
ii  libproc-processtable-perl  0.50-1
ii  libsort-naturally-perl     1.02-1
ii  perl                       5.18.2-4

needrestart recommends no packages.

needrestart suggests no packages.

-- no debconf information



--

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


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to