Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154509 - Stopping Tun/Tap interface does not remove/destroy it when using tunctl (usermode-utilities)
Summary: Stopping Tun/Tap interface does not remove/destroy it when using tunctl (user...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-08 15:20 UTC by Andrew Lambe
Modified: 2006-11-08 15:59 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Lambe 2006-11-08 15:20:06 UTC
When stopping Tun/Tap interface, a syntax error in the tuntap rcscript prevents  removal/destruction of the iface when using tunctl from usermode-utilities.

In /lib/rcscripts/net/tuntap.sh on line 94, ${fiace} should be ${iface}.
See diff below.

Error present in baselayout-1.12.6/net-scripts/net/tuntap.sh 

diff:
--- /lib/rcscripts/net/tuntap.sh~       2006-11-07 15:09:00.000000000 -0600
+++ /lib/rcscripts/net/tuntap.sh        2006-11-08 16:35:43.000000000 -0600
@@ -91,7 +91,7 @@
                        --dev-type "$(get_options tuntap)" \
                        --dev "${iface}" > /dev/null
        else
-               tunctl -d "${fiace}" >/dev/null
+               tunctl -d "${iface}" >/dev/null
        fi
        eend $?
 }
Comment 1 Roy Marples (RETIRED) gentoo-dev 2006-11-08 15:59:20 UTC
Fixed in baselayout-1.13.0_alpha6
Will also be fixed in baselayout-1.12.7

Thanks for the patch :)