Package: preload
Version: 0.6.4-1
Severity: normal
Tags: patch

Hi,

the logrotate script refers to /sbin/pidof, which should actually be /bin/pidof
(don't know when it was moved, but definitely in squeeze).
The result is that preload keeps writing to an already deleted log file.

Regards,
        Tobias

-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (150, 'stable'), (100, 'testing'), (50, 'unstable'), (1,
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages preload depends on:
ii  libc6                         2.11.2-10  Embedded GNU C Library: Shared lib
ii  libglib2.0-0                  2.24.2-1   The GLib library of C routines

preload recommends no packages.

preload suggests no packages.

-- no debconf information
--- preload.logrotate.in        2008-10-23 01:08:20.000000000 +0000
+++ preload.logrotate.in.1      2011-03-23 12:56:52.000000000 +0000
@@ -4,6 +4,6 @@
     size=64k
     compress
     postrotate
-       /bin/kill -HUP `/sbin/pidof preload 2>/dev/null` 2> /dev/null || true
+       /bin/kill -HUP `/bin/pidof preload 2>/dev/null` 2> /dev/null || true
     endscript
 }

Reply via email to