|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001882||openmediavault||Feature||public||2018-01-27 17:41||2018-01-27 21:10|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Product Version||Erasmus (3.x)|
|Target Version||Fixed in Version||Arrakis (4.x)|
|Summary||0001882: Add 'source-directory interfaces.d' to /etc/network/interfaces|
I'm running an 6in4 tunnel provided by he.net in order to have IPv6 connectivity over a brain-damaged ISP IPv4-only connection.
I had my tunnel interface set up in /etc/network/interfaces file, as I was unable to set it up using OMV GUI. (although that would be fine for the wishlist)
It's something like this
iface 6in4tunnel inet6 v4tunnel
I had to modify some eth0 parameters, so I went to GUI, made the change, applied it, and my tunnel was removed from /etc/network/interfaces.
Ok, my fault for messing up with a automatically generated file by OMV. The problem is that 'man interfaces' states that
'By default, on a freshly installed Debian system, the interfaces file
includes a line to source files in the /etc/network/interfaces.d direc?
Such line is 'source-directory interfaces.d', and such line is not present at /etc/network/interfaces OMV-generated file.
This way, I could set my tunnel in /etc/network/interfaces.d/ipv6-tunnel and it wouldn't get nuked everytime I may need to change something i.e. DNS settings.
|Steps To Reproduce||- Add by hand a tunnel interface to /etc/network/interfaces|
- Go to OMV web, Go to System/Network/interfaces and perform any change.
- Apply it.
- tunnel interface defined at step 1 has vanished from interfaces file and ifdown'ed.
Last edited: 2018-01-27 21:10
Will be available in openmediavault 4.0.18, see https://github.com/openmediavault/openmediavault/commit/1b0df8eea4a4656d3f27749566afe2ae690033a2.
Please note that OMV3 is in maintenance mode and does not get any new features. But you can simple create the omv-mkconf script manually to append the 'source-directory xxxx' line automatically.
|2018-01-27 17:41||diego||New Issue|
|2018-01-27 17:41||diego||Status||new => assigned|
|2018-01-27 17:41||diego||Assigned To||=> votdev|
|2018-01-27 17:41||diego||Tag Attached: network|
|2018-01-27 21:09||votdev||Status||assigned => resolved|
|2018-01-27 21:09||votdev||Resolution||open => fixed|
|2018-01-27 21:09||votdev||Fixed in Version||=> Arrakis (4.x)|
|2018-01-27 21:09||votdev||Note Added: 0005117|
|2018-01-27 21:09||votdev||Category||Bug => Feature|
|2018-01-27 21:09||votdev||Product build||3.0.96 =>|
|2018-01-27 21:10||votdev||Note Edited: 0005117||View Revisions|