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

Bug#708000: marked as done (initramfs-tools: fsck filesystems prior to mounting)



Your message dated Thu, 25 Sep 2014 09:19:44 +0000
with message-id <E1XX5DE-00081L-Cr@franck.debian.org>
and subject line Bug#708000: fixed in initramfs-tools 0.117
has caused the Debian Bug report #708000,
regarding initramfs-tools: fsck filesystems prior to mounting
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
708000: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=708000
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.112
Severity: normal

I'm opening this bug since there's a need to check the filesystems
prior to mounting them when mounting /usr in the initramfs.  Tools
like e2fsck refuse to fsck a read-only mounted /usr (/ is special-
cased) which means that doing this after we hand over to /sbin/init
is very hard.

Running fsck in the initramfs has several advantages:
- a reboot isn't necessary if any changes are made
- if there are problems, the user can run fsck on the rootfs
  in the rescue shell if needed
- any filesystem can be checked, including /usr

I'm unsure how much work would be required to achieve this
- can we enable the fsck wrapper in busybox and copy over any
  needed fs-specific fsck helpers?
- would these need rebuilding to avoid an additional library
  dependencies?
- do we copy all available helpers, or just those used by
  specific filesystems?


Regards,
Roger

--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.117

We believe that the bug you reported is fixed in the latest version of
initramfs-tools, which is due to be installed in the Debian FTP archive.

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 708000@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Prokop <mika@debian.org> (supplier of updated initramfs-tools 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@ftp-master.debian.org)


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

Format: 1.8
Date: Thu, 25 Sep 2014 10:49:26 +0200
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.117
Distribution: unstable
Urgency: medium
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: Michael Prokop <mika@debian.org>
Description:
 initramfs-tools - generic modular initramfs generator
Closes: 652459 708000
Changes:
 initramfs-tools (0.117) unstable; urgency=medium
 .
   [ Roger Leigh ]
   * Generalise logic used for mounting the rootfs:
     - The existing logic was only intended for mounting the root
       filesystem; this logic has been refactored to support the
       mounting of multiple filesystems
     - Add a read_fstab_entry function to parse /etc/fstab on the
       mounted rootfs
     - Add resolve_device function which generalises the existing
       support for resolving LABEL= and UUID= strings to the
       corresponding device node
     - Add general mount_top, mount_premount and mount_bottom functions,
       with boot-script-specific variants for the local and nfs scripts;
       other boot scripts should override them if needed; the local and
       nfs scripts show how to use these to redirect to a specific
       implementation
     - Add general mountfs function to mount a filesystem from the
       /etc/fstab on the mounted rootfs.  This works for both local and
       nfs mounts; other boot scripts may override it to provide more
       specialised functionality
     - The local and nfs bottom scripts are run on demand if used; this
       does not interfere with alternative boot scripts being used,
       which will run first
     - Canonicalise device names to match util-linux mount behaviour;
       this ensures that "mount -a" in mountall does not try to mount
       /usr a second time (which it will attempt if the mounted device
       does not match the canonical device name)
   * Mount /usr if present in the /etc/fstab on the mounted rootfs
     (Closes: #652459)
   * Check filesystems prior to mounting (Closes: #708000):
     - Add empty /etc/fstab and symlink /etc/mtab to /proc/mounts;
       not essential, but quell a number of fsck warnings
     - Copy fsck and needed fsck helpers, plus logsave
     - Add checkfs function, based on the initscripts checkroot
       script
     - local mount functions will call checkfs prior to mounting
       the filesystem
 .
   [ Michael Prokop ]
   * [3298dea] Bump Standards-Version to 3.9.6
   * [a12d5ed] hooks/fsck: fall back to blkid, make sure fsck binary exists
     + install /sbin/sulogin
Checksums-Sha1:
 18c4e227b9379ee5034748ba6744d155467b3e53 1077 initramfs-tools_0.117.dsc
 1408c1149b1f70e5e9e51bcc34f6b9afb3b2c50d 77384 initramfs-tools_0.117.tar.xz
 0c02df5d1d01e4893c02efdac96816283de99d7d 92082 initramfs-tools_0.117_all.deb
Checksums-Sha256:
 c608d96b361344b723e025cf098b17c80957fbb04b1fc601fa0fbebba5446311 1077 initramfs-tools_0.117.dsc
 fec85cad0140a9a9a0a8147c1ac4a2d0af2ed280ab9e3e4ac0f4007740346546 77384 initramfs-tools_0.117.tar.xz
 922632f5d03e3eee272879d03d4a1d0e938535a06f4bf7fe0e2a0ee38b8c4a71 92082 initramfs-tools_0.117_all.deb
Files:
 6eda969c8808ed798f5f5a063c5fce8e 92082 utils optional initramfs-tools_0.117_all.deb
 7be363c9709c915b58a02cb5866d2a84 1077 utils optional initramfs-tools_0.117.dsc
 0d77dea2b9f46840e0cebc7a6b3be1b0 77384 utils optional initramfs-tools_0.117.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlQj2mMACgkQ2N9T+zficuir4ACeKQJfDLIR/rvA0J9xSChIWqy/
OjYAniJnX/8ZpAN/Cncm9+glPJdAA+D3
=CP5g
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: