Dan,

Thanks for your email. Your question made me relook at (for the 20th time) what I had done. I added the hotplugs (with an 's') directory and the 'events' file
to /var/log/.  When I changed 'hotplugs' to the correct 'hotplug', the failure
cleared up.

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.

Dennis



Quoting Dan Nicholson <[EMAIL PROTECTED]>:


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:

   stop)
       # 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:

       stop)
               # 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?

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page




--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to