Ticket #80 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

net/iproute2.sh fails to create and delete tunnels

Reported by: Constantin Baranov <const@const.mimas.ru> Owned by: roy
Priority: major Milestone:
Component: init.d scripts Version:
Keywords: Cc:

Description

Created an attachment (id=29)
Fix typos in tunnel handling code

I have this line in /etc/conf.d/net:
iptunnel_sixxs="mode sit local XXX.XXX.XXX.XXX remote XXX.XXX.XXX.XXX dev ppp0"

Existing tunnel is removing with warning:
# /etc/init.d/net.sixxs stop
net.sixxs | * Bringing down interface sixxs
net.sixxs | * Caching network module dependencies
net.sixxs | * Destroying tunnel sixxs ...
net.sixxs |ioctl: No such device [ !! ]
net.sixxs | * Destroying tunnel sixxs ... [ ok ]
net.sixxs | * Running postdown ...

New tunnel cannot be created:
# /etc/init.d/net.sixxs start
net.sixxs | * Bringing up interface sixxs
net.sixxs |SIOCSIFMTU: No such device
net.sixxs | * Creating tunnel sixxs ...
net.sixxs |Error: either "name" is duplicate, or "sixxs" is a garbage. [ !! ]
net.sixxs | * ERROR: net.sixxs failed to start

Attachments

openrc-iproute2.diff Download (0 bytes) - added by Constantin Baranov <const@const.mimas.ru> 2 years ago.
Fix typos in tunnel handling code

Change History

Changed 2 years ago by Constantin Baranov <const@const.mimas.ru>

Fix typos in tunnel handling code

comment:369 Changed 2 years ago by roy

  • Status changed from new to resolved
  • Resolution set to fixed

Fixed, thanks.

Note: See TracTickets for help on using tickets.