[Git-commits] [grml/grml-live] efd244: Enable serial-getty with root autologin on every g...

Michael Prokop mika at grml.org
Fri Dec 14 14:43:25 CET 2018


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-live
  Commit: efd2447699c59c530f25b135986313b0a40dd0cb
      https://github.com/grml/grml-live/commit/efd2447699c59c530f25b135986313b0a40dd0cb
  Author: Darshaka Pathirana <dpat at syn-net.org>
  Date:   2018-12-14 (Fri, 14 Dec 2018)

  Changed paths:
    A etc/grml/fai/config/files/etc/systemd/system/serial-getty at .service.d/override.conf/GRMLBASE
    R etc/grml/fai/config/files/etc/systemd/system/serial-getty at ttyS0.service.d/override.conf/GRMLBASE

  Log Message:
  -----------
  Enable serial-getty with root autologin on every given device

With the kernel command line paramter / bootoption
`console=device,options`[1](https://www.kernel.org/doc/html/latest/admin-guide/serial-console.html)
it is possible to use a serial port as console.

So far we only enabled root autologin for the serial port ttyS0, but it
should be enabled on every given device as we do not have any password
set for any user, which meant that no login was possible at all (on a
serial port other than ttyS0).

The serial port ttyS1 can be tested with QEMU/KVM like this::

  kvm -m 512 -serial pty -serial pty -cdrom grml.iso

This adds two serial ports (ttyS0 and ttyS1) to the VM and redirect its
output to /dev/pts/*. On the Grml boot prompt then add "console=ttyS1"
to redirect the output to second serial console.

Thanks: @MichaelEischer for the bug report
Closes: grml/grml#104


  Commit: b0cda62701242268367990798f5a00d96f30cdf5
      https://github.com/grml/grml-live/commit/b0cda62701242268367990798f5a00d96f30cdf5
  Author: Michael Prokop <mika at grml.org>
  Date:   2018-12-14 (Fri, 14 Dec 2018)

  Changed paths:
    A etc/grml/fai/config/files/etc/systemd/system/serial-getty at .service.d/override.conf/GRMLBASE
    R etc/grml/fai/config/files/etc/systemd/system/serial-getty at ttyS0.service.d/override.conf/GRMLBASE

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/github/pr/68'


  Commit: 44e08cc9ce3f1031af6257c9ffc642636f5d1685
      https://github.com/grml/grml-live/commit/44e08cc9ce3f1031af6257c9ffc642636f5d1685
  Author: Michael Prokop <mika at grml.org>
  Date:   2018-12-14 (Fri, 14 Dec 2018)

  Changed paths:
    M debian/changelog

  Log Message:
  -----------
  Release new version 0.33.2


Compare: https://github.com/grml/grml-live/compare/66f8e5f5fe04...44e08cc9ce3f
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Git-commits mailing list