Package: ipsec-tools
Version: 1:0.6.7-1.1
Severity: important
Tags: patch

Hi,

I just discovered that /etc/init.d/setkey restart action actually do
"start" and "stop", which should be opposite.  Please kindly have a look
at my attached patch.

Thanks,
Victor

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

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

Versions of packages ipsec-tools depends on:
ii  libc6                 2.7-5              GNU C Library: Shared libraries
ii  libcomerr2            1.40.3-1           common error description library
ii  libkrb53              1.6.dfsg.3~beta1-2 MIT Kerberos runtime libraries
ii  libpam0g              0.99.7.1-5         Pluggable Authentication Modules l
ii  libssl0.9.8           0.9.8g-3           SSL shared libraries

ipsec-tools recommends no packages.

-- no debconf information
--- setkey.orig 2008-01-10 14:47:31.244843863 +0800
+++ setkey      2008-01-10 14:47:39.268668039 +0800
@@ -32,9 +32,9 @@
        ;;
   restart|force-reload)
        echo -n "Reloading IPsec SA/SP database: "
-       $SETKEY -f $SETKEY_CONF
        $SETKEY -F 
        $SETKEY -FP
+       $SETKEY -f $SETKEY_CONF
        echo "done."
        ;;
   *)

Reply via email to