Date: Tue, 7 Oct 2003 06:40:07 -0700 (PDT) From: Yar Tikhiy <yar@comp.chem.msu.su> To: freebsd-bugs@FreeBSD.org Subject: Re: conf/57659: Exit status from /etc/rc.d/mountcritlocal is ignored Message-ID: <200310071340.h97De7Mf053138@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/57659; it has been noted by GNATS. From: Yar Tikhiy <yar@comp.chem.msu.su> To: freebsd-gnats-submit@FreeBSD.org Cc: mtm@FreeBSD.org Subject: Re: conf/57659: Exit status from /etc/rc.d/mountcritlocal is ignored Date: Tue, 7 Oct 2003 17:35:34 +0400 As my further investigation has revealed, it's just a problem of /etc/rc.d/mountcritlocal. It should stop startup on a mount failure, but won't actually. I'd suggest applying the patch attached. By the way, the script /etc/rc.d/mountcritremote seems to have the same problem. -- Yar --- /usr/src/etc/rc.d/mountcritlocal Mon Jun 2 19:45:55 2003 +++ ./mountcritlocal Tue Oct 7 16:44:28 2003 @@ -43,6 +43,9 @@ *) echo 'Mounting /etc/fstab filesystems failed,' \ ' startup aborted' + if [ "$autoboot" = yes ]; then + kill -TERM $$ + fi exit 1 ;; esac
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310071340.h97De7Mf053138>