HomeVyOS Platform

system: op-mode: T3334: allow delayed getty restart when configuring serial…

This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

system: op-mode: T3334: allow delayed getty restart when configuring serial ports

  • Created op-mode command "restart serial console"
  • Relocated service control to vyos.utils.serial helpers, used by conf- and op-mode serial console handling
    • Checking for logged-in serial sessions that may be affected by getty reconfig
    • Warning the user when changes are committed and serial sessions are active, otherwise restart services as normal. No prompts issued during commit, all config gen/commit steps still occur except for the service restarts (everything remains consistent)
    • To apply committed changes, user will need to run "restart serial console" to complete the process or reboot the whole router
    • Added additional flags and target filtering for generic use of helpers.

(cherry picked from commit bc9049ebd76576d727fa87b10b96d1616950237c)

Details

Provenance
Andrew ToppAuthored on Jul 8 2024, 1:58 PM
MergifyCommitted on Jul 30 2024, 1:53 PM
Parents
rVYOSONEX6a6b8616a9f2: Merge pull request #3890 from vyos/mergify/bp/sagitta/pr-3889
Branches
Loading...
Tags
Loading...

Event Timeline

Mergify <37929162+mergify[bot]@users.noreply.github.com> committed rVYOSONEXdb6f10654df7: system: op-mode: T3334: allow delayed getty restart when configuring serial… (authored by Andrew Topp <andrewt@telekinetica.net>).Jul 30 2024, 1:53 PM