No way to update kernel cmdline via gadget snap update
Bug #1664388 reported by
Tony Espy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
There currently doesn't appear to be any way to update the kernel parameters on a grub based system running Ubuntu core via a gadget snap update.
In my particular instance, I'd like to change the value of panic=-1 to panic=0, as the device in question has a hardware watchdog timer enabled, and systemd is configured to use it.
Although it's possible to do override this for initial image builds by dropping a file in /etc/sysctl.d/ with:
kernel.panic = 0
...this file won't get picked up on gadget snap update either.
This bug is being reported on an Ubuntu Core 16 system running snapd 2.22.
affects: | snappy → snapd |
Changed in snapd: | |
status: | New → Confirmed |
tags: | added: hwe |
tags: |
added: ce removed: hwe |
To post a comment you must log in.
For the certified kernels, I am not sure we want an open-ended "stick
this on the kernel cmdline" mechanism. We probably DO want a
parameterized "here are some well-behaved things you can enable or
disable in your gadget snap".
I can see the argument that for a brand-specific kernel, you get
whatever you want, and the result is uncertified.
Mark