[Bug 1072518] Re: Restart networking crashes dbus and the desktop manager
** No longer affects: dbus (Ubuntu) ** No longer affects: sysvinit (Ubuntu) ** No longer affects: upstart (Ubuntu) ** Project changed: dbus => ubuntu ** No longer affects: ubuntu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072518 Title: Restart networking crashes dbus and the desktop manager To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1072518/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072518] Re: Restart networking crashes dbus and the desktop manager
Please see bug 1430934 for this issue under systemd. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072518 Title: Restart networking crashes dbus and the desktop manager To manage notifications about this bug go to: https://bugs.launchpad.net/dbus/+bug/1072518/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072518] Re: Restart networking crashes dbus and the desktop manager
Now you got a broken system. How can I bring down all interfaces at once now? If I have network-manager enabled is nm who controls the interfaces and the ifup/ifdown scripts don't to their work. Now I have to take my hands out of the keyboard to move the mouse to the up right corner of the screen. And you call this GNU/Linux for humans. If it is for humans it must be for all kinds of humans and do it easier and quicker to manage. Now you've slowed me and other people down. If there's a way to restart all interfaces at once while I'm using a terminal please tell me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072518 Title: Restart networking crashes dbus and the desktop manager To manage notifications about this bug go to: https://bugs.launchpad.net/dbus/+bug/1072518/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072518] Re: Restart networking crashes dbus and the desktop manager
This bug was fixed in the package ifupdown - 0.7.47.2ubuntu2 --- ifupdown (0.7.47.2ubuntu2) trusty; urgency=medium [ Stéphane Graber ] * Allow setting the MTU and HWADDR on manual interfaces. (LP: #1294807) * The above change also means that manual interfaces will now be brought up and down (ias many users expected until now). * Disable link.defn as it's not covering all the cases supported by the vlan and bridge hooks and so causes more harm than good at this point. (LP: #1295304) * Also enable network-interface-container for OpenVZ. (LP: #1294155) * Update networking.init to exit 1 on reload when on an upstart system. * Pass --force to ifdown in network-interface to silence errors on non-existing interfaces. (LP: #1295620) [ Dimitri John Ledkov ] * Prevent the ability to stop or restart networking service interactively. As that is not supported. Networking job is only stopped during shutdown sequence. (LP: #1072518) -- Stephane Graber stgra...@ubuntu.com Wed, 19 Mar 2014 18:04:49 -0400 ** Changed in: ifupdown (Ubuntu) Status: In Progress = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072518 Title: Restart networking crashes dbus and the desktop manager To manage notifications about this bug go to: https://bugs.launchpad.net/dbus/+bug/1072518/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072518] Re: Restart networking crashes dbus and the desktop manager
** Also affects: sysvinit (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072518 Title: Restart networking crashes dbus and the desktop manager To manage notifications about this bug go to: https://bugs.launchpad.net/dbus/+bug/1072518/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072518] Re: Restart networking crashes dbus and the desktop manager
Multiple users affected ** Changed in: sysvinit (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072518 Title: Restart networking crashes dbus and the desktop manager To manage notifications about this bug go to: https://bugs.launchpad.net/dbus/+bug/1072518/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072518] Re: Restart networking crashes dbus and the desktop manager
Multiple users affected ** Changed in: upstart (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072518 Title: Restart networking crashes dbus and the desktop manager To manage notifications about this bug go to: https://bugs.launchpad.net/dbus/+bug/1072518/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072518] Re: Restart networking crashes dbus and the desktop manager
** Branch linked: lp:ubuntu/sysvinit -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072518 Title: Restart networking crashes dbus and the desktop manager To manage notifications about this bug go to: https://bugs.launchpad.net/dbus/+bug/1072518/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072518] Re: Restart networking crashes dbus and the desktop manager
I don't believe that this has anything to do with an upstart/sysvinit conflict. The problem is simply that restart networking is not a sensible thing to do on a desktop system. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072518 Title: Restart networking crashes dbus and the desktop manager To manage notifications about this bug go to: https://bugs.launchpad.net/dbus/+bug/1072518/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072518] Re: Restart networking crashes dbus and the desktop manager
@Bryan Gonzalez: Upstart is not the future any more, systemd is: http://www.omgubuntu.co.uk/2014/02/ubuntu-debian-switching-systemd -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072518 Title: Restart networking crashes dbus and the desktop manager To manage notifications about this bug go to: https://bugs.launchpad.net/dbus/+bug/1072518/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072518] Re: Restart networking crashes dbus and the desktop manager
Restarting the networking subsystem is not a task that a user would need to complete on a regular basis. I grant you that. However, there are a few times that this is necessary and it is not acceptable to respond: a) don't perform said task or b) perform it using another command X The problem is that we have a method to perform this task that is tried and tested for many years. If the functionality is defunct, then it needs to be removed so that all the content online can be updated so that new users are not confused. OR The functionality needs to be updated to work with the current programs. Inaction is not an option. It's against the creed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072518 Title: Restart networking crashes dbus and the desktop manager To manage notifications about this bug go to: https://bugs.launchpad.net/dbus/+bug/1072518/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072518] Re: Restart networking crashes dbus and the desktop manager
@Vincas Thanks for the information. I had not read about the formal decision. However, you are still agreeing with me that sysvinit is deprecated. So whether it's for Upstart or Systemd, the existence of the now defunct networking init script still needs to be addressed since for the forseeable future, 14.04 LTS included, we will still be using Upstart. SRC: http://www.markshuttleworth.com/archives/1316 @Steve I'm surprised. I just got done reading https://wiki.debian.org/Debate/initsystem/upstart which indicates you are the position maintainer. I was actually referring to this debate without directly quoting it. So I can see how this bug strikes a nerve with you. But debating aside, the issue (the networking init script) still needs to be addressed. My preference is to fix the script so that it works correctly with Upstart, for as stated above, we will still be using it for some time. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072518 Title: Restart networking crashes dbus and the desktop manager To manage notifications about this bug go to: https://bugs.launchpad.net/dbus/+bug/1072518/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072518] Re: Restart networking crashes dbus and the desktop manager
** Changed in: dbus (Ubuntu) Status: Confirmed = Invalid ** Changed in: sysvinit (Ubuntu) Status: Confirmed = Invalid ** Changed in: upstart (Ubuntu) Status: Confirmed = Invalid ** Also affects: ifupdown (Ubuntu) Importance: Undecided Status: New ** Changed in: ifupdown (Ubuntu) Status: New = In Progress ** Changed in: ifupdown (Ubuntu) Importance: Undecided = Critical ** Changed in: ifupdown (Ubuntu) Assignee: (unassigned) = Dimitri John Ledkov (xnox) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072518 Title: Restart networking crashes dbus and the desktop manager To manage notifications about this bug go to: https://bugs.launchpad.net/dbus/+bug/1072518/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072518] Re: Restart networking crashes dbus and the desktop manager
** Patch added: lp1072518.patch https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1072518/+attachment/4032744/+files/lp1072518.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072518 Title: Restart networking crashes dbus and the desktop manager To manage notifications about this bug go to: https://bugs.launchpad.net/dbus/+bug/1072518/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072518] Re: Restart networking crashes dbus and the desktop manager
@xnox sudo service network-manager restart and sudo service network- interface restart both crash dbus too. Is it related to Upstart or Systemd? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072518 Title: Restart networking crashes dbus and the desktop manager To manage notifications about this bug go to: https://bugs.launchpad.net/dbus/+bug/1072518/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072518] Re: Restart networking crashes dbus and the desktop manager
Also, I forgot to mention: Simon McVittie over on freedesktop confirms that both /etc/init.d/networking restart and restart networking function as expected (correctly, no crashes) in Debian with systemd. So this observation adds to why I think it's an upstart or sysvinit issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072518 Title: Restart networking crashes dbus and the desktop manager To manage notifications about this bug go to: https://bugs.launchpad.net/dbus/+bug/1072518/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072518] Re: Restart networking crashes dbus and the desktop manager
** Patch added: lp1072518-no-start.patch https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1072518/+attachment/4032759/+files/lp1072518-no-start.patch ** Changed in: dbus Importance: High = Undecided ** Changed in: dbus Status: Confirmed = New ** Changed in: dbus Remote watch: freedesktop.org Bugzilla #76344 = None ** Changed in: dbus Status: New = Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072518 Title: Restart networking crashes dbus and the desktop manager To manage notifications about this bug go to: https://bugs.launchpad.net/dbus/+bug/1072518/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072518] Re: Restart networking crashes dbus and the desktop manager
Here is updated patch to prevent configuring new interfaces upon calling stop networking / restart networking. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072518 Title: Restart networking crashes dbus and the desktop manager To manage notifications about this bug go to: https://bugs.launchpad.net/dbus/+bug/1072518/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072518] Re: Restart networking crashes dbus and the desktop manager
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-disc...@lists.ubuntu.com ** Also affects: upstart (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072518 Title: Restart networking crashes dbus and the desktop manager To manage notifications about this bug go to: https://bugs.launchpad.net/dbus/+bug/1072518/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072518] Re: Restart networking crashes dbus and the desktop manager
@ ivan-kukobko This sudo service network-manager restart does not crash dbus. This sudo service network-interface restart makes no-sense, as no instance is specified and it's an instance job. Please file separate, new bugs for any issues that you have. And let developers responsible for these component to triage them appropriately. @ bgonza868 Read the job, and look at the events. As it stands now, stopping (or restarting networking service) is intended to only happen during shutdown. As all network interfaces are deconfigured, all network filesystems are unmounted, system dbus is stopped, all graphical user sessions are killed, network-manager/bluetooth/avahi/ofono are all stopped. This is why networking job is only supported to be started on boot, and stopped on shutdown. There is no logic to support interactive stopping or restarting this job in Ubuntu. This has nothing to do with freedesktop, other operating systems, other upstream projects, syvinit, upstart or systemd. This is purely what networking.conf upstart job supports doing as shipped in the ifupdown package in ubuntu today. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072518 Title: Restart networking crashes dbus and the desktop manager To manage notifications about this bug go to: https://bugs.launchpad.net/dbus/+bug/1072518/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072518] Re: Restart networking crashes dbus and the desktop manager
@Dimitri Thanks for the patch. This was all about tying up loose ends. Many unofficial resources on the web and some official ones too explicitly direct users to directly invoke that particular script. Which, if you are not in the loop, as I was and apparently another 119 users were, will lead you to inadvertently crashing your system. This was a left-over deprecated functionality that though 'everyone knows no to use it' will cause damage if used. As you eloquently put it, this functionality no longer has any practical use, therefore it needed to be pruned. Again I thank you. Many tend to forget that Ubuntu's vision is to be the OS for humans. In many ways it has achieved this, but there is still room to improve. You'll find that for many people, Ubuntu is the first non M$ and non Mac OS that they ever experience, making it an excellent learning platform for people. So even though there is a wide gap between gui users and cli users, you'll find a large group somewhere in-between. So that's why it was so important to me to have this issue resolved. If a function is useless yet still carries the potential for harm, then there is no reason for it to exist. So thanks for your assistance. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072518 Title: Restart networking crashes dbus and the desktop manager To manage notifications about this bug go to: https://bugs.launchpad.net/dbus/+bug/1072518/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072518] Re: Restart networking crashes dbus and the desktop manager
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072518 Title: Restart networking crashes dbus and the desktop manager To manage notifications about this bug go to: https://bugs.launchpad.net/dbus/+bug/1072518/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072518] Re: Restart networking crashes dbus and the desktop manager
Reported issue to freedesktop as they maintain dbus ** Bug watch added: freedesktop.org Bugzilla #76344 https://bugs.freedesktop.org/show_bug.cgi?id=76344 ** Also affects: dbus via https://bugs.freedesktop.org/show_bug.cgi?id=76344 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072518 Title: Restart networking crashes dbus and the desktop manager To manage notifications about this bug go to: https://bugs.launchpad.net/dbus/+bug/1072518/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072518] Re: Restart networking crashes dbus and the desktop manager
** Package changed: ubuntu = dbus (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072518 Title: Restart networking crashes dbus and the desktop manager To manage notifications about this bug go to: https://bugs.launchpad.net/dbus/+bug/1072518/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072518] Re: Restart networking crashes dbus and the desktop manager
Launchpad has imported 1 comments from the remote bug at https://bugs.freedesktop.org/show_bug.cgi?id=76344. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2014-03-19T05:50:37+00:00 Bryan Gonzalez wrote: Originally reported by tbys on 2012-10-29: Issuing: sudo restart networking or sudo /etc/init.d/networking restart causes dbus to shutdown, bringing down the desktop manager and does not restart gracefully. Renders the UX useless and forces user to drop to tty1 to fix. This bug is discussed at length in https://bugs.launchpad.net/ubuntu/+bug/1072518 But the above summary accurately describes the problem. Reporting to dbus devs as no relevant bug was found in this bugzilla and is assumed that this is the first notification. As of yet, it is unknown what party is responsible for correcting the problem, but 119 users have reported being affected by this bug. Ubuntu devs have remained quiet thus far. We the users, would appreciate any guidance and would whole-heartedly appreciate a solution. Reply at: https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/1072518/comments/29 ** Changed in: dbus Status: Unknown = Confirmed ** Changed in: dbus Importance: Unknown = High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072518 Title: Restart networking crashes dbus and the desktop manager To manage notifications about this bug go to: https://bugs.launchpad.net/dbus/+bug/1072518/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1072518] Re: Restart networking crashes dbus and the desktop manager
** Summary changed: - Restart networking crashes (apparently) the desktop manager + Restart networking crashes dbus and the desktop manager -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1072518 Title: Restart networking crashes dbus and the desktop manager To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1072518/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs