"/etc/init.d/networking restart" causes unity to crash (12.10 beta)

Bug #1066374 reported by Tory
96
This bug affects 22 people
Affects Status Importance Assigned to Milestone
unity (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I ran "/etc/init.d/networking restart" from the terminal and it appeared that Unity crashed as result. The launcher and the top panel disappeared. I was still able to right click on the desktop and get the context menu, the theme from my open chromium windows seems to have had resorted to a default theme of some sort and I wasn't able to type in the chromium window location bar.

Tags: bot-comment
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1066374/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Logan Rosen (logan)
affects: ubuntu → unity (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity (Ubuntu):
status: New → Confirmed
Revision history for this message
Tory (tory-andrew-law) wrote :

I just tried running this command again now that 12.10 is out of beta, and the same issue occurs.

Revision history for this message
Bastien Durel (bastien-durel) wrote :

Same thing here.
"restart networking" crashes unity

Revision history for this message
d.donald (d-donald) wrote :

Hello,

Same problem with Ubuntu server 12.04.1 + gnome-core and Ubuntu desktop 12.04.1

The crash happens with "gnome shell" ou Unity

It depends on the machine but all the desktop environnement can disapear.

Revision history for this message
Yoann H (yoann-hervieux) wrote :

Hi,
Same issue for me on two machines running 12.10.

The only workaround I have found is to restart Unity whenever this happens
(Access a shell with ctrl+alt+1, login, then just type 'unity')

Revision history for this message
Leslie Forester (forester-leslie) wrote :

Confirming the bug. /etc/init.d/networking stop crashes unity with all the updates. Currently :
NAME="Ubuntu"
VERSION="12.04.1 LTS, Precise Pangolin"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu precise (12.04.1 LTS)"
VERSION_ID="12.04"

Revision history for this message
Hector Caicedo (hcaicedo) wrote :

Confirming the bug. /etc/init.d/networking stop crashes unity with all the updates. Currently :
NAME="Ubuntu"
VERSION="12.10"

Revision history for this message
Gary Houston (ghouston) wrote :

This happens to me also. I only notice it when installing a new system, since I don't use Unity otherwise. I just saw it in 13.04:

I don't use network-manager, in fact I've uninstalled it.
I've configured static networks for 3 ethernet cards in /etc/network/interfaces
Running "sudo restart networking" now causes the problem. It doesn't kill the Unity session, but terminates all the running programs and makes it unusable.
All I can do after that is switch to a terminal with ctr-alt-F1 and reboot.

Revision history for this message
Alexander (alexanderfu) wrote :

this happen to me using ubuntu 13.04. when set network manually and restart network unity will crash.

Revision history for this message
Ionut C. (icadariu) wrote :

Same here...

Can someone tell me how can i recover from this without rebooting the system ?

Revision history for this message
Gary Houston (ghouston) wrote :

I've noticed that the same thing happens when using Xubuntu (XFCE), which suggests that it's nothing to do with Unity but has something to do with the underlying layers in the window system. Since X is a networked window system, you may expect something like this to happen, but I don't remember seeing it until the last couple of years.

Once in the console I can use kill -9 to terminate X, but the graphical session manager doesn't restart automatically. In Xubuntu I'd guess that you need to restart lightdm if you want to avoid rebooting.

Revision history for this message
Gary Houston (ghouston) wrote :

I suspect that restarting the networking is also resetting the loopback device and breaking the connections between X clients and the window server. Perhaps the network restart script changed at some point.

Revision history for this message
V字龍(Vdragon) (vdragon) wrote :

Hi, I assumed this is the duplicate issue as bug 1072518, while this report is filed earlier I think the later one is much appropriate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.