[Pkg-utopia-maintainers] Bug#742971: NetworkManager segfaulting
Ronan KERYELL
ronan.keryell at enstb.org
Tue Apr 1 16:56:23 UTC 2014
I noticed that
[70954.015260] NetworkManager[12625]: segfault at 24 ip 000000000046f328 sp 00007fff24013720 error 4 in NetworkManager[400000+106000]
when I have /run/network/ifstate that contains
lo=lo
eth0=routeur
If I remove "eth0=routeur" that works.
Indeed strace-ing NetworkManager shows the segfault just after reading /run/network/ifstate
To have the segfault:
sudo nmcli dev disconnect iface eth0
sudo nmcli con down id 'Wired connection 1'
sudo ifdown eth0
sudo ifup eth0=routeur
sudo /etc/init.d/network-manager restart
The content of my configuration files:
/etc/network/interfaces:
source-directory /etc/network/interfaces.d
iface routeur inet static
address 10.0.0.254
netmask 255.255.255.0
broadcast 10.0.0.255
network 10.0.0.0
/etc/network/interfaces.d/lo:
auto lo
iface lo inet loopback
/etc/network/interfaces.d/eth0
auto eth0
iface eth0 inet dhcp
I hope it can help debugging this issue.
sudo ifdown eth0
makes the segfault to disappear.
By the I am not sure that the nmcli instructions are the good one to
avoid NetworkManager managing eth0 at all...
I needed to add "sudo nmcli con down id 'Wired connection 1'" recently
to avoid some DHCP client launched by the NetworkManager. I guess it a
recent change in the behaviour in a previous version.
Anyway, it should not make NetworkManager to segfault.
Thank you,
--
Ronan.
More information about the Pkg-utopia-maintainers
mailing list