S50hotplug error on shutdown / reboot
dennis at onerrave.com
Fri Feb 17 13:52:33 PST 2006
Thanks for your email. Your question made me relook at (for the 20th
I had done. I added the hotplugs (with an 's') directory and the
to /var/log/. When I changed 'hotplugs' to the correct 'hotplug', the failure
To document my problem and the solution:
I received an S50hotplug failure error when shutting dowm or rebooting
LINUX. S50hotplug was complaining that the file
'var/log/hotplug/events' was not
created by my LINUX system build and did not exist.
To correct the problem, add the file '/var/log/hotplug/events'. I added a one
line comment in the 'events' file. The existence of the
'/var/log/hotplug/events' file fixed the failure.
Quoting Dan Nicholson <dbn.lists at gmail.com>:
> What does the stop target say in /etc/rc.d/init.d/hotplug? I don't
> know what the version is being used in 6.1.1. I have Version 00.02 of
> this script and it has:
> # Remove and Recreate /var/log/hotplug/events
> > /var/log/hotplug/events
> However, on a different system with Version 00.00, the stop target is this:
> # Remove hotplug as the default manager of hotplug events
> echo /bin/true > /proc/sys/kernel/hotplug
> The `> /var/log/hotplug/events' command won't fail as long as that
> directory exists. I don't know what happens in the second command.
> What do you have?
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
More information about the lfs-support