[Bug 1072518] Re: Restart networking crashes dbus and the desktop manager
Bryan Gonzalez
bgonza868 at gmail.com
Wed Mar 19 15:37:18 UTC 2014
At Simon McVittie's suggestion (from dbus @freedesktop.org) and reding
some of the comments from the bug duplicates of this bug. The general
thought is that the Upstart/Sysvinit conflict may lie at the root of
this issue. Since 2 Ubuntu LTS releases ago, the dev's decided to use
Upstart for the system init. Upstart is meant to be a complete
replacement for Sysvinit. In the interest of backwards compatibility,
the Upstart devs made some allowances so that people/packages still
using sysvinit-style init scripts could continue to do so. The
/etc/init.d/networking init script is written for sysvinit in such a way
that calling it uses sysvinit methods and breaks dbus which is written
for Upstart.
The solution here is to have the maintainer of the networking init
script fix/rewrite it so that it is Upstart compatible. This may mean
that the networking init script will lose compatibility with sysvinit,
but they need to get over it. Sysvinit is deprecated/obsolete and too
much effort is being wasted into maintaining it when the future is
Upstart. And especially because Ubuntu's official init is Upstart, it
would make sense to make it work with this package rather than a past
one.
Eventually, when sysvinit is long dead, there will be no need for init
scripts as Upstart does not need them, but fixing the current script is
a good place to start.
/etc/init.d/networking is contained within package initscripts which is
part of the sysvinit package which is maintained by the Ubuntu Core
Developers mailto:ubuntu-devel-discuss at lists.ubuntu.com
** Also affects: upstart (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dbus in Ubuntu.
https://bugs.launchpad.net/bugs/1072518
Title:
Restart networking crashes dbus and the desktop manager
Status in D-Bus:
Confirmed
Status in “dbus” package in Ubuntu:
Confirmed
Status in “sysvinit” package in Ubuntu:
New
Status in “upstart” package in Ubuntu:
New
Bug description:
=========== WARNING ===============
Doing:
sudo restart networking
or
sudo /etc/init.d/networking restart.
============ WILL TEAR DOWN MOST OF YOUR DESKTOP =============
Networking is a generic job which brings up all networking interfaces
in the right order at boot.
It should never be stopped nor restarted.
It is only stop at shutdown to correctly bring down all the networking
interfaces in the right order again.
=========== DO NOT RESTART NETWORKING ===============
If you want to reconfigure all networking interface you can use
something like:
ifdown eth0
ifup eth0
Or all interfaces with:
ifdown -a --exclude=lo && ifup -a --exclude=lo
To manage notifications about this bug go to:
https://bugs.launchpad.net/dbus/+bug/1072518/+subscriptions
More information about the foundations-bugs
mailing list