Re: [lfs-dev] Bug in fs-bootscripts-20170626

2018-06-03 Thread Jean-Marc Pigeon
Hello Bruce, On 06/03/2018 03:37 PM, Bruce Dubbs wrote: On 06/03/2018 01:11 PM, Jean-Marc Pigeon wrote: On 06/03/2018 01:41 PM, Bruce Dubbs wrote: On 06/03/2018 10:35 AM, Jean-Marc Pigeon wrote: hello When /sbin/reboot command is used while a user is doing some editing work, the reboot

Re: [lfs-dev] Bug in fs-bootscripts-20170626

2018-06-03 Thread Bruce Dubbs
On 06/03/2018 01:11 PM, Jean-Marc Pigeon wrote: On 06/03/2018 01:41 PM, Bruce Dubbs wrote: On 06/03/2018 10:35 AM, Jean-Marc Pigeon wrote: hello When /sbin/reboot command is used while a user is doing some editing work, the reboot process halt/pause within /etc/rc.d/init.d/rc script

Re: [lfs-dev] Bug in fs-bootscripts-20170626

2018-06-03 Thread DJ Lucas
On 06/03/2018 01:11 PM, Bruce Dubbs wrote: I think I like this better: echo "Press s for a shell or any other key to continue" [ "${HEADLESS=0}" = "0" ] && read -n1 ENTER if [ "${ENTER}" = "s" ]; then   echo -e '\nType 'exit' to continue'   PS1='$ ' /bin/sh fi One minor problem is that

Re: [lfs-dev] Bug in fs-bootscripts-20170626

2018-06-03 Thread Jean-Marc Pigeon
On 06/03/2018 01:41 PM, Bruce Dubbs wrote: On 06/03/2018 10:35 AM, Jean-Marc Pigeon wrote: hello When /sbin/reboot command is used while a user is doing some editing work, the reboot process halt/pause within /etc/rc.d/init.d/rc script (print_error_msg) This caused by mountfs, trying to

Re: [lfs-dev] Bug in fs-bootscripts-20170626

2018-06-03 Thread Bruce Dubbs
On 06/03/2018 12:41 PM, Bruce Dubbs wrote: On 06/03/2018 10:35 AM, Jean-Marc Pigeon wrote: hello When /sbin/reboot command is used while a user is doing some editing work, the reboot process halt/pause within /etc/rc.d/init.d/rc script (print_error_msg) This caused by mountfs, trying to

Re: [lfs-dev] Bug in fs-bootscripts-20170626

2018-06-03 Thread Bruce Dubbs
On 06/03/2018 10:35 AM, Jean-Marc Pigeon wrote: hello When /sbin/reboot command is used while a user is doing some editing work, the reboot process halt/pause within /etc/rc.d/init.d/rc script (print_error_msg) This caused by mountfs, trying to remount / in readonly mode, as mount return an

[lfs-dev] Bug in fs-bootscripts-20170626

2018-06-03 Thread Jean-Marc Pigeon
hello When /sbin/reboot command is used while a user is doing some editing work, the reboot process halt/pause within /etc/rc.d/init.d/rc script (print_error_msg) This caused by mountfs, trying to remount / in readonly mode, as mount return an error (device busy) print_error_msg is called.