-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: debian-goodies
Version: 0.36
Severity: normal

There is a logic in the programm checkrestart to exclude files under
/var/run or /var/log or /tmp but this does not apply to files marked as
"DEL" in lsof output.

Please do the check also for the "DEL" filedescriptor check. Otherwise I
get many false positive as I use nscd. (I'm not happy with that but I
have a ldap setup and so I have to use nscd as the implementation of
ldap in libc is such kind of brainfuck!)

To the logic of the script, there is a "if
f.startswith('/var/log/'):\ncontinue" but this only apply to the for
loop "for f in self.files:". The for loop "for f in self.descriptors:"
is on the same indenting level so it will run also in the case when such
a file match happens.

See also
http://www.network-theory.co.uk/docs/pytut/breakandcontinueStatements.html
(find with google)

- -- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (800, 'stable'), (700, 'testing'), (600, 'unstable'), (500, 
'oldstable'), (60, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.4.34
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1) (ignored: LC_ALL set to 
de_DE)

Versions of packages debian-goodies depends on:
ii  curl                      7.16.2-4       Get a file from an HTTP, HTTPS or 
ii  dctrl-tools               2.9.3          Command-line tools to process Debi
ii  dialog                    1.0-20060221-3 Displays user-friendly dialog boxe
ii  grep-dctrl                2.9.3          Grep Debian package information - 
ii  lsof                      4.77.dfsg.1-3  List open files
ii  python                    2.4.4-2        An interactive high-level object-o
ii  whiptail                  0.52.2-10      Displays user-friendly dialog boxe

debian-goodies recommends no packages.

- -- no debconf information

- -- 
Klaus Ethgen                            http://www.ethgen.de/
pub  2048R/D1A4EDE5 2000-02-26 Klaus Ethgen <[EMAIL PROTECTED]>
Fingerprint: D7 67 71 C4 99 A6 D4 FE  EA 40 30 57 3C 88 26 2B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBRuUTwJ+OKpjRpO3lAQIidwf/W7i0YOuMtFXQxik79vw78x/katO/ZRFi
KSLRk8M07HTYDDczhU5tPQLAKt5MDFJhFvQZm36A2SzcGrTwVPwSr6WUWSrfa2Jx
oAjghdRoBOB4b063QQOjBp3SF/ePgK14+aKqTzoeqsvT09yWvm07mAkpTggOoUdW
vNYH3P2uAw6M1GeURIouPVKLzzgicCtR7o8Cjq6gZ85PNQ0hcv1U6QHb3NxWLxs2
99QV19V0vetFHQQ6jb9AJKBGPJGjuAcjBjIYjY0N50g7YjsgHn5MtaBxhe+EGbFC
W+22U+VLgEWb+LqnrZWkL2dCjyhiOnn7Ds8nuJ+K+4WOn7/PuKu2Og==
=qAuo
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to