tag 769544 severity normal
thanks

Hi Andreas,

On 11/14/2014 01:07 PM, Andreas Beckmann wrote:
during a test with piuparts I noticed your package prompts the user
badly.  Prompting in maintainer scripts must be done by communicating
through a program such as debconf which conforms to the Debian
Configuration Management Specification, version 2 or higher.

the Debian Policy does not apply - the observed bug is within the upstream perl core.


A new installation works fine, updates are problematic.
The piuparts test is killed after exceeding its runtime.
Right now I accidently noticed this in a window where piuparts-slave is
running:

12:42:06 Testing package testing2sid/main/needrestart 1.2-4
Scanning processes...
Scanning candidates...
SET needrestart/ui-query_pkgs sysv init

I think this is triggered by a division by zero in the same code path as in #767370. This could be triggered if no kernel images were found or no process being a restart candidates. Both conditions occure rarely in the wild. Therefore the severity of this issue should be not higher than normal.


You may not access /dev/tty for prompting (or whatever) ...
use debconf *properly*.

/dev/tty is not used for prompting while using needrestart's debconf frontend - but the bug broke the debconf pipe.

needrestart does intentionally not use debconf's progressbar widget since it disrupts the tty's scrollback buffer (see also #748758).


HTH,
Thomas

--

    ::  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