initscripts: /etc/init.d/umountfs segfaults on shutdown

Bug #10879 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
sysvinit (Debian)
Fix Released
Unknown
sysvinit (Ubuntu)
Invalid
High
Unassigned

Bug Description

Automatically imported from Debian bug report #284016 http://bugs.debian.org/284016

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-id: <email address hidden>
Date: Thu, 02 Dec 2004 23:42:35 +0100
From: Alexander Reinholdt <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: initscripts: /etc/init.d/umountfs segfaults on shutdown

Package: initscripts
Version: 2.86-5
Severity: critical
Justification: causes serious data loss

The script /etc/init.d/umountfs segfaults on shutdown. Due to this, the
swap and all other filesystems are not cleanly unmounted which may cause
severe data loss.

I could verify this behaviour on two different systems, both running the
ReiserFS filesystem and Debian unstable. On a third box that is running
the latest version of Debian Sarge and EXT3 it could not be reproduced,

The error message during shutdown is similar to this one:

Deactivating swap...umount: none busy - remounted read-only
Segmentation fault
done.
Unmounting local filesystems...umount: none busy - remounted read-only
Segmentation fault
done.
mount: / is busy

Bye
Alexander

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.9
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)

Versions of packages initscripts depends on:
ii coreutils 5.2.1-2 The GNU core utilities
ii dpkg 1.10.25 Package maintenance system for Deb
ii e2fsprogs 1.35-8 The EXT2 file system utilities and
ii libc6 2.3.2.ds1-18 GNU C Library: Shared libraries an
ii mount 2.12h-3 Tools for mounting and manipulatin
ii util-linux 2.12h-3 Miscellaneous system utilities

-- no debconf information

Revision history for this message
Øivind Hoel (eruin) wrote :

Same story here on -current hoary.

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <1102058132.11610.334.camel@thanatos>
Date: Fri, 03 Dec 2004 08:15:32 +0100
From: Thomas Hood <email address hidden>
To: <email address hidden>
Cc: <email address hidden>, <email address hidden>
Subject: umount segfaulting at shutdown

This (#284016) is presumably the same issue as #283323.

umount should not segfault.

However, we should also see if we can find a workaround in the
initscript.

--
Thomas Hood

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Fri, 3 Dec 2004 09:27:31 +0100
From: <email address hidden> (Marco d'Itri)
To: Thomas Hood <email address hidden>
Cc: <email address hidden>, <email address hidden>
Subject: Re: umount segfaulting at shutdown

--Dxnq1zWXvFF0Q93v
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Dec 03, Thomas Hood <email address hidden> wrote:

> This (#284016) is presumably the same issue as #283323.
Looks likt it is.

> umount should not segfault.
>=20
> However, we should also see if we can find a workaround in the
> initscript.
I can't think of a workaround, but if this will not be fixed in time for
sarge I will just disable the udev-mtab init script in the udev package.

--=20
ciao, |
Marco | [9542 coQqUXgqAEoPs]

--Dxnq1zWXvFF0Q93v
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBsCNzFGfw2OHuP7ERAoZZAKCaAn1IABGr7W5XGXwtsSP40RTCswCggESA
HXJodYy2wP+VoXR0F6dIk7s=
=LT9G
-----END PGP SIGNATURE-----

--Dxnq1zWXvFF0Q93v--

Revision history for this message
John Dong (jdong) wrote :

https://bugzilla.ubuntu.com/show_bug.cgi?id=4237

Duplicate Ubuntu bug.

It is quite serious -- causes all my filesystems to come back unclean...

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <1102335013.25052.47.camel@thanatos>
Date: Mon, 06 Dec 2004 13:10:13 +0100
From: Thomas Hood <email address hidden>
To: <email address hidden>
Subject: fixed in sid

tags 283323 sarge
tags 284016 sarge
thanks

This was (apparently) fixed in the 2.12j release of mount.

--
Thomas Hood

Revision history for this message
Phil Housley (undeconstructed) wrote :

With the latest mount, it does seem to unmount cleanly, and the seg faults are
gone, but the "umount: none busy" message still appears for each mount.

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Marking as duplicate based on debbugs merge (283323,284016)

This bug has been marked as a duplicate of bug 10790.

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Wed, 8 Dec 2004 05:43:51 -0800
From: Steve Langasek <email address hidden>
To: <email address hidden>
Subject: really a mount bug

reassign 284016 mount
merge 283323 284016
thanks

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Thu, 9 Dec 2004 05:16:41 -0700
From: LaMont Jones <email address hidden>
To: Matthias Haller <email address hidden>, <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#284597: libpam-mount no longer works with mount_2.12j-1 when mounting encrypted
 volumes

tags 284597 - sid
merge 284016 284597
--

fixed in 2.12j-2

lamont

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Thu, 9 Dec 2004 18:19:46 +0100
From: <email address hidden> (Marco d'Itri)
To: Adeodato =?iso-8859-1?Q?Sim=F3?= <email address hidden>,
 <email address hidden>
Subject: Re: Bug#283323: udev: causes /etc/rc0.d/S40umountfs to segfault

--VbJkn9YxBvnuCH5J
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I confirm that this has been fixed in unstable.

--=20
ciao, |
Marco | [9671 riyHFqZfA.CKY]

--VbJkn9YxBvnuCH5J
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBuIkyFGfw2OHuP7ERApeUAJ9jPviKi9CRZJIAowK/EIb95NBDmgCcClo+
QLpqI8plv1KL0Ft25maDB8c=
=vD2v
-----END PGP SIGNATURE-----

--VbJkn9YxBvnuCH5J--

Changed in sysvinit:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.