Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 217989
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 217956
Assigned To: Gentoo Linux bug wranglers <bug-wranglers@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Josh Cepek <josh.cepek@usa.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
tap-cleanup-fixed.patch fixed tap-cleanup patch patch Josh Cepek 2008-04-16 17:50 0000 1.46 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 217989 depends on: 209055 Show dependency tree
Bug 217989 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-04-16 17:49 0000
The tap-cleanup patch from bug #209055 is missing a space between the ifconfig
command and the device name. This causes a failure to execute the ifconfig
command and causes the OpenVPN instance to shut down. It affects OpenVPN when
not using the iproute2 USE flag and is fatal when used in client or p2p mode
when ping-restart is in effect as the server cannot restart.

The patch provided for bug #209055 is missing a space after the string
concatenation involving IFCONFIG_PATH. I will include a corrected version of
the patch from bug #209055 that corrects this problem (see next comment for
patch file.)

This is what happens when using p2p (or client) mode with ping-restart:

Tue Apr 15 01:12:51 2008 [test_server] Inactivity timeout (--ping-restart),
restarting
Tue Apr 15 01:12:51 2008 TCP/UDP: Closing socket
Tue Apr 15 01:12:51 2008 /etc/openvpn/down.sh tun0 1500 1542 10.0.0.1 10.0.0.0
init
Tue Apr 15 01:12:52 2008 Closing TUN/TAP interface
Tue Apr 15 01:12:52 2008 /sbin/ifconfigtun0 addr 0.0.0.0
sh: /sbin/ifconfigtun0: No such file or directory
Tue Apr 15 01:12:52 2008 Linux ip addr del failed: could not execute shell
command
Tue Apr 15 01:12:52 2008 Exiting

Obviously the command should be "/sbin/ifconfig tun0 addr 0.0.0.0" and not
/sbin/ifconfigtun0. See the patch with the next comment for an updated version
of the Gentoo tap patch that corrects this problem by adding the needed space.

------- Comment #1 From Josh Cepek 2008-04-16 17:50:42 0000 -------
Created an attachment (id=149965) [details]
fixed tap-cleanup patch

This patch fixes the shell command problem with the original bug #209055
tap-cleanup.patch file.

------- Comment #2 From Alon Bar-Lev (RETIRED) 2008-04-16 17:54:35 0000 -------

*** This bug has been marked as a duplicate of bug 217956 ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug