From owner-freebsd-bugs@FreeBSD.ORG Tue Oct 7 06:40:11 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A1DA16A4D5 for ; Tue, 7 Oct 2003 06:40:11 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A4B54400B for ; Tue, 7 Oct 2003 06:40:08 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h97De7FY053142 for ; Tue, 7 Oct 2003 06:40:07 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h97De7Mf053138; Tue, 7 Oct 2003 06:40:07 -0700 (PDT) (envelope-from gnats) Date: Tue, 7 Oct 2003 06:40:07 -0700 (PDT) Message-Id: <200310071340.h97De7Mf053138@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Yar Tikhiy Subject: Re: conf/57659: Exit status from /etc/rc.d/mountcritlocal is ignored X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Yar Tikhiy List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2003 13:40:11 -0000 The following reply was made to PR conf/57659; it has been noted by GNATS. From: Yar Tikhiy 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