Updates on grub systems lose track of panic=-1

Bug #1462501 reported by Sergio Schvezov
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snappy
Status tracked in Trunk
15.04
Fix Released
Critical
Sergio Schvezov
Trunk
Fix Released
Critical
Unassigned

Bug Description

Since original panic=-1 was added to u-d-f (which I really dislike it being the drop zone for hacks to the rootfs), the grub.d configuration file gets lost on full system updates so the kernel cmd line effectively loses track of it as the partition is formatted and not copied over.

This makes the u-d-f written 50-snappy-systems.txt effectively forgotten on an updated image that came from a system image full download which means that on an update-grub that is run it is effectively forgotten in grub.cfg.

Related branches

Revision history for this message
Sergio Schvezov (sergiusens) wrote :

Do we need to run update-grub btw? I was thinking on solving the azure problem of adding rootdelay=300 unsolvable, or at least involving a very different path than when some special arguments are needed on a u-boot based environment.

description: updated
description: updated
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

The solution here to not lose the panic=-1 is to add this file to lp:ubuntu/ubuntu-core-config but this doesn't solve the problem of setting up a different cmd line to boot.

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.