[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#224656: marked as done (bad tmpfs support detection)



Your message dated Sat, 14 Feb 2004 13:47:04 -0500
with message-id <E1As4oi-0000KQ-00@newraff.debian.org>
and subject line Bug#224656: fixed in rootskel 0.63
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 20 Dec 2003 21:19:17 +0000
>From dannf@lackof.org Sat Dec 20 15:19:16 2003
Return-path: <dannf@lackof.org>
Received: from colo.lackof.org [198.49.126.79] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AXoOG-0006gi-00; Sat, 20 Dec 2003 15:12:00 -0600
Received: from localhost (localhost [127.0.0.1])
	by colo.lackof.org (Postfix) with ESMTP id D059E29803F
	for <submit@bugs.debian.org>; Sat, 20 Dec 2003 14:11:59 -0700 (MST)
Received: from colo.lackof.org ([127.0.0.1])
	by localhost (colo [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
	id 09202-03 for <submit@bugs.debian.org>;
	Sat, 20 Dec 2003 14:11:58 -0700 (MST)
Received: by colo.lackof.org (Postfix, from userid 1012)
	id BC88529803A; Sat, 20 Dec 2003 14:11:58 -0700 (MST)
X-IMAP-Sender: dannf
Date: Sat, 20 Dec 2003 14:11:45 -0700
X-OfflineIMAP-x840097265-64616e6e662e6f72672e72656d6f7465-494e424f582e4f7574626f78: 1071954718-0685911520499
From: dann frazier <dannf@debian.org>
To: submit@bugs.debian.org
Subject: bad tmpfs support detection
Message-ID: <20031220211145.GB10095@dannf.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.4i
X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at lackof.org
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 
	2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_15 
	(1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no 
	version=2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_15
X-Spam-Level: 

Package: rootskel
Version: 0.56

In /sbin/init, it attempts to determine whether or not the kernel supports
tmpfs by looking in /proc/filesystems:

#!/bin/sh -e
# Set up filesystem as root and pivot into it.
echo "Setting up filesystem, please wait ..."
umount initrd
mount -t proc proc proc
if grep -q tmpfs /proc/filesystems; then
        mount -t tmpfs -o size=100M tmpfs mnt
else
        mount -t shm shm mnt
fi

This is a valid way to detect support for most filesystems, but since tmpfs
is used internally by the kernel, it is always present in some form, and always
appears in /proc/filesystems.  This is true even if its configured off (and
therefore not mountable from userspace).

A better way may be to attempt the mount, and if it fails, try the shm mount.

---------------------------------------
Received: (at 224656-close) by bugs.debian.org; 14 Feb 2004 18:53:04 +0000
>From katie@ftp-master.debian.org Sat Feb 14 10:53:04 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1As4uW-0003hu-00; Sat, 14 Feb 2004 10:53:04 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1As4oi-0000KQ-00; Sat, 14 Feb 2004 13:47:04 -0500
From: Petter Reinholdtsen <pere@debian.org>
To: 224656-close@bugs.debian.org
X-Katie: $Revision: 1.43 $
Subject: Bug#224656: fixed in rootskel 0.63
Message-Id: <E1As4oi-0000KQ-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sat, 14 Feb 2004 13:47:04 -0500
Delivered-To: 224656-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_02_12 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=no 
	version=2.60-bugs.debian.org_2004_02_12
X-Spam-Level: 

Source: rootskel
Source-Version: 0.63

We believe that the bug you reported is fixed in the latest version of
rootskel, which is due to be installed in the Debian FTP archive:

rootskel-bootfloppy_0.63_i386.udeb
  to pool/main/r/rootskel/rootskel-bootfloppy_0.63_i386.udeb
rootskel-locale_0.63_i386.udeb
  to pool/main/r/rootskel/rootskel-locale_0.63_i386.udeb
rootskel_0.63.dsc
  to pool/main/r/rootskel/rootskel_0.63.dsc
rootskel_0.63.tar.gz
  to pool/main/r/rootskel/rootskel_0.63.tar.gz
rootskel_0.63_i386.udeb
  to pool/main/r/rootskel/rootskel_0.63_i386.udeb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 224656@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Petter Reinholdtsen <pere@debian.org> (supplier of updated rootskel package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 14 Feb 2004 19:23:58 +0100
Source: rootskel
Binary: rootskel-locale rootskel-bootfloppy rootskel
Architecture: source i386
Version: 0.63
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Petter Reinholdtsen <pere@debian.org>
Description: 
 rootskel   - Skeleton root filesystem used by debian-installer. (udeb)
 rootskel-bootfloppy - Skeleton root filesystem used by debian-installer boot floppy (udeb)
 rootskel-locale - UTF-8 locale used by debian-installer. (udeb)
Closes: 224656
Changes: 
 rootskel (0.63) unstable; urgency=low
 .
   * Petter Reinholdtsen
     - Make sure apt-install umounts all new mount points when it is
       done, to avoid install problems when the package 'hotplug' is
       installed.
     - In debian-installer.d/S50priority, log when the priority is
       set or changed.
     - Detect tmpfs by testing to mount, instead of looking in
       /proc/filesystems.  The latter method is not reliable (Closes:
       #224656)
Files: 
 ccedba31b31d7903c4e1b5b1c460ce97 765 debian-installer standard rootskel_0.63.dsc
 9dcf91fae78e6e907858accb3dd7a985 33206 debian-installer standard rootskel_0.63.tar.gz
 379afd041c89c04a831d134ead1381f1 5736 debian-installer standard rootskel_0.63_i386.udeb
 b7219eebf4d62726122adab522a454dc 2740 debian-installer extra rootskel-bootfloppy_0.63_i386.udeb
 a4b816166286e9349e146e16cbd381fa 34884 debian-installer standard rootskel-locale_0.63_i386.udeb
package-type: udeb

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

iD8DBQFALmgk20zMSyow1ykRAokvAJ9QwpSOEPiWwBue+ZBkjQQ+U30nSgCcDaex
LpV+nfBy4XZCtyXtrkkTJ9g=
=9Xvh
-----END PGP SIGNATURE-----



Reply to: