Wind River Support Network

HomeDefectsLIN8-4531
Fixed

LIN8-4531 : NetworkManager-wait-online.service start/stop failed

Created: Aug 22, 2016    Updated: Dec 3, 2018
Resolved Date: Sep 11, 2016
Found In Version: 8.0
Fix Version: 8.0.0.10
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Userspace

Description

Problem Description
======================
NetworkManager-wait-online.service start/stop failed

Logs
======================
root@dell760-lxnetwork-vlan4:/opt/wr-test# systemctl status NetworkManager-wait-online.service
? NetworkManager-wait-online.service - Network Manager Wait Online
   Loaded: loaded (/lib/systemd/system/NetworkManager-wait-online.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2016-08-22 03:29:19 UTC; 2min 3s ago
  Process: 303 ExecStart=/usr/bin/nm-online -s -q --timeout=30 (code=exited, status=203/EXEC)
 Main PID: 303 (code=exited, status=203/EXEC)

Aug 22 03:29:19 dell760-lxnetwork-vlan4 systemd[1]: Starting Network Manager Wait Online...
Aug 22 03:29:19 dell760-lxnetwork-vlan4 systemd[303]: NetworkManager-wait-online.service: Failed at step EXEC spawning /usr/bin/nm-online: No such file or directory
Aug 22 03:29:19 dell760-lxnetwork-vlan4 systemd[1]: NetworkManager-wait-online.service: Main process exited, code=exited, status=203/EXEC
Aug 22 03:29:19 dell760-lxnetwork-vlan4 systemd[1]: Failed to start Network Manager Wait Online.
Aug 22 03:29:19 dell760-lxnetwork-vlan4 systemd[1]: NetworkManager-wait-online.service: Unit entered failed state.
Aug 22 03:29:19 dell760-lxnetwork-vlan4 systemd[1]: NetworkManager-wait-online.service: Failed with result 'exit-code'.
root@dell760-lxnetwork-vlan4:/opt/wr-test# systemctl start NetworkManager-wait-online.service
Job for NetworkManager-wait-online.service failed because the control process exited with error code. See "systemctl status NetworkManager-wait-online.service" and "journalctl -xe" for details.
root@dell760-lxnetwork-vlan4:/opt/wr-test# systemctl restart NetworkManager-wait-online.service
Job for NetworkManager-wait-online.service failed because the control process exited with error code. See "systemctl status NetworkManager-wait-online.service" and "journalctl -xe" for details.
root@dell760-lxnetwork-vlan4:/opt/wr-test# systemctl stop NetworkManager-wait-online.service
root@dell760-lxnetwork-vlan4:/opt/wr-test# systemctl status NetworkManager-wait-online.service
? NetworkManager-wait-online.service - Network Manager Wait Online
   Loaded: loaded (/lib/systemd/system/NetworkManager-wait-online.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2016-08-22 03:32:11 UTC; 27s ago
  Process: 814 ExecStart=/usr/bin/nm-online -s -q --timeout=30 (code=exited, status=203/EXEC)
 Main PID: 814 (code=exited, status=203/EXEC)

Aug 22 03:32:11 dell760-lxnetwork-vlan4 systemd[1]: Starting Network Manager Wait Online...
Aug 22 03:32:11 dell760-lxnetwork-vlan4 systemd[1]: NetworkManager-wait-online.service: Main process exited, code=exited, status=203/EXEC
Aug 22 03:32:11 dell760-lxnetwork-vlan4 systemd[1]: Failed to start Network Manager Wait Online.
Aug 22 03:32:11 dell760-lxnetwork-vlan4 systemd[1]: NetworkManager-wait-online.service: Unit entered failed state.
Aug 22 03:32:11 dell760-lxnetwork-vlan4 systemd[1]: NetworkManager-wait-online.service: Failed with result 'exit-code'.
Aug 22 03:32:30 dell760-lxnetwork-vlan4 systemd[1]: Stopped Network Manager Wait Online.


Expected Behavior
======================
No fail exist.

Workaround

N/A

Steps to Reproduce

To Get The Testing Layer:
------------------------
# git clone git://git.wrs.com/git/projects/wassp-repos/testcases/wrlinux
# cd wrlinux;git checkout WRLINUX_8_0_HEAD

On host:
(1) # configure --enable-board=intel-x86-64 --enable-kernel=standard --enable-rootfs=glibc-std --with-layer=/lpg-build/cdc/WASSP_LINUX_80/testcases/wrlinux/wr-testing/userspace,common --with-template=feature/valgrind,feature/libhugetlbfs,feature/acl,feature/nfsd,feature/oprofile,feature/mariadb,feature/mysql-odbc,feature/LAMP,feature/ipv6,feature/target-toolchain,feature/lttng,feature/xfce --enable-test=yes --enable-build=profiling --enable-jobs=8 --enable-parallel-pkgbuilds=8 --enable-reconfig=yes
(2) # make fs

boot up a target: (Note: You need a client)
(1) # systemctl status NetworkManager-wait-online.service
(2) # systemctl start NetworkManager-wait-online.service
(3) # systemctl stop NetworkManager-wait-online.service

Other Downloads


Live chat
Online