restart a service during boot?

tito farmatito at tiscali.it
Tue Aug 3 20:29:30 BST 2021


On Tue, 3 Aug 2021 19:40:11 +0200 (CEST)
Thorsten Glaser <t.glaser at tarent.de> wrote:

> Hi *,
> 
> I’m wondering if it is possible for the sysvinit system to
> restart a service during boot.
> 
> Background:
> 
> • udev logs, by default, to klog, which is very wrong
> • I have a patch for it to try syslog first
> • udev is normally started… rather early
> • early, syslog isn’t available yet
> • so udev will still log to klog even with the patch
> 
> It turns out that restarting udev once inetutils-syslogd is up
> fixes the problem, but I can’t figure out how this can be done
> within the sysvinit/sysv-rc/insserv framework.

Create a service restart-udev with the correct header
to be run after inetutils-syslogd ?

## BEGIN INIT INFO
# Provides: 
# Required-Start: 
# Required-Stop:  
# Should-Start:
# Should-Stop:
# Default-Start:  
# Default-Stop: 
# Short-Description:
# Description:   
#    
### END INIT INFO

Ciao,
Tito

> bye,
> //mirabilos




More information about the Debian-init-diversity mailing list