Debian bug report logs - #924
Swap to file breaks reboot scripts

Package: Base 0.93R5; Reported by: David C P Gray <davidg@iago.DIALix.oz.au>; Done: imurdock@debian.org (Ian Murdock).

Message received at debian-bugs-done:


From debian.org!imurdock Thu Jun 22 22:20:06 1995
Return-Path: <imurdock@debian.org>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0sP19y-0006CNC; Thu, 22 Jun 95 22:20 PDT
Received: from debian.org (debra.debian.org) by pixar.com with SMTP id AA12329
  (5.67b/IDA-1.5 for debian-bugs-done-pipe@mongo.pixar.com); Thu, 22 Jun 1995 22:18:36 -0700
Received: by debian.org
	id m0sP1BJ-0001cjC
	(Debian /\oo/\ Smail3.1.29.1 #29.32); Fri, 23 Jun 95 00:21 EST
Message-Id: <m0sP1BJ-0001cjC@debian.org>
Date: Fri, 23 Jun 95 00:21 EST
From: imurdock@debian.org (Ian Murdock)
To: debian-bugs-done@pixar.com
Subject: Bug#924:

This bug was fixed in a recent upload of the package.  Please
check ftp.debian.org:/pub/debian/binary for the fixed version.

Notification sent to David C P Gray <davidg@iago.DIALix.oz.au>:
Bug acknowledged by developer. Full text available.
Reply sent to imurdock@debian.org (Ian Murdock):
You have taken responsibility. Full text available.

Message received at debian-bugs:


From pixar.com!bruce Sun May 28 20:50:07 1995
Return-Path: <bruce@pixar.com>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0sFvqB-00051OC; Sun, 28 May 95 20:50 PDT
Received: from mongo.pixar.com by pixar.com with SMTP id AA14478
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Sun, 28 May 1995 20:48:43 -0700
Received: by mongo.pixar.com (Smail3.1.28.1 #15)
	id m0sFvq3-00051OC; Sun, 28 May 95 20:49 PDT
Message-Id: <m0sFvq3-00051OC@mongo.pixar.com>
Date: Sun, 28 May 95 20:49 PDT
From: bruce@pixar.com (Bruce Perens)
To: Debian Bug Report Address <debian-bugs@Pixar.com>, debian-bugs@pixar.com,
        David C P Gray <davidg@iago.DIALix.oz.au>
Subject: Re:  Bug#924: Swap to file breaks reboot scripts

From: David C P Gray <davidg@iago.DIALix.oz.au>
> The 'halt' and 'reboot' scripts unmount filesystems just before disabling
> swap areas. However, if there is a swap file (not partition) defined, the
> filesystem on which it resides will not be unmounted cleanly (because the
> swap file is still active at this point) and so gets fsck'd on the next
> reboot.
>
> Changing the order of the unmount and swapoff commands fixes the problem.

Just a clarification - it's not that it won't be unmounted cleanly - It won't
be unmounted at all. Thanks for catching this one.

	Bruce
--
-- Attention Ham Radio Operators: For information on "Linux for Hams", read
-- the World Wide Web page http://www.hams.com/perens/LinuxForHams

Acknowledgement sent to bruce@pixar.com (Bruce Perens):
Extra info received and forwarded. Full text available.
Information forwarded to debian-devel@pixar.com:
Bug#924; Package Base 0.93R5. Full text available.

Message received at debian-bugs:


From iago.DIALix.oz.au!davidg Sun May 28 16:09:23 1995
Return-Path: <davidg@iago.DIALix.oz.au>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0sFrSV-00051LC; Sun, 28 May 95 16:09 PDT
Received: from perth.DIALix.oz.au by pixar.com with SMTP id AA08846
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Sun, 28 May 1995 16:07:54 -0700
Received: from iago.UUCP (iagouucp@localhost) by perth.DIALix.oz.au (8.6.12/8.6.12/DIALix) with UUCP id HAA08620 for Pixar.com!debian-bugs; Mon, 29 May 1995 07:09:17 +0800
Received: by iago.dialix.oz.au
	id m0sFB3K-00058XC
	(Debian /\oo/\ Smail3.1.29.1 #29.26); Sat, 27 May 95 09:52 WST
Date: Sat, 27 May 1995 09:52:33 +0800 (WST)
From: David C P Gray <davidg@iago.DIALix.oz.au>
X-Sender: davidg@iago.itswa.com.au
To: Debian Bug Report Address <debian-bugs@Pixar.com>
Subject: Swap to file breaks reboot scripts
Message-Id: <Pine.LNX.3.91.950527094246.223A-100000@iago.itswa.com.au>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


Package: Base 0.93R5

The 'halt' and 'reboot' scripts unmount filesystems just before disabling 
swap areas. However, if there is a swap file (not partition) defined, the
filesystem on which it resides will not be unmounted cleanly (because the
swap file is still active at this point) and so gets fsck'd on the next
reboot. 

Changing the order of the unmount and swapoff commands fixes the problem.

Cheers,
David.

Acknowledgement sent to David C P Gray <davidg@iago.DIALix.oz.au>:
New bug report received and forwarded. Full text available.
Report forwarded to debian-devel@pixar.com:
Bug#924; Package Base 0.93R5. Full text available.
Ian Jackson / iwj10@thor.cam.ac.uk, with the debian-bugs tracking mechanism
This page last modified 07:13:02 GMT Fri 23 Jun