[Bug 663352] Re: No way to stop/start networking without network management

uniomni 663352 at bugs.launchpad.net
Wed Aug 31 01:38:39 UTC 2011


This bug also affects us on a Ubuntu 11.04 (64 bit) cluster
Here are some examples:

root at alamba:/client_filesystems/shared/home/install# service networking stop
stop: Unknown instance: 
root at alamba:/client_filesystems/shared/home/install# service networking restart
restart: Unknown instance: 
root at alamba:/client_filesystems/shared/home/install# service networking start
networking stop/waiting
root at alamba:/client_filesystems/shared/home/install# service networking stop
stop: Unknown instance: 

If I use the (now deprecated?) init.d I get this:

 root at alamba:/client_filesystems/shared/home/install# /etc/init.d/networking restart
 * Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
 * Reconfiguring network interfaces...         

root at alamba:/client_filesystems/shared/home/install# /etc/init.d/networking start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service networking start

root at alamba:/client_filesystems/shared/home/install# /etc/init.d/networking stop
 * not deconfiguring network interfaces: network file systems still mounted.

The last error message is the first that might give me a hint that
something else is happening, but it still looks like the original bug
remains i.e. that the services networking command does not have restart
and stop implemented.

-- 
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/663352

Title:
  No way to stop/start networking without network management

Status in “ifupdown” package in Ubuntu:
  Triaged

Bug description:
  Hi,

  Converted from question to bug, from
  https://answers.launchpad.net/ubuntu/+source/gnome-nettool/+question/130070

  I want to remove all network management related packages and keep only
  a dhcp client (preferably pump). In plain Debian, I just need to
  properly config /etc/network/interfaces, then

   /etc/init.d/networking restart

  Vola, I'm done. But there is no way in Ubuntu to stop/start
  networking.

  /etc/init.d/networking restart
   * Reconfiguring network interfaces...                                          
  Operation failed.
  ^^^^^^^^^^^^^^^^^^^^^
  ssh stop/waiting
  ssh start/running, process 19500
                                                                           [ OK ]

  At some previous moments, it was working before, and I cannot bring
  the networking to a full stop then start again.

  Reposting comments from other bug reports, because I'm still getting
  the same results in Ubuntu 10.10 Maverick.

  === From https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/430883

  . . . There is no way to stop/start a [networking] service:

  root at quimerix:~# status networking
  networking stop/waiting
  root at quimerix:~# start networking
  networking stop/waiting
  root at quimerix:~# stop networking
  stop: Unknown instance:
  root at quimerix:~# stop networking
  stop: Unknown instance:
  root at quimerix:~# start networking
  networking stop/waiting

  ?????????

  And the old but working /etc/init.d says

  root at quimerix:~# /etc/init.d/networking start
  Rather than invoking init scripts through /etc/init.d, use the service(8)
  utility, e.g. service networking start

  Since the script you are attempting to invoke has been converted to an
  Upstart job, you may also use the start(8) utility, e.g. start networking
  networking stop/waiting

  So explain me how its supossed that i can restart a [networking]
  service?

  === From https://bugs.launchpad.net/ubuntu/+source/netbase/+bug/492160

  . . . I cannot start my network:

  $sudo service networking restart
  restart: Unknown instance

  $sudo service networking start
  networking stop/waiting

  $sudo /etc/init.d/networking restart

  (ifconfig does not show eth0 interface)

  $ping www.google.com
  ping: unknown host www.google.com

  $sudo ifup eth0
  (ping works)

  Bottom line: No configuration will automatically start the network--I
  have to manually run "ifup" to get the network to start.

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




More information about the foundations-bugs mailing list