Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284955 - net-misc/openswan-2.6.23 fails to start
Summary: net-misc/openswan-2.6.23 fails to start
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Alin Năstac (RETIRED)
URL: http://www.openswan.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-14 15:52 UTC by Eray Aslan
Modified: 2009-09-17 16:07 UTC (History)
0 users

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


Attachments
re-add setup to Makefile (openswan-2.6.23-add-setup.patch,390 bytes, patch)
2009-09-14 15:53 UTC, Eray Aslan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eray Aslan gentoo-dev 2009-09-14 15:52:31 UTC
# /etc/init.d/ipsec start
 * Starting IPSec ...
/usr/sbin/ipsec: unknown IPsec command `setup' (`ipsec --help' for list)                                                                               [ !! ]
# ipsec --help
Usage: ipsec command argument ...
where command is one of:
        addconn
        auto
        barf
        eroute
        ikeping
        klipsdebug
        look
        newhostkey
        pf_key
        pluto
        ranbits
        rsasigkey
        secrets
        showdefaults
        showhostkey
        showpolicy
        spi
        spigrp
        tncfg
        verify
        whack

Most of these have their own manual pages, e.g. ipsec_auto(8).
See also <http://www.freeswan.org> or the ipsec(8) manual page.
#

The 'setup' program is missing from /usr/libexec/ipsec; hence the above error.  From openswan-2.6.23 Changelog:
[...]
* The init script was mistakenly installed twice, once as 'setup' [Paul/Harald]
[...]

Anyway, one easy way is to add setup back to the programs/setup/Makefile.  Please see the attached patch.


Reproducible: Always
Comment 1 Eray Aslan gentoo-dev 2009-09-14 15:53:30 UTC
Created attachment 204071 [details, diff]
re-add setup to Makefile
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2009-09-17 16:07:43 UTC
Fixed in 2.6.23-r1, thanks!