Package: debian-goodies
Version: 0.61
Severity: normal
Tags: patch

Hello again Javier,
I've just found out that checkrestart fails to show the xscreensaver process,
when it needs to be restarted.

  # checkrestart 
  Found 1 processes using old versions of upgraded files
  (1 distinct program)
  (1 distinct packages)
  These processes do not seem to have an associated init script to restart them:
  # checkrestart -v
  Found 1 processes using old versions of upgraded files
  (1 distinct program)
  Process /usr/bin/xscreensaver (PID: 2823) 
  List of deleted files in use:
          /lib/x86_64-linux-gnu/libuuid.so.1.3.0
  Running:['dpkg-query', '--search', '/usr/bin/xscreensaver']
  Reading line: xscreensaver: /usr/bin/xscreensaver
  
  (1 distinct packages)
  These processes do not seem to have an associated init script to restart them:

As in bug #688808 (which I hope you are going to fix soon, by applying
the patch I provided for that...), checkrestart tells me that there is
1 process that I should restart, but it does not tell me which program
it's talking about.
I need to use the "-v" option to figure it out...

This seems to be caused by the ignorelist check, which is triggered
whenever the package name *includes* one ignorelist item (rather than
when the package name is *equal* to one ignorelist item).
As a consequence, it seems to me that all packages that include
the substring "screen" in their names are ignored!

The attached patch (which I think is so trivial that it is not
copyrighted) fixes the issue for me:

  # ./a/checkrestart 
  Found 1 processes using old versions of upgraded files
  (1 distinct program)
  (1 distinct packages)
  These processes do not seem to have an associated init script to restart them:
  # ./b/checkrestart 
  Found 1 processes using old versions of upgraded files
  (1 distinct program)
  (1 distinct packages)
  These processes do not seem to have an associated init script to restart them:
  xscreensaver:
          2823    /usr/bin/xscreensaver

Please apply this patch as soon as possible, assuming that you agree
with the proposed fix, of course...

Thanks for your time!
Bye.


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (800, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages debian-goodies depends on:
ii  curl                      7.26.0-1
ii  dctrl-tools [grep-dctrl]  2.22.2
ii  perl                      5.14.2-16
ii  python                    2.7.3~rc2-1
ii  whiptail                  0.52.14-10

Versions of packages debian-goodies recommends:
ii  lsof  4.86+dfsg-1

Versions of packages debian-goodies suggests:
ii  popularity-contest  1.56
ii  xdg-utils           1.1.0~rc1+git20111210-6
ii  zenity              3.4.0-2

-- no debconf information

Attachment: checkrestart_do_not_ignore_too_much.diff.gz
Description: GNU Zip compressed data

Reply via email to