Maybe someone who knows something about this process could enlighten me and help me understand what is happening.
I have taken a brief look at the
/etc/rc.d/init.d/halt file, of which I have a minimal understanding.
There are a few entries in that file referring to
update_boot_stagewhich I guess must be defined somewhere.
I do not immediately see the definition of this in the file itself and so wonder where it is defined.
I do not mean to imply that this is related to the 'unclean' problem (but I guess it may be), but I would like to know what it is and how the file can use it if it is apparently not defined within the file.
The entries I see are these
update_boot_stage kill
update_boot_stage clock
update_boot_stage exit
update_boot_stage umount
update_boot_stage lvm
update_boot_stage umount_force
update_boot_stage remount_ro
update_boot_stage haltAs it is my understanding that
halt.local is used when running live, the following lines might be pertinent ....
if [ -x /sbin/halt.local ]; then
clear
update_boot_stage exit
else
update_boot_stage umount
fiHopefully someone can post some explanation that will be easy to understand (for me)
