Bug 725405 - NetworkManager.service failed
Summary: NetworkManager.service failed
Status: RESOLVED WONTFIX
Alias: None
Product: openSUSE 12.1
Classification: openSUSE
Component: Network (show other bugs)
Version: Factory
Hardware: Other Other
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Frederic Crozat
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-20 10:03 UTC by Andreas Jaeger
Modified: 2011-11-17 14:03 UTC (History)
2 users (show)

See Also:
Found By: Product Management
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Jaeger 2011-10-20 10:03:39 UTC
I have NetworkManager=no in /etc/sysconfig...

and see with
systemctl --failed that NetworkManager.service failed.

systemctl status NetworkManager.service gives me:

NetworkManager.service - Network Manager
          Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled)
          Active: failed since Thu, 20 Oct 2011 11:54:52 +0200; 4min 32s ago
         Process: 548 ExecStartPre=/usr/bin/test x${NETWORKMANAGER} = xyes (code=exited, status=1/FAILURE)
          CGroup: name=systemd:/system/NetworkManager.service


This looks ugly.

This is build 378 - RC1 Candidate
Comment 1 Frederic Crozat 2011-10-20 10:44:44 UTC
Unfortunately, I don't see another way to prevent NM to be started, since we rely on external configuration file ..
Comment 2 Andreas Jaeger 2011-10-20 11:13:05 UTC
Werner, any ideas?
Comment 3 Dr. Werner Fink 2011-10-20 12:17:52 UTC
Without using ugly generators there is no way in systemd and it seems that this
is wanted by upstream and therefore implemented by design (no /etc/sysconfig
support, no extended scripting in service units).

One could use something like

     /lib/systemd/system/network.target            (this one exists)
     /lib/systemd/system/network.target.wants/

and link in NetworkManager.service if NM is required by

     /etc/sysconfig/network/config

into the directory

     /lib/systemd/system/network.target.wants/

and otherwise the other way of enabling network.  But the link is the
configuration and not the variable NETWORKMANAGER
Comment 4 Marius Tomaschewski 2011-11-14 15:56:43 UTC
Frederic,
is this a wontfix?
Comment 5 Frederic Crozat 2011-11-17 14:03:37 UTC
yes, let's close it as wontfix