Bug 1098744 - wrong PATH definition in /usr/libexec/strongswan/_updown
Summary: wrong PATH definition in /usr/libexec/strongswan/_updown
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: strongswan
Version: el6
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Pavel Šimerda (pavlix)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-17 22:47 UTC by rudolf
Modified: 2014-05-19 15:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-19 15:09:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description rudolf 2014-05-17 22:47:10 UTC
Description of problem:

PATH variable defined as PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/sbin" on line 128 in script /usr/libexec/strongswan/_updown is preventing leftfirewall=yes option from working correctly.

Works correctly after changing line as in vanilla strongSwan sources:
PATH="/sbin:/bin:/usr/sbin:/usr/bin:@sbindir@"

Version-Release number of selected component (if applicable): 5.1.3-1.el6

Steps to Reproduce:
1. Set leftfirewall=yes in /etc/strongswan/ipsec.conf conn settings
2. connect with client
3. script will not set iptables forwarding rules and will log this in /var/log/messages:

May 17 21:04:18 vpn charon: 16[CHD] updown: /usr/libexec/strongswan/_updown: line 475: iptables: command not found
May 17 21:04:18 vpn charon: 16[CHD] updown: /usr/libexec/strongswan/_updown: line 478: iptables: command not found


Additional info:

Correct in vanilla strongSwan 5.1.3 sources:
PATH="/sbin:/bin:/usr/sbin:/usr/bin:@sbindir@"

Comment 1 rudolf 2014-05-19 15:10:23 UTC
it seems to be caused by something else afterall


Note You need to log in before you can comment on or make changes to this bug.