Page MenuHomePhabricator

Different serial console speeds appear in default boot configuration
Open, Requires assessmentPublicBUG

Description

SUMMARY

STEPS TO REPRODUCE

  1. Start a Vyos ISO
  2. Login
  3. Run the following commands:

__

configure
show system console device ttyS0

OBSERVED RESULT

speed 9600
[edit]

EXPECTED RESULT

speed 115200
[edit]

SOFTWARE/OS VERSIONS

vyos-1.2.0-rolling+201905200337-amd64.iso

ADDITIONAL INFORMATION

There are two speed lines in the default configuration file:

grep speed /opt/vyatta/etc/config/config.boot
            speed "115200"
            speed "9600"

This seems to be caused by the "3-to4" migration script in vyatta-config-migrate setting the speed to 9600 inconditionally.

Details

Difficulty level
Easy (less than an hour)
Version
1.2.0-rolling+201905200337
Why the issue appeared?
Will be filled on close

Event Timeline

This patch should fix the issue.

wsapplegate updated the task description. (Show Details)May 20 2019, 7:56 AM
wsapplegate updated the task description. (Show Details)
wsapplegate updated the task description. (Show Details)
wsapplegate updated the task description. (Show Details)
wsapplegate updated the task description. (Show Details)May 20 2019, 7:58 AM
wsapplegate updated the task description. (Show Details)
wsapplegate updated the task description. (Show Details)
pasik added a subscriber: pasik.May 27 2019, 8:20 PM