Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 505966 - net-misc/openswan with python 3 - /usr/libexec/ipsec/verify: SyntaxError: invalid syntax
Summary: net-misc/openswan with python 3 - /usr/libexec/ipsec/verify: SyntaxError: inv...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-27 13:20 UTC by Peter Wilmott (RETIRED)
Modified: 2015-04-26 12:58 UTC (History)
0 users

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


Attachments
Patch correcting file paths and specifying python2 in the shebang line. (verify.patch,2.72 KB, patch)
2014-03-27 13:22 UTC, Peter Wilmott (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Wilmott (RETIRED) gentoo-dev 2014-03-27 13:20:52 UTC
When running "ipsec verify" /usr/libexec/ipsec/verify crashes. This is due to the fact that it requires python3 and looks for ss and ip under incorrect paths.

Reproducible: Always

Steps to Reproduce:
1. emerge -av net-misc/openswan
2. ipsec verify
Actual Results:  
SyntaxError: invalid syntax

Or

OSError: [Errno 2] No such file or directory

Expected Results:  
Checking if IPsec got installed and started correctly:
Comment 1 Peter Wilmott (RETIRED) gentoo-dev 2014-03-27 13:22:18 UTC
Created attachment 373636 [details, diff]
Patch correcting file paths and specifying python2 in the shebang line.
Comment 2 Mike Gilbert gentoo-dev 2014-03-28 18:41:52 UTC
I would recommend that you switch to libreswan, where this has already been addressed.
Comment 3 Pacho Ramos gentoo-dev 2015-04-26 12:58:16 UTC
removed