CAPTCHA
Image CAPTCHA
Enter the characters shown in the image.
This question is for testing whether or not you are human.
  • Create new account
  • Reset your password

User account menu

Home
The Hyperlogos
Read Everything

Main navigation

  • Home
  • My Resumé
  • blog
  • Howtos
  • Pages
  • Contact
  • Search

Defaulting rc?.d

Breadcrumb

  • Home
  • User Blogs
  • User Blog
  • Defaulting rc?.d
By drink | Sun January 28, 2024

I use Devuan with sysvinit because I do not normally have boot time problems, but I found myself with some and this is how I fixed them.

(for i in `ls rc?.d/*`; do basename $i | cut -c4-99; done) | sort | uniq > /tmp/rclist
for i in `cat /tmp/rclist`; do sudo update-rc.d -f $i remove; sudo update-rc.d $i defaults; done

This produces some errors about services depending on other services, and also one about an initscript "DME" which does not exist (which is due to the readme files in the rc directories) but it forces all your initscripts back into their specified order. I had services starting out of order due, I think, to some weird stuff I did with zfs libraries once.

linux
Debian
howto
  • Log in or register to post comments

Footer menu

  • Contact
Powered by Drupal

Copyright © 2025 Martin Espinoza - All rights reserved