Summary: | Webmin: Network module trashes /etc/conf.d/net | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Allen Gwinn <allen> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED REMIND | ||
Severity: | minor | CC: | allen, basic, beu, trelane, uberlord |
Priority: | Lowest | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://packages.gentoo.org/search/?sstring=webmin | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Allen Gwinn
2006-08-21 07:50:39 UTC
If you have config_eth0 then only new style config is used If you don't then it tries to support old style. The error is in mixing them. (In reply to comment #1) > If you have config_eth0 then only new style config is used > If you don't then it tries to support old style. > > The error is in mixing them. > Actually, it doesn't. I had one that was the "old style" and, after the latest round of emerge --update --deep world, the "old style" is no longer supported. So probably the best thing is to change Webmin to conform. I'm looking at it right now. Question: would it be safe to *not* read /etc/conf.d/net and just build it based on currently active interfaces and routing? It would tend to (1) reduce the chance of parsing error and (2) allow a more "pristine" /etc/conf.d/net file to be built out of webmin. Also, /etc/conf.d/routes needs to be factored in as well. ...more The only time it seems like this would be a problem is if someone wanted to add an interface that they didn't want active at boot (a temporary alias), and then decided for whatever reason, they wanted to add a permanent alias interface. "But nobody's ever really going to want to do that, are they?" :) Love making assumptions and writing code to carry it out :) (In reply to comment #2) > (In reply to comment #1) > > If you have config_eth0 then only new style config is used > > If you don't then it tries to support old style. > > > > The error is in mixing them. > > > > Actually, it doesn't. I had one that was the "old style" Then open a new bug attaching your full /etc/conf.d/net file as that's news to me. I've got a better way... delete everything out of /etc/conf.d/net then use the Webmin interface to add eth0 back with a static IP address. Then add an alias (eth0:1). Then reboot and watch the console messages. *Yoink* Accidentally resolved. Zzzzzzzz. |