From nobody@FreeBSD.org  Fri May 27 20:40:59 2005
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 F060F16A41C
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 27 May 2005 20:40:59 +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 CD60343D1F
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 27 May 2005 20:40:59 +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 j4RKexxu028801
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 27 May 2005 20:40:59 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j4RKexuI028800;
	Fri, 27 May 2005 20:40:59 GMT
	(envelope-from nobody)
Message-Id: <200505272040.j4RKexuI028800@www.freebsd.org>
Date: Fri, 27 May 2005 20:40:59 GMT
From: Drosos <drososkourounis@yahoo.gr>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ext2fs partitions in fstab automatically mounted at boot fail to umount when reboot
X-Send-Pr-Version: www-2.3

>Number:         81568
>Category:       kern
>Synopsis:       ext2fs partitions in fstab automatically mounted at boot fail to umount when reboot
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 27 20:50:01 GMT 2005
>Closed-Date:    Sat Dec 12 16:14:31 UTC 2009
>Last-Modified:  Sat Dec 12 16:14:31 UTC 2009
>Originator:     Drosos
>Release:        5.4 Release
>Organization:
UOI
>Environment:
FreeBSD toundra 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May  8 10:21:06 UTC 2005     root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
I have Linux ext2 partitions which I decided to add in fstab such that 
they are automatically mounted at boot. Thus I added the following line:

/dev/ad1s1         /common   ext2fs    rw,auto           0   0       

in my original /etc/fstab:

/dev/ad1s2b        none      swap    sw              0   0
/dev/ad1s2a        /         ufs     rw              1   1
/dev/ad1s2g        /common   ufs     rw              2   2
/dev/ad1s2e        /tmp      ufs     rw              2   2
/dev/ad1s2f        /usr      ufs     rw              2   2
/dev/ad1s2d        /var      ufs     rw              2   2
/dev/acd0          /cdrom    cd9660  ro,noauto       0   0
/dev/acd1          /cdrom1   cd9660  ro,noauto       0   0

As a result I was happy to see my ext2 partition mounted nicely at boot
time. Unfortunately when I wanted to reboot typing
#reboot

or to turnoff my PC typing
#shutdown -p now

this partition couldn't be unmounted. This was not however the case with 
FreeBSD 4.11 and 4.10 Release. I had no such problems there!

>How-To-Repeat:
Just create an ext2 partition and mount it like above. Reboot such that
it is automatically mounted and then reboot once again! 
>Fix:
      
>Release-Note:
>Audit-Trail:

From: Giorgos Keramidas <keramida@ceid.upatras.gr>
To: Drosos <drososkourounis@yahoo.gr>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: kern/81568: ext2fs partitions in fstab automatically mounted at boot fail to umount when reboot
Date: Sun, 29 May 2005 14:33:17 +0300

 On 2005-05-27 20:40, Drosos <drososkourounis@yahoo.gr> wrote:
 > >Number:         81568
 > >Category:       kern
 > >Synopsis:       ext2fs partitions in fstab automatically mounted at boot fail to umount when reboot
 
 On 2005-05-27 20:45, Drosos <drososkourounis@yahoo.gr> wrote:
 > >Number:         81569
 > >Category:       ports
 > >Synopsis:       Broken ports: mplayer, k3b
 
   email  problem reports  
 
 	drososkourounis@yahoo.com
 
    .    email setup ,   
  bounces    problem reports    
    .
 
 - 
 

From: Bjoern Voigt <bjoern@cs.tu-berlin.de>
To: bug-followup@FreeBSD.org, drososkourounis@yahoo.gr
Cc:  
Subject: Re: kern/81568: ext2fs partitions in fstab automatically mounted
 at boot fail to umount when reboot
Date: Sat, 07 Oct 2006 12:25:06 +0200

 This problem is still present in FreeBSD 6.1.
 
 A workaround:
 Before rebooting type "umount -a -text2fs".

From: Aditya Sarawgi <sarawgi.aditya@gmail.com>
To: bug-followup@freebsd.org
Cc: drososkourounis@yahoo.gr
Subject: Re: kern/81568: ext2fs partitions in fstab automatically mounted at boot fail to umount when reboot
Date: Wed, 8 Apr 2009 23:34:54 +0000

 There seems to be a problem with your fstab. 
 try mounting without the auto option, auto is an invalid mount option 
 http://www.freebsd.org/cgi/man.cgi?query=mount&sektion=8.
 
 
 
 Cheers,
 Aditya Sarawgi
 
 
State-Changed-From-To: open->feedback 
State-Changed-By: jh 
State-Changed-When: Mon Nov 2 17:02:40 UTC 2009 
State-Changed-Why:  
Can you still reproduce this on recent FreeBSD versions? Please note that 
"auto" is not a valid mount option. 


Responsible-Changed-From-To: freebsd-bugs->jh 
Responsible-Changed-By: jh 
Responsible-Changed-When: Mon Nov 2 17:02:40 UTC 2009 
Responsible-Changed-Why:  
Track. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=81568 
State-Changed-From-To: feedback->closed 
State-Changed-By: jh 
State-Changed-When: Sat Dec 12 16:14:30 UTC 2009 
State-Changed-Why:  
Feedback timeout. 

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