[Mageia-dev] NetworkManager vs initscripts

JA Magallón jamagallon at ono.com
Wed Nov 28 01:33:13 CET 2012


Hi all...

I have a curious problem with NM and initscripts mix...
I tried to move one of my boxes to a full NM setup, no sysv network scripts.
So I set my NetworkManager.conf like this:

[main]
plugins=keyfile

no-auto-default=*

[keyfile]
hostname=werewolf.xxx.xxx

Configured the network with nm-connection-editor (static IP), and got a file
in /etc/NetworkManager/system-connections/Ethernet:

[802-3-ethernet]
duplex=full
mac-address=....

[connection]
id=Ethernet
uuid=cdc62758-00f4-4728-bf94-e2b0f9fb06d9
type=802-3-ethernet
timestamp=1354033074

[ipv6]
method=ignore

[ipv4]
method=manual
dns=....
dns-search=...
addresses1=...
may-fail=false

And finally I deleted ifcfg-eth0 from /etc/sysconfig/network-scripts.

Network starts and stops ok, but on reboot, some process inists on creating
a ifcfg-eth0 file, with this setup:

DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes

which breaks networking on systems that have a fixed IP, and works by chance
if you use DHCP.

Who creates that ? How can I kill it ?

TIA

-- 
J.A. Magallon <jamagallon()ono!com>        \               Winter is coming...


More information about the Mageia-dev mailing list