update-initramfs -u fails with "WARNING: /boot is ro mounted." even if /boot is rw

Bug #187282 reported by Agostino Russo
2
Affects Status Importance Assigned to Milestone
Wubi
Fix Released
Medium
Unassigned
initramfs-tools (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

That is due to the check for /boot ro status, since they look for the substring "ro" within /proc/mounts options column, which is also triggered by "group_id" (among others).

ro_boot_check()
{
        [ -r /proc/mounts ] || return 0
        boot_opts=$(awk '/boot/{if (match($4, /ro/) && $2 == "/boot")
                print "ro"}' /proc/mounts)
....

workaround:

update-initramfs -c -k $(uname -r)

Tags: wubi
Agostino Russo (ago)
description: updated
Changed in wubi:
importance: Undecided → Medium
status: New → Confirmed
Agostino Russo (ago)
description: updated
Colin Watson (cjwatson)
Changed in initramfs-tools:
importance: Undecided → Medium
milestone: none → hardy-alpha-5
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package initramfs-tools - 0.85eubuntu23

---------------
initramfs-tools (0.85eubuntu23) hardy; urgency=low

  * Fix broken test in ro_boot_check (LP: #187282). It was matching ro
    as a subword.

 -- Evan Dandrea <email address hidden> Wed, 30 Jan 2008 10:35:28 -0500

Changed in initramfs-tools:
status: Confirmed → Fix Released
Agostino Russo (ago)
Changed in wubi:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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