The file /etc/event.d/rc-default is a script:
Originally Posted by Xiong Chiamiov
When no default runlevel information is available this particular script attempts to determine what is should be.
#rc - runlevel compatibility
# This task guesses what the "default runlevel" should be and starts the
# appropriate script.
Which service is the problem? You can stop the service from being loaded by issuing:
since there seems to be a problem with the runlevels not being correct. Once you do that you can issue:
sudo update-rc.d -f ($name_of_service) remove
to resume loading the service normally at boot time.
sudo update-rc.d ($name_of_service) defaults
If that does not solve the problem you may need to purge the package that supplies the service, then reinstall to get the correct script in your /etc/init.d/ folder. So you would run:
sudo apt-get remove --purge ($name_of_package_for_service)
to have the default configuration restored.
sudo apt-get install ($name_of_package_for_service)