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

Re: Get to the bottom of what is running my networks

Tom H wrote:
> /etc/init.d/network-manager restart


> service network-manager restart


> invoke-rc.d networkmanager restart

  typo fix s/networkmanager/network-manager/

Not needed.  'invoke-rc.d' is completely redundant with 'service' for
the human user.  For the human 'service' is the better way.

The requirement for package postinst scripts to call invoke-rc.d is so
that invoke-rc.d can call policy-rc.d and respect any local policy
decisions about what should or should not be running.  Such as not
running daemons in a chroot.  So packages need to call invoke-rc.d in
their postinst scripts but the human admin presumably is starting or
stopping something and wants it to happen regardless of the
policy-rc.d settings.


Attachment: signature.asc
Description: Digital signature

Reply to: