Re: [Utopia] NetworkManager 0.3.1



On Tue, 2004-10-19 at 17:34 -0400, Dan Williams wrote:
> Hi,
> 
> I was under the impression that the person who'd contributed the Gentoo
> backend would be packaging NetworkManager soon, but I guess that hasn't
> happened yet.  The website has been updated.  Thanks.
> 
> WRT initscripts, the current answer is "don't use both."  System
> initscripts will have to be changed to not do their thing when
> NetworkManager is active.  This is fairly high on the priority list.  On
> boot however, NetworkManager will respect an already-existing wired
> connection that's been set up by the initscripts, but that's it.  If you
> change the configuration out from under NM, it will get annoyed with you
> and will either become confused, or switch the configuration right back
> to the way it was before the scripts were run.
> 
> Dan

Thanks.

I've looked a bit at the back end, and it does appear to do everything
manually.

The problem with this on Gentoo is that it's init scripts are dependancy
based.  If nothing provides the "net" capability, then things that
depends on it, like ssh, portmap, netmount, etc., will not start.  At
the very least, something needs to provide a dummy net capability at
boot time, so all the correct init scripts complete.  Maybe the
NetworkManager init script could provide the "net" capability, as per
the attached (untested) patch?

Daniel

--- initscript/Gentoo/NetworkManager.orig	2004-10-19 17:47:54.569229800 -0400
+++ initscript/Gentoo/NetworkManager	2004-10-19 17:48:02.235064416 -0400
@@ -25,6 +25,7 @@
 
 depend() {
 	need hald
+	provide net
 }
 
 start()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]