Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #166051

Re: restarting network

From Reco <recoverym4n@gmail.com>
Newsgroups linux.debian.user
Subject Re: restarting network
Date 2016-03-29 09:50 +0200
Message-ID <rhWzv-2QS-5@gated-at.bofh.it> (permalink)
References <rhBY6-53J-5@gated-at.bofh.it> <rhFyF-7M5-7@gated-at.bofh.it> <rhMTw-4p3-1@gated-at.bofh.it> <rhNwe-509-1@gated-at.bofh.it> <rhWgb-2Ka-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


	Hi.

On Tue, 29 Mar 2016 08:21:12 +0100
Joe <joe@jretrading.com> wrote:
> > 
> > service networking restart
> > 
> > or, if you are also running network-manager, possibly
> > 
> > service network-manger restart
> > 
> > Very similar to the syntax for /etc/init.d - you're restarting a
> > running service
> > 
> Google finds a couple of thousand of these:
> 
> "Running /etc/init.d/networking restart is deprecated because it may
> not enable again some interfaces ... (warning)."
> 
> This message apparently originated here, though not the problem:
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550240
> 
> There are suggestions that using 'stop' and 'start' does work OK. I've
> never found any kind of official statement from a Debian source.

Why such statement is needed at all? It's all in the source.

/etc/init.d/networking says that:

a) 'restart' option does:
ifdown -a --exclude=lo
ifup -a --exclude=lo
plus some arcane trickery for interfaces defined as 'allow-hotplug'

b) 'stop' option does:
ifdown -a --exclude=lo

c) 'start' option does:
recreate /run/network/ifstate, if needed
ifup -a --exclude=lo
plus some arcane trickery for interfaces defined as 'allow-hotplug'

Reco

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

restarting network Tony van der Hoff <tony@vanderhoff.org> - 2016-03-28 11:50 +0200
  Re: restarting network Brian <ad44@cityscape.co.uk> - 2016-03-28 15:40 +0200
    Re: restarting network Joe <joe@jretrading.com> - 2016-03-28 20:50 +0200
      Re: restarting network Brian <ad44@cityscape.co.uk> - 2016-03-28 21:10 +0200
        Re: restarting network Joe <joe@jretrading.com> - 2016-03-28 21:50 +0200
    Re: restarting network Andrew McGlashan <andrew.mcglashan@affinityvision.com.au> - 2016-03-28 23:30 +0200
      Re: restarting network "Andrew M.A. Cater" <amacater@galactic.demon.co.uk> - 2016-03-29 00:10 +0200
        Re: restarting network Joe <joe@jretrading.com> - 2016-03-29 09:30 +0200
          Re: restarting network Reco <recoverym4n@gmail.com> - 2016-03-29 09:50 +0200
  Re: restarting network Jörg-Volker Peetz <jvpeetz@web.de> - 2016-03-29 11:10 +0200
  Re: restarting network Tony van der Hoff <tony@vanderhoff.org> - 2016-03-29 12:20 +0200
    Re: restarting network pedantsunited <ad44@cityscape.co.uk> - 2016-03-29 14:00 +0200
      Re: restarting network Tony van der Hoff <tony@vanderhoff.org> - 2016-03-29 14:40 +0200
        Re: restarting network Brian <ad44@cityscape.co.uk> - 2016-03-29 15:10 +0200
          Re: restarting network Tony van der Hoff <tony@vanderhoff.org> - 2016-03-29 15:20 +0200
            Re: restarting network Dan Ritter <dsr@randomstring.org> - 2016-03-29 16:00 +0200
            Re: restarting network Reco <recoverym4n@gmail.com> - 2016-03-29 16:40 +0200
              Re: restarting network Tony van der Hoff <tony@vanderhoff.org> - 2016-03-29 16:50 +0200
                Re: restarting network Reco <recoverym4n@gmail.com> - 2016-03-29 17:30 +0200
                Re: restarting network Tony van der Hoff <tony@vanderhoff.org> - 2016-03-29 18:10 +0200
                Re: restarting network Reco <recoverym4n@gmail.com> - 2016-03-29 18:30 +0200
                Re: restarting network Tony van der Hoff <tony@vanderhoff.org> - 2016-03-29 18:40 +0200
                Re: restarting network Reco <recoverym4n@gmail.com> - 2016-03-29 19:20 +0200
                Re: restarting network Tony van der Hoff <tony@vanderhoff.org> - 2016-03-30 14:20 +0200
                Re: restarting network Nemeth Gyorgy <friczy@freemail.hu> - 2016-03-29 18:50 +0200
            Re: restarting network Darac Marjal <mailinglist@darac.org.uk> - 2016-03-30 18:40 +0200
              Re: restarting network [SOLVED] Tony van der Hoff <tony@vanderhoff.org> - 2016-04-04 16:20 +0200
                RE: restarting network [SOLVED] Bonno Bloksma <b.bloksma@tio.nl> - 2016-04-05 13:30 +0200
  RE: restarting network Bonno Bloksma <b.bloksma@tio.nl> - 2016-03-29 13:20 +0200

csiph-web