Package: needrestart Version: 1.2-2 Severity: serious User: debian...@lists.debian.org Usertags: piuparts
Hi, 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. Refer to Debian Policy Manual section 3.9.1 (Prompting in maintainer scripts) for details. http://www.debian.org/doc/debian-policy/ch-binary.html#s-maintscriptprompt During a test with piuparts I noticed your package fails to upgrade. Seen on sid->experimental, jessie->sid. 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 Well, there shouldn't any output get on that console ..., so let's look at the running processes: COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME needresta 20673 root cwd DIR 0,19 60 532392089 /tmp/piupartss/tmpubCt88/tmp needresta 20673 root rtd DIR 0,19 460 532372904 /tmp/piupartss/tmpubCt88 needresta 20673 root txt REG 0,19 10416 532382504 /tmp/piupartss/tmpubCt88/usr/bin/perl needresta 20673 root mem REG 0,19 18728 532387760 /tmp/piupartss/tmpubCt88/usr/lib/x86_64-linux-gnu/perl/5.20.1/auto/IO/IO.so .... needresta 20673 root mem REG 0,19 1827768 532387323 /tmp/piupartss/tmpubCt88/usr/lib/x86_64-linux-gnu/libperl.so.5.20.1 needresta 20673 root mem REG 0,19 140928 532442638 /tmp/piupartss/tmpubCt88/lib/x86_64-linux-gnu/ld-2.19.so needresta 20673 root 0r CHR 5,0 0t0 532392052 /tmp/piupartss/tmpubCt88/dev/tty needresta 20673 root 1w CHR 5,0 0t0 532392052 /tmp/piupartss/tmpubCt88/dev/tty needresta 20673 root 2w FIFO 0,8 0t0 532480261 pipe needresta 20673 root 3r REG 0,19 3485 532493945 /tmp/piupartss/tmpubCt88/usr/share/perl5/NeedRestart/UI/Debconf.pm needresta 20673 root 4r FIFO 0,8 0t0 532499621 pipe needresta 20673 root 5w FIFO 0,8 0t0 532499622 pipe needresta 20673 root 6r FIFO 0,8 0t0 532579111 pipe You may not access /dev/tty for prompting (or whatever) ... use debconf *properly*. Andreas -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org