Package: strongswan-starter
Version: 4.5.2-1
Severity: serious
Tag: patch

Hi,

Lintian is complaining about 2 things in the init file:

E: strongswan-starter: init.d-script-missing-dependency-on-remote_fs 
etc/init.d/ipsec: required-start
E: strongswan-starter: init.d-script-missing-dependency-on-remote_fs 
etc/init.d/ipsec: required-stop

and

I: strongswan-starter: init.d-script-does-not-provide-itself etc/init.d/ipsec

The attached patch should fix these 2 issues.


PS: I'm not too sure if syslog is used by default, but if so it should
also start/stop $syslog.

Cheers

Laurent Bigonville
--- debian/strongswan-starter.ipsec.init.orig	2011-06-08 15:37:03.892754793 +0200
+++ debian/strongswan-starter.ipsec.init	2011-06-08 15:38:26.322754772 +0200
@@ -1,8 +1,8 @@
 #! /bin/sh
 ### BEGIN INIT INFO
-# Provides:          vpn
-# Required-Start:    $network $local_fs
-# Required-Stop:     $network $local_fs
+# Provides:          ipsec
+# Required-Start:    $network $remote_fs
+# Required-Stop:     $network $remote_fs
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: Strongswan IPsec services

Reply via email to