Fernando de Oliveira wrote: >> If you can run an experiment for me, there are a couple of >> tests you can >> make to check this out. The stop portion of the script >> now reads: >> >> stop) >> # Don't unmount tmpfs like /run >> log_info_msg "Unmounting all other >> currently mounted file systems..." >> umount -a -d -r -t >> notmpfs,nosysfs,nodevtmpfs >/dev/null >> evaluate_retval >> >> # Make all LVM volume groups unavailable, >> if appropriate >> if [ -x /sbin/vgchange ]; then >> /sbin/vgchange -an; fi >> ;; >> >> First, try moving the vgchange line to right before the >> umount command. > > Test passed. Message " No volume groups found" appears on screen, of course. > >> The second test would be to use the current script but >> change the line: >> >> -t notmpfs,nosysfs,nodevtmpfs >> >> to >> >> -t notmpfs,nosysfs,nodevtmpfs,noproc >> > > Undone first change for second test. Test passed, too. Message appears again.
I think I'll leave in this last form and also redirect the stdout of vgchange to /dev/null. > Done. Just FYI, shutdown fine, as after second test, and last form of the > script. Thanks for the test. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
