Bug 157512

Summary: starting zmd on a machine with no NetworkManager running, I get an exception thrown in the log files
Product: [openSUSE] SUSE Linux 10.1 Reporter: Andreas Jaeger <aj>
Component: ZenworksAssignee: James Willcox <snorp>
Status: RESOLVED FIXED QA Contact: Mauro Parra Miranda <mauro>
Severity: Critical    
Priority: P5 - None    
Version: Beta 7   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Andreas Jaeger 2006-03-13 07:34:56 UTC
My system does not have NetworkManager running.  Starting zmd I get errors in the log files.  This should not happen, a not running NetworkManager is the default setup for our Enterpriser Server and should not give any errors.

/var/log/messages has:
Mar 13 08:31:24 reger zmd: ModuleLoader (ERROR): Novell.Zenworks.Zmd.MODULE_LOAD_ERROR


And /var/log/zmd-messages.log contains:

13 Mar 2006 08:31:24 INFO  ModuleLoader         Could not load module 'Novell.Zenworks.Zmd.NetworkMa
nagerModule': System.Reflection.TargetInvocationException: Exception has been thrown by the target o
f an invocation. ---> System.ApplicationException: Name 'org.freedesktop.NetworkManager' does not ex
ist.
in <0x000ba> DBus.Service:Get (DBus.Connection connection, System.String name)
in <0x0003e> NetworkManager.Manager:.ctor ()
in <0x00055> Novell.Zenworks.Zmd.NMStatusProvider:.ctor ()
in <0x00021> Novell.Zenworks.Zmd.NetworkManagerModule:ModuleInit ()
in <0x00000> <unknown method>
in (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[])
in <0x000da> System.Reflection.MonoMethod:Invoke (System.Object obj, BindingFlags invokeAttr, System
.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)---
End of inner exception stack trace ---

in <0x00179> System.Reflection.MonoMethod:Invoke (System.Object obj, BindingFlags invokeAttr, System
.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
in <0x00034> System.Reflection.MethodBase:Invoke (System.Object obj, System.Object[] parameters)
in <0x0029e> Novell.Zenworks.Zmd.ModuleLoader:Init (System.Reflection.Assembly a)
13 Mar 2006 08:31:24 ERROR ModuleLoader         Novell.Zenworks.Zmd.MODULE_LOAD_ERROR
13 Mar 2006 08:31:26 INFO  RedCarpetBackend     Loading installed packages
Comment 1 James Willcox 2006-03-13 21:32:00 UTC
Fixed in svn, thanks