Your message dated Mon, 28 Feb 2011 12:33:25 +0000
with message-id <[email protected]>
and subject line Bug#613726: fixed in ipsec-tools 1:0.7.3-16
has caused the Debian Bug report #613726,
regarding Adaption of init script for GNU/kFreeBSD
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
613726: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=613726
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: racoon
Version: 1:0.7.3-15
Severity: normal
We have forgotten to adapt the init script for
proper cooperation with GNU/kFreeBSD. Presently
the script test the presence of "/proc/net/pfkey",
which is not implemented for GNU/kFreeBSD.
I include a difference file that produces a
functional startup in my system. Before judging
it as complete, it should also be tested (to deny
starting) on a GNU/kFreeBSD system where the kernel
lacks the configuration for IPsec. I have reasons
to believe that the present mechanism should be
sufficient, but it must be checked first.
The use of "set -e" forced me to use the construct
result=0
setkey -DP >/dev/null || result=$?
in order to capture the exit code.
Best regards,
Mats Erik Andersson, DM
--- /etc/init.d/racoon.orig 2011-02-05 14:19:37.000000000 +0100
+++ /etc/init.d/racoon 2011-02-16 20:59:30.000000000 +0100
@@ -54,13 +54,23 @@
return 0
}
-if ! check_kernel ; then
+if [ "$(uname -s)" = "Linux" ] && ! check_kernel ; then
echo "racoon - IKE keying daemon will not be started as $PROC_FILE is
not" 1>&2
echo " available or a suitable 2.6 (or 2.4 with IPSEC
backport)" 1>&2
echo " kernel with af_key.[k]o module is not installed." 1>&2
exit 0
fi
+if [ "$(uname -s)" = "GNU/kFreeBSD" ]; then
+ result=0
+ setkey -DP >/dev/null || result=$?
+ if [ $result -ne 0 ]; then
+ echo "racoon - IKE keying daemon will not be started as this
kFreeBSD kernel" 1>&2
+ echo "is not compiled with support for IPsec." 1>&2
+ exit 0;
+ fi
+fi
+
case $CONFIG_MODE in
racoon-tool)
# /usr/sbin/racoon-tool command complies with Debian Policy so just do this:
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Source: ipsec-tools
Source-Version: 1:0.7.3-16
We believe that the bug you reported is fixed in the latest version of
ipsec-tools, which is due to be installed in the Debian FTP archive:
ipsec-tools_0.7.3-16.debian.tar.gz
to main/i/ipsec-tools/ipsec-tools_0.7.3-16.debian.tar.gz
ipsec-tools_0.7.3-16.dsc
to main/i/ipsec-tools/ipsec-tools_0.7.3-16.dsc
ipsec-tools_0.7.3-16_i386.deb
to main/i/ipsec-tools/ipsec-tools_0.7.3-16_i386.deb
racoon_0.7.3-16_i386.deb
to main/i/ipsec-tools/racoon_0.7.3-16_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Stefan Bauer <[email protected]> (supplier of updated ipsec-tools
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 28 Feb 2011 13:21:18 +0100
Source: ipsec-tools
Binary: ipsec-tools racoon
Architecture: source i386
Version: 1:0.7.3-16
Distribution: experimental
Urgency: low
Maintainer: Stefan Bauer <[email protected]>
Changed-By: Stefan Bauer <[email protected]>
Description:
ipsec-tools - IPsec tools for Linux
racoon - IPsec IKE keying daemon
Closes: 613726
Changes:
ipsec-tools (1:0.7.3-16) experimental; urgency=low
.
* Adjust racoon init-script to handle the start with kFreeBSD kernel
as well. Thanks to Mats Erik Andersson (Closes: #613726)
.
* Enable --with-libldap at build time
Checksums-Sha1:
b9a92f9e87a78aefff25a84a1e410193e202c1aa 1840 ipsec-tools_0.7.3-16.dsc
1b53b8c6ba455c0aa7e173ebba996ed9b28806af 164440
ipsec-tools_0.7.3-16.debian.tar.gz
da05c1488c80cdc2c725a6bb1796f082c6c969b0 82904 ipsec-tools_0.7.3-16_i386.deb
83e68b440b6add0fe1998e95b6fb927291411ae6 387790 racoon_0.7.3-16_i386.deb
Checksums-Sha256:
ee947bc326a1aa6ec7910fcceeef46338cf0023427e0eb32293c9f3bcb5aa2dd 1840
ipsec-tools_0.7.3-16.dsc
3f4df542dd8e6a23ee1d584d3af858e5dc64a4160d70454e75432bc2bdf75ca3 164440
ipsec-tools_0.7.3-16.debian.tar.gz
9ae897ab576d567f80697c92ce80640e1babe3de3e423c3b4b2c17b65d997add 82904
ipsec-tools_0.7.3-16_i386.deb
d000108b5f8812faa89e942e1460a2eb0acecb1cb86a70ef8eed2b00c6e258ab 387790
racoon_0.7.3-16_i386.deb
Files:
f71b80b52a2a73ec6c27d926267400f4 1840 net extra ipsec-tools_0.7.3-16.dsc
4e42b247ed8a389a2cf71b9c86e05618 164440 net extra
ipsec-tools_0.7.3-16.debian.tar.gz
2fe3fbd20d8dfafea54a561960c538d6 82904 net extra ipsec-tools_0.7.3-16_i386.deb
0983dd8489c0b8b46a6fdf36d345e32b 387790 net extra racoon_0.7.3-16_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBCAAGBQJNa570AAoJEGvKetR568TsmRYQAJthu5BibpTGfR4K0+CSign8
fqVttAPPDkx3N/5Ji0wOYBXciGWONsCadBrCLwLC5GnuChK2n5Q/nCwE1hLAU5rl
Ftn7VIXHEms4BEtrqWskgTzRYOtAdBJR/XAJ7eyDSGOj+iITR4F+jMSPU8JgYvb9
fvbMftw5DWG61pKVdQlk5rvpqf7rfrA7gqnhcsExzJ6arCF22Ah+iFbrEp4w4wGt
KpGn+OSrrCHpylWEm8aWrMNG7cwoqekL3nLlr9WprIV3HUG8U5y944CsgcUZLnj3
dLcQLx8+MmZSFSKQwUkHqSNkEqQmujca0Fx9cpwkaB0qdfBS/Dm2TZjUZVHV5XQK
SVu21dxo/f5Q3PCfKVzEU1OiLx2TbaXhMqe/JEDmGrJXHLQelMPHi2Alq0UJ08Kz
I5n66SpRc0742DrJD5wWSqcJHBfdGPXRcvqaoNcbzUe3a0W64x1iy17liWLuK2aW
x95cKF8dDeENBHcNJxMbnnGNKjMLcR41MknvUVLcFBkiamrx8B5KQYnYLzPovjh8
pkGPyTA/j62zNWgXoD/PISrjVXvRMFIi2h4GXS0/tK9w3t1OJOt4PHrv3CEhHx3C
KweD+UwrhQRcdl1uUunYfEr9IDY3EA9E33xoF758MvRUp3B2EBDzpIqRCEC5ww1w
J8ne/GaFjMl1FPT3cm4T
=i39z
-----END PGP SIGNATURE-----
--- End Message ---