The issue I had was resolved, however I can still recreate the problem. The
problem is 2 fold for me:
1) User error in setting invalid values to the /etc/network/interface
2) System error due to it locking up the machine completely and requiring a
reboot in order to resolve issue 1.
Side note: The thing I was doing was pretty routine - I was setting a
static IP to the machine.
Anyways, here is what I did to cause the system to lock up as is
reported above:
1) edit /etc/network/interfaces
2) add the following configuration to the file:
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
# The primary network interface
iface eth0 inet static
address 192.168.1.130
gateway 192.168.1.1
netmask 255.255.255.0
dns-nameservers 8.8.8.8 8.8.4.4
# Two things to note from the above:
# a) auto eth0 is missing,
# b) the dns-nameservers was incorrect for me.
3) Save the file, and issue:
sudo services networking restart
4) Observe that the system will lock up completely due to an invalid
configuration
To Resolve the issue, and successfully restart the networking service without
it freezing:
1) edit /etc/network/interfaces
2) add the following configuration to the file:
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.105
netmask 255.255.255.0
gateway 192.168.1.1
network 192.168.1.0
broadcast 192.168.1.255
dns-nameservers 8.8.8.8 192.168.1.1
# Note that the above now has the missing auto eth0, valid dns-nameservers,
# and also added (for good measure) the broadcast address
3) Save the file
4) Restart the service:
sudo service networking restart
5) Observe that the service restarts, the system does not hang up, and all is
well once again in the world
Again, the main issue for me was user error. I'm not really sure the
entire system should lock up and become unresponsive when this happens.
Maybe it should - but that's up to the development team and community to
decide I guess.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1235516
Title:
service networking restart causes Xorg crash
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1235516/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs