[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#565729: Logrotate postrotate script fails when vuurmuur is disabled or not running



Package: vuurmuur
Version: 0.8~beta1-1
Severity: normal

When vuurmuur_log is not running (because vuurmuur is installed but not
used or not currently running), the postrotate script fails:

	postrotate /bin/kill -HUP `pidof vuurmuur_log`

pidof outputs nothing, so kill outputs a usage error.

This can probably be solved by putting a "pidof vuurmuur_log &&" before
the current script (though this would still cause a non-zero return
value, so something more fanycy might be required).

Gr.

Matthijs

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-rc8 (PREEMPT)
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 vuurmuur depends on:
ii  libvuurmuur                  0.8~beta1-1 Iptables frontend. Common library 

Versions of packages vuurmuur recommends:
ii  iproute                      20090324-1  networking and traffic control too
ii  iptables                     1.4.6-2     administration tools for packet fi
ii  vuurmuur-conf                0.8~beta1-1 Iptables frontend. Ncurses GUI, fo

vuurmuur suggests no packages.

-- no debconf information



Reply to: