Package: lwresd
Version: 1:9.6.0.dfsg.P1-2
Severity: normal
Tags: patch

Hello,
lwresd creates its pid file under /var/run/lwresd/, but the init.d
script thinks that the file is under /var/run/named and fails to stop
the daemon.

This simple patch fixes the problem:

--- a/etc/init.d/lwresd 2009-05-05 21:35:45.000000000 +0200
+++ b/etc/init.d/lwresd 2009-05-05 21:35:55.000000000 +0200
@@ -44,7 +44,7 @@
     stop)
        log_daemon_msg "Stopping domain name service" $NAME
        if start-stop-daemon --stop --quiet  \
-           --pidfile /var/run/named/$NAME.pid --exec $DAEMON; then
+           --pidfile /var/run/lwresd/$NAME.pid --exec $DAEMON; then
            log_end_msg 0
        else
            log_end_msg 1

The alternative is to force lwresd to write its pid file in
/var/run/named with "-i /var/run/named/$NAME.pid".


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

Kernel: Linux 2.6.30-rc4-kgdb-dirty (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.utf8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lwresd depends on:
ii  adduser              3.102               Add and remove users and groups
ii  libbind9-50          1:9.6.0.dfsg.P1-2   BIND9 Shared Library used by BIND
ii  libc6                2.9-4               GNU C Library: Shared libraries
ii  libcap2              2.11-2              support for getting/setting POSIX.
ii  libdb4.7             4.7.25-6            Berkeley v4.7 Database Libraries [
ii  libdns50             1:9.6.0.dfsg.P1-2   DNS Shared Library used by BIND
ii  libgssapi-krb5-2     1.6.dfsg.4~beta1-11 MIT Kerberos runtime libraries - k
ii  libisc50             1:9.6.0.dfsg.P1-2   ISC Shared Library used by BIND
ii  libisccc50           1:9.6.0.dfsg.P1-2   Command Channel Library used by BI
ii  libisccfg50          1:9.6.0.dfsg.P1-2   Config File Handling Library used 
ii  libldap-2.4-2        2.4.15-1.1          OpenLDAP libraries
ii  liblwres50           1:9.6.0.dfsg.P1-2   Lightweight Resolver Library used 
ii  libssl0.9.8          0.9.8g-14           SSL shared libraries
ii  libxml2              2.7.3.dfsg-1        GNOME XML library

Versions of packages lwresd recommends:
ii  libnss-lwres                  0.93-5     NSS module for using bind9's lwres

Versions of packages lwresd suggests:
ii  bind9utils             1:9.6.0.dfsg.P1-2 Utilities for BIND

-- no debconf information

-- 
"Ricorda sempre che sei unico, esattamente come tutti gli altri".



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

Reply via email to