Bug #10562

NM prepare script fails to configure ifcfg script

Added by Lukas Zapletal over 2 years ago. Updated about 2 years ago.

Status:Resolved
Priority:Normal
Assigned To:Lukas Zapletal
Category:Image
Target version:Image 3.0.0
Difficulty: Pull request:
Bugzilla link:1153060
Story points-
Velocity based estimate-

Description

We drop DEFROUTE configuration files via nm-prepare script, but it fails sometimes with:

[root@fdi ~]# systemctl status nm-prepare
nm-prepare.service - Prepares default GW and DNS DHCP confuration for NetworkManager
   Loaded: loaded (/etc/systemd/system/nm-prepare.service; enabled)
   Active: failed (Result: exit-code) since Wed 2015-05-20 11:59:25 UTC; 26min ago
  Process: 487 ExecStart=/usr/bin/nm-prepare (code=exited, status=203/EXEC)
 Main PID: 487 (code=exited, status=203/EXEC)
   CGroup: /system.slice/nm-prepare.service

May 20 11:59:24 fdi systemd[1]: Starting Prepares default GW and DNS DHCP confuration for NetworkManager...
May 20 11:59:25 fdi systemd[1]: nm-prepare.service: main process exited, code=exited, status=203/EXEC
May 20 11:59:25 fdi systemd[1]: Failed to start Prepares default GW and DNS DHCP confuration for NetworkManager.
May 20 11:59:25 fdi systemd[1]: Unit nm-prepare.service entered failed state.

Associated revisions

Revision 06a3f8fd
Added by Lukas Zapletal over 2 years ago

Fixes #10562 - nm-prepare sends output to stdout

Revision 607d4d89
Added by Stephen Benjamin over 2 years ago

Merge pull request #12 from lzap/prepare-stdout-10562

Fixes #10562 - nm-prepare sends output to stdout

History

#1 Updated by Lukas Zapletal over 2 years ago

  • Bugzilla link set to 1153060

#2 Updated by Lukas Zapletal about 2 years ago

  • Status changed from New to Resolved

Resolved in #11241

Also available in: Atom PDF