[Bug 1301015] Re: Networking does not restart

Stanislav stanislav.r2 at gmail.com
Tue Mar 29 16:10:51 UTC 2016


'networking restart' was found to be able to to break some GUIs, as reported here:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1072518

Apparently '/etc/init.d/networking restart' was bringing down entire
desktop environment (obviously on desktop version of OS). It was
reported for Ubuntu >=12. Also I've noted that the people there where
mentioning frequently also Network Manager, so I can imagine that some
faulty link between some GUI component and networking was introduced,
which may lead under certain conditions to a crash (pls correct me if
you went further in this investigation). So, disabling of networking
restart seems to be quick workaround to overcome some bigger problem in
GUI. Do not ask me why to do the same for the server OS.

I can imagine that with introduction of Unity desktop (exactly starting
from Ubuntu12) which is purely 'consumeristic' with all its blinking,
jumping, scrolling semitransparent stuff, they did not manage to keep
anymore well separated GUI from key system functionalities...

I'm personally using Ubuntu 12 Server with Gnome 3 traditional GUI (w/o
Network Manager) on my laptop for several years already, and
'/etc/init.d/networking restart' did never brake my system. I'm running
Ubuntu 12 server at several servers, and did never get trouble with
networking restart. I've recently installed Ubuntu 14 server + classical
Gnome 3 on one desktop, and after adjusting /etc/init.d/networking as
suggested by Joshua (#33), and restarted it several times after -
nothing bad did happen to the desktop GUI...

It seems to be rather sad trend in OS developing when faults in GUI
determines future of server OS. I want to believe that in the next
future we will not need to reboot after every change in configs of Cups,
Samba, Apache... Like one should do in Windows.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ifupdown in Ubuntu.
https://bugs.launchpad.net/bugs/1301015

Title:
  Networking does not restart

Status in ifupdown package in Ubuntu:
  Confirmed

Bug description:
  In Ubuntu Server 14.04 it appears it is not possible to restart
  networking. This is fresh install from ISO.

  wirehive at ubuntu:~$ sudo /etc/init.d/networking restart
  wirehive at ubuntu:~$ echo $?
  1
  wirehive at ubuntu:~$ sudo service networking restart
  stop: Job failed while stopping
  start: Job is already running: networking
  wirehive at ubuntu:~$ sudo bash -x /etc/init.d/networking restart
  + PATH=/sbin:/bin
  + RUN_DIR=/run/network
  + IFSTATE=/run/network/ifstate
  + STATEDIR=/run/network/state
  + '[' -x /sbin/ifup ']'
  + '[' -x /sbin/ifdown ']'
  + . /lib/lsb/init-functions
  +++ run-parts --lsbsysinit --list /lib/lsb/init-functions.d
  ++ for hook in '$(run-parts --lsbsysinit --list /lib/lsb/init-functions.d 2>/dev/null)'
  ++ '[' -r /lib/lsb/init-functions.d/20-left-info-blocks ']'
  ++ . /lib/lsb/init-functions.d/20-left-info-blocks
  ++ for hook in '$(run-parts --lsbsysinit --list /lib/lsb/init-functions.d 2>/dev/null)'
  ++ '[' -r /lib/lsb/init-functions.d/50-ubuntu-logging ']'
  ++ . /lib/lsb/init-functions.d/50-ubuntu-logging
  +++ LOG_DAEMON_MSG=
  ++ FANCYTTY=
  ++ '[' -e /etc/lsb-base-logging.sh ']'
  ++ true
  + CONFIGURE_INTERFACES=yes
  + EXCLUDE_INTERFACES=
  + VERBOSE=no
  + '[' -f /etc/default/networking ']'
  + verbose=
  + '[' no = yes ']'
  + case "$1" in
  + init_is_upstart
  + '[' -x /sbin/initctl ']'
  + /bin/grep -q upstart
  + /sbin/initctl version
  + return 0
  + exit 1
  wirehive at ubuntu:~$ sudo bash -x service networking restart
  ++ basename service
  + VERSION='service ver. 0.91-ubuntu1'
  ++ basename service
  + USAGE='Usage: service < option > | --status-all | [ service_name [ command | --full-restart ] ]'
  + SERVICE=
  + ACTION=
  + SERVICEDIR=/etc/init.d
  + OPTIONS=
  + '[' 2 -eq 0 ']'
  + cd /
  + '[' 2 -gt 0 ']'
  + case "${1}" in
  + '[' -z '' -a 2 -eq 1 -a networking = --status-all ']'
  + '[' 2 -eq 2 -a restart = --full-restart ']'
  + '[' -z '' ']'
  + SERVICE=networking
  + shift
  + '[' 1 -gt 0 ']'
  + case "${1}" in
  + '[' -z networking -a 1 -eq 1 -a restart = --status-all ']'
  + '[' 1 -eq 2 -a '' = --full-restart ']'
  + '[' -z networking ']'
  + '[' -z '' ']'
  + ACTION=restart
  + shift
  + '[' 0 -gt 0 ']'
  + '[' -r /etc/init/networking.conf ']'
  + which initctl
  + grep -q upstart
  + initctl version
  + case "${ACTION}" in
  + stop networking
  stop: Job failed while stopping
  + :
  + exec start networking
  start: Job is already running: networking
  wirehive at ubuntu:~$

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1301015/+subscriptions



More information about the foundations-bugs mailing list