Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12837 - FreeS/WAN's init.d/ipsec script
Summary: FreeS/WAN's init.d/ipsec script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Jay Pfeifer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-28 08:15 UTC by Peter Simons
Modified: 2004-08-15 07:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
init.d/ipsec script (ipsec,672 bytes, text/plain)
2003-04-09 14:13 UTC, Jon DeShirley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Simons 2002-12-28 08:15:38 UTC
The 'ipsec' script that comes with the freeswan package is installed in
/etc/init.d verbatim. It is not converted to the Gentoo scripting style that is
and thus it does not allow for the specification of dependencies. As a result,
it is not possible to start ipsec as part of the normal boot process because the
script might try to start the pluto daemon before the network has been
initialized. Could someone maybe fix that?
Comment 1 Jon DeShirley 2003-04-09 14:13:21 UTC
Created attachment 10441 [details]
init.d/ipsec script

Note:  This script requires the current ipsec script to be moved to
/usr/lib/ipsec/ipsec_setup.  ipsec_setup can then be seasoned to taste.

I've tested this on my own system.  It works for startup, unlike the other
script which spews a bunch of eval output and doesn't actually appear to do
anymore than start Pluto.  

Tested on 1.4 r3 w/ FreeS/WAN 1.98b
Comment 2 Benjamin Vestergaard 2003-11-13 09:33:26 UTC
The old script gives me 2 problems...
it seems not to start ipsec,,
and it seems to have a problem shutting down on a thinclient on nfs, as the halt kills the tunnel violently, breaking the connection to the NFSRoot
... i'll check the new one out :)
Comment 3 Jay Pfeifer (RETIRED) gentoo-dev 2004-08-15 07:16:57 UTC
Freeswan is no longer in portage. And the other *swan packages have script based on runscript.sh

Closing.