Bug 745653 - systemd: NETWORKMANAGER="no" causes NetworkManager.service to *FAIL*
Summary: systemd: NETWORKMANAGER="no" causes NetworkManager.service to *FAIL*
Status: RESOLVED INVALID
Alias: None
Product: openSUSE 12.1
Classification: openSUSE
Component: Network (show other bugs)
Version: Final
Hardware: x86-64 Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-07 17:50 UTC by Harald Koenig
Modified: 2012-02-08 09:41 UTC (History)
1 user (show)

See Also:
Found By: ---
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 Harald Koenig 2012-02-07 17:50:28 UTC
I'm using systemd, but no NetworkManager.  this causes network "failures" 
which IMHO should not be labeled as failures as this is the way I decided to configure the system,
the network works ok (now, after fixing bug #744293 ;-)

# systemctl | grep failed
network.service           loaded failed failed        LSB: Configure the localfs depending network interfaces
NetworkManager.service    loaded failed failed        Network Manager


# systemctl  status NetworkManager.service network.service
NetworkManager.service - Network Manager
          Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled)
          Active: failed since Tue, 07 Feb 2012 17:20:36 +0100; 40min ago
         Process: 818 ExecStartPre=/usr/bin/test x${NETWORKMANAGER} = xyes (code=exited, status=1/FAILURE)
          CGroup: name=systemd:/system/NetworkManager.service

network.service - LSB: Configure the localfs depending network interfaces
          Loaded: loaded (/etc/init.d/network)
          Active: failed since Tue, 07 Feb 2012 17:21:07 +0100; 40min ago
         Process: 866 ExecStart=/etc/init.d/network start (code=exited, status=7/NOTRUNNING)
          CGroup: name=systemd:/system/network.service
                  ? 5111 /sbin/dhcpcd --netconfig -L -E -HHH -c
/etc/sysconfig/network/scripts/dhcpcd-hook -t 0 -h t3 eth0


# grep -r NETWORKMANAGER /etc/sysconfig/
/etc/sysconfig/network/config:NETWORKMANAGER="no"



what's the idea in this FAILURE

         Process: 818 ExecStartPre=/usr/bin/test x${NETWORKMANAGER} = xyes (code=exited, status=1/FAILURE)

for NetworkManager.service  ???
Comment 1 Harald Koenig 2012-02-07 17:53:03 UTC
forgot to mention:  this "failure" causes IMHO wrong output for "rcnetwork status"


# rcnetwork status
redirecting to systemctl
network.service - LSB: Configure the localfs depending network interfaces
          Loaded: loaded (/etc/init.d/network)
          Active: failed since Tue, 07 Feb 2012 17:21:07 +0100; 1h 29min ago
         Process: 866 ExecStart=/etc/init.d/network start (code=exited, status=7/NOTRUNNING)
          CGroup: name=systemd:/system/network.service
                  ? 5111 /sbin/dhcpcd --netconfig -L -E -HHH -c /etc/sysconfig/network/scripts/dhcpcd-hook -t 0 -h t3 eth0


since the network did correctly startup and works fine and excactly as configured...
Comment 2 Frederic Crozat 2012-02-08 09:41:32 UTC
this is wanted, NM is handled by a separate service, network.service only handle "ifup" method.