Project

General

Profile

Actions

Bug #14576

closed

absent framebuffer prevents console-login on all serial ports

Added by Jason King 7 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
smf
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

This is an upstream of Joyent OS-4456:

In a hilariously ironic twist of fate, a system constructed without the entirely unnecessary VGA framebuffer will refuse to spin up the console-login service for any serial ports on the system.

When there is no framebuffer, the vt subsystem does not initialise; subsequently all instances of console-login except for "default" will disable themselves.

It never rains, but it pours.

While illumos-gate does not currently create console-login instances for serial ports, the console-login SMF manifest (per the template) explicitly indicates this is allowed. Several downstream distros already do this out of the box, so it would make sense to limit the check in the console-login method script to only apply to vt instances (as was done in the SmartOS change).

Actions #1

Updated by Electric Monk 7 months ago

  • Gerrit CR set to 2071
Actions #2

Updated by Jason King 7 months ago

In terms of testing, this change has been in SmartOS for several years w/o issue.
More recently, in some work I was doing (Hyper-V gen2 VM support), I hit this same problem, including the fix resolved the issue.

Actions #3

Updated by Electric Monk 7 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit d3477c6d12fcb86e8bb78faf6993ae16c81cbe12

commit  d3477c6d12fcb86e8bb78faf6993ae16c81cbe12
Author: Joshua M. Clulow <jmc@joyent.com>
Date:   2022-03-22T22:32:15.000Z

    14576 absent framebuffer prevents console-login on all serial ports
    Reviewed by: Andy Fiddaman <andy@omnios.org>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF