From nobody@FreeBSD.org  Sat Jan  7 19:58:42 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 10C2016A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  7 Jan 2006 19:58:42 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 595D343D70
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  7 Jan 2006 19:58:38 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k07JwbEi038978
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 7 Jan 2006 19:58:37 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k07Jwbi0038967;
	Sat, 7 Jan 2006 19:58:37 GMT
	(envelope-from nobody)
Message-Id: <200601071958.k07Jwbi0038967@www.freebsd.org>
Date: Sat, 7 Jan 2006 19:58:37 GMT
From: josh <mayonez@ssnet.xim.pl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: unnecessary fsck at boot
X-Send-Pr-Version: www-2.3

>Number:         91475
>Category:       kern
>Synopsis:       unnecessary fsck at boot
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 07 20:00:14 GMT 2006
>Closed-Date:    Fri Feb 24 07:15:00 GMT 2006
>Last-Modified:  Sat Jun 07 06:15:52 UTC 2008
>Originator:     josh
>Release:        5.4-release
>Organization:
>Environment:
n/a
>Description:
Before halting the system does not unmount external filesystems (non-/).
As a consequence, it fails writing 1 buffer to disk (giving up) and
all the filesystems (incl. /) get unmounted unproperly, thus they are
checked during subsequent boot
>How-To-Repeat:
mount -t ext2fs /dev/sth /mnt (msdosfs alsa works)
halt

(actually I had some fs's in /etc/fstab with rw,auto)

>Fix:
echo 'umount -a 2>/dev/null' >> /etc.rc.shutdown
works for /sbin/shutdown -h now

but what about /sbin/halt ??

all filesystems should be automatically unmounted by /sbin/halt or the kernel!!!

>Release-Note:
>Audit-Trail:

From: Kris Kennaway <kris@obsecurity.org>
To: josh <mayonez@ssnet.xim.pl>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/91475: unnecessary fsck at boot
Date: Wed, 18 Jan 2006 21:48:00 -0500

 --s9fJI615cBHmzTOP
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 I think this is actually an ext2fs bug, which is furthermore already
 fixed in 6.0 or 5.4-STABLE.  Please upgrade and confirm.
 
 Kris
 
 --s9fJI615cBHmzTOP
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2 (FreeBSD)
 
 iD8DBQFDzv3fWry0BWjoQKURAlqdAKDJLjyIs10cnAS1Zxl9WrCMlE9n/wCg19cZ
 dYeiUf3f5WCJRhezaoRVDnw=
 =x67k
 -----END PGP SIGNATURE-----
 
 --s9fJI615cBHmzTOP--
State-Changed-From-To: open->closed 
State-Changed-By: kris 
State-Changed-When: Fri Feb 24 07:14:48 UTC 2006 
State-Changed-Why:  
Feedback timeout 

http://www.freebsd.org/cgi/query-pr.cgi?pr=91475 
>Unformatted:
