|
Bugzilla – Full Text Bug Listing |
| Summary: | NetworkManager.service failed | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 12.1 | Reporter: | Andreas Jaeger <aj> |
| Component: | Network | Assignee: | Frederic Crozat <fcrozat> |
| Status: | RESOLVED WONTFIX | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Major | ||
| Priority: | P5 - None | CC: | fcrozat, werner |
| Version: | Factory | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Product Management | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
Unfortunately, I don't see another way to prevent NM to be started, since we rely on external configuration file .. Werner, any ideas? 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
Frederic, is this a wontfix? yes, let's close it as wontfix |
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