NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/58861: service(1) should have an option to restart all daemons
>Number: 58861
>Category: bin
>Synopsis: service(1) should have an option to restart all daemons
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Nov 28 17:00:00 +0000 2024
>Originator: Martin Husemann
>Release: NetBSD 10.99.12
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD big-apple.aprisoft.de 10.99.12 NetBSD 10.99.12 (POWERMAC_G5.MP) #121: Wed Sep 25 13:34:14 CEST 2024 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/macppc/compile/POWERMAC_G5.MP macppc
Architecture: powerpc
Machine: macppc
>Description:
The service(1) helper script should gain two features:
- a option to list all services that currently have a daemon
process running (simmilar to "service -e" but checking for
pidfile in the rc.d script, plus file existance and valid
pid in it) -- maybe: service -d
- a command to restart all services output by above option,
i.e. run something like "$script restart" for everything
output by "service -d" -- maybe: service restart_all
That way after a binary update of userland the user (or sysinst) could simply
do "service restart_all" in case they can't reboot immediately.
Updating e.g. ssh/sshd sometimes can make the running sshd(8) stop working,
as the child/parent protocol changed.
>How-To-Repeat:
n/a
>Fix:
yes please
Home |
Main Index |
Thread Index |
Old Index