console redirection parameters are misleading
Bug #1887009 reported by
Andrea Ieri
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-sysconfig |
Fix Released
|
Medium
|
Unassigned |
Bug Description
The charm sets the following GRUB_CMDLINE by default:
GRUB_CMDLINE_
This may appear to be redirecting the console to both ttyS0 and ttyS1, but that's not true: the kernel will only output kernel messages on one device per type. Since the first one in the list wins, kernel messages will only appear on ttyS0 (and tty0, but that's because it's a different device type).
The rules governing console redirection can be found here:
https:/
Related branches
~aieri/charm-sysconfig:bug/1887009
- Drew Freiberger (community): Approve
- Paul Goins: Approve
- Giuseppe Petralia: Approve
-
Diff: 13 lines (+1/-1)1 file modifiedsrc/templates/grub.j2 (+1/-1)
Changed in charm-sysconfig: | |
status: | Confirmed → Fix Released |
milestone: | none → 21.01 |
To post a comment you must log in.
In my testing "console=tty0 console= ttyS0,115200 console= ttyS1,115200" will also confusingly push foreground messages to vga instead of serial; this may be because the last device in the line (ttyS1) is not actually being used, so the logic reverts to the default, as if none of those options had been set.