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

Bug#763157: initramfs-tools: Mounting /usr by initramfs-tools breaks checkfs.sh



On Sun, Sep 28, 2014 at 08:20:52PM +0100, Ben Hutchings wrote:
> On Sun, 2014-09-28 at 19:44 +0100, Roger Leigh wrote:
> > On Sun, Sep 28, 2014 at 06:49:49PM +0100, Ben Hutchings wrote:
> > > Roger, please can you look at this?
> > > 
> > > Ben.
> > > 
> > > On Sun, 2014-09-28 at 11:41 +0200, Robert Luberda wrote:
> > > > Package: initramfs-tools
> > > > Version: 0.117
> > > > Severity: critical
> > > > Justification: breaks the whole system
> > > > 
> > > > Hi
> > > > 
> > > > After /usr is being mounted from initramfs, system is no longer
> > > > bootable, because checkfs.sh script fails with:
> > > > 
> > > >   [....] Checking file systems...fsck from util-linux 2.20.1
> > > >   /home2: clean, 166826/610800 files, 2350575/2441880 blocks
> > > >   /home: clean, 120720/1831424 files, 3611320/3662820 blocks
> > > >   /dev/sda5 is mounted.
> > > >   e2fsck: Cannot continue, aborting.
> > > > 
> > > > 
> > > >   fsck exited with status code 8
> > > >   [....] File system check failed. A log is being saved in
> > > >   /var/log/fsck/checkfs if that location is writable. Please repair the
> > > >   f[FAILystem manually. ... failed!
> > > >
> > > > The contents of /var/log/fsck/checkfs is:
> > > > 
> > > >   Log of fsck -C -R -A -a 
> > 
> > Has there been an update to util-linux to make the above -R option
> > skip checking /usr in addition to the rootfs?  That was a
> > prerequisite for mounting /usr in the initramfs.
> 
> Aaaaaaaaargh.  No.  And that doesn't fix the problem because we have to
> support partial upgrades.
> 
> Where is the bug report on util-linux?

Ah, found it as:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=697002

For some reason it's been reassigned to initscripts.  Not sure I
agree with the rationale of not patching util-linux; this looks
like it breaks the non-initramfs boot case since it won't fsck
a mounted rootfs with -M?  It was never the intention of this
work to make an initramfs mandatory.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800


Reply to: