allengwinn n00b

Joined: 21 Aug 2006 Posts: 3
|
Posted: Mon Aug 21, 2006 2:54 pm Post subject: Webmin trashes /etc/conf.d/net |
|
|
This has been going on for awhile, but until recently, the old format for /etc/conf.d/net worked. Now, it's no longer tolerated so I guess it's time to fix Webmin.
From bugzilla...
Webmin's net module writes /etc/conf.d/net in a deprecated format. Initially,
it was the config_ethx="...." with the alias_ethx="..." However, that format
has now been fully deprecated--and webmin just trashes the config.
This means other really useful things like Virtualmin don't work--and end up
trashing your server. So this should proably be masked out until someone fixes
it. Who knows... maybe I'll see if I can get around to it this week.
Seems there was another bad problem with Virtualmin dealing with how it
processed virtual interfaces versus IP addresses under Gentoo.
Anyway, "out of the box" it turns this:
----
config_eth0=( "192.168.1.132 netmask 255.255.255.128 brd 192.168.1.255" )
routes_eth0=( "default gw 192.168.1.254" )
----
into this:
----
config_eth0="( "192.168.1.132 netmask 255.255.255.128 brd 192.168.1.255" )"
routes_eth0="( "default gw 192.168.1.254" )"
alias_eth0="192.168.1.130"
netmask_eth0="255.255.255.128"
broadcast_eth0="192.168.1.255"
----
...which, of course, makes the OS do everything but boot right! |
|