[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Change In Restarting Services



>> I haven't been active in Debian for two years back when Lenny was
>> still in 'testing' and noticed that for some reason it is no longer
>> protocol to restart network services using the 'init.d' scripts. I
>> also noticed the same for Ubuntu (which I don't use or could care
>> about) and am trying to understand what is the correct way now for
>> Debian and what changed? I did a search on Google but didn't turn up
>> any results.
>> Is it no longer correct to run:
>> /etc/init.d/network restart

> If you use GNOME *and* you've installed NetworkMangler, then the init.d
> script is probably recommended.

/etc/init.d/network
does not exist. If you have Network Manager with its default setup,
/etc/init.d/networking restart
will not restart your network because your nics will not be defined in
/etc/network/interfaces
so you have to use
/etc/init.d/network-manager restart
or
invoke-rc.d network-manager restart
or
service network-manager restart

> (Another note: Fedora 13 will introduce a CLI interface to NetworkMangler
> using D-Bus. Their goal is that the code in the current script interface
> will turn into D-Bus calls just as the GUI NetworkMangler currently is.)

It's been available for Fedora for almost a year
http://koji.fedoraproject.org/koji/packageinfo?packageID=8461
and is in Sid
http://packages.debian.org/sid/cnetworkmanager


Reply to: