fstype detects ext4 w/o journal as ext2

Bug #416636 reported by Rune Kock
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
klibc (Ubuntu)
Fix Released
Medium
Colin Watson

Bug Description

Binary package hint: klibc-utils

Using today's Karmic (20 aug 2009), with klibc-utils 1.5.15-1.

I removed the journal from my ext4 root partition (tune2fs -O ^has_journal).

This caused the system to become unbootable, because the initrd tries to mount the fs as ext2. Running fstype from klibc-utils shows ext2, and I guess that's the root cause. Adding rootfstype=ext4 to my kernel options in grub made the system boot.

Related branches

Colin Watson (cjwatson)
Changed in klibc (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Colin Watson (cjwatson)
Changed in klibc (Ubuntu):
assignee: nobody → Colin Watson (cjwatson)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package klibc - 1.5.15-1ubuntu1

---------------
klibc (1.5.15-1ubuntu1) karmic; urgency=low

  * 20-signal-cleanup.patch: Cope with header changes in Linux 2.6.30.
  * 21-mntproc-definitions.patch: MNTPROC_MNT and MNTPROC_UMNT are no longer
    defined by the kernel. Hack around this by restoring the old
    definitions.
  * 22-ext4-no-journal.patch: Recognise ext4 filesystems without journals
    (LP: #416636).

 -- Colin Watson <email address hidden> Sun, 04 Oct 2009 23:10:12 +0100

Changed in klibc (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

It occurs that we should try and use blkid here not fstype, then we unify on a single filesystem detection library - blkid is in the initramfs already and *run in that script already*!

Revision history for this message
Colin Watson (cjwatson) wrote : Re: [Bug 416636] Re: fstype detects ext4 w/o journal as ext2

Yes, the same thought crossed my mind. I saw a rumour on a mailing list
somewhere that klibc upstream was already working on this, so we can
probably let them get on with it unless it takes too long. :-)

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

On Mon, 2009-10-05 at 17:05 +0000, Colin Watson wrote:

> Yes, the same thought crossed my mind. I saw a rumour on a mailing list
> somewhere that klibc upstream was already working on this, so we can
> probably let them get on with it unless it takes too long. :-)
>
Do we use any other significant pieces of klibc anymore?

Scott
--
Scott James Remnant
<email address hidden>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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