[Git-commits] [grml/grml-autoconfig] 1e268f: systemd unit: use StandardInput=null to work in se...

Michael Prokop noreply at github.com
Fri Sep 2 17:18:29 CEST 2022


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-autoconfig
  Commit: 1e268ffe4f787e0fbe91b77792d6662d009e0a31
      https://github.com/grml/grml-autoconfig/commit/1e268ffe4f787e0fbe91b77792d6662d009e0a31
  Author: Michael Prokop <mika at grml.org>
  Date:   2022-09-02 (Fri, 02 Sep 2022)

  Changed paths:
    M systemd/grml-autoconfig.service

  Log Message:
  -----------
  systemd unit: use StandardInput=null to work in serial console mode

We shouldn't need standard input connected to a TTY, but when booting
in serial console mode (like `console=tty1 console=ttyS0,9600n8`), then
grml-autoconfig service fails with:

| systemd[1]: Starting Grml boot option support...
| systemd[1]: grml-autoconfig.service: Main process exited, code=exited, status=1/FAILURE
| systemd[1]: grml-autoconfig.service: Failed with result 'exit-code'.
| systemd[1]: Failed to start Grml boot option support.
| systemd[1]: grml-autoconfig.service: Consumed 2.475s CPU time.

Replacing `StandardInput=tty` with `StandardInput=null` fixes
this, while non-serial console mode seems to continue working fine.

Closes: https://github.com/grml/grml/issues/176


  Commit: 23afbaf0a75b0b6144675c7f419fdbfa9dfa8522
      https://github.com/grml/grml-autoconfig/commit/23afbaf0a75b0b6144675c7f419fdbfa9dfa8522
  Author: Michael Prokop <mika at grml.org>
  Date:   2022-09-02 (Fri, 02 Sep 2022)

  Changed paths:
    M debian/changelog

  Log Message:
  -----------
  Release new version 0.20.3


Compare: https://github.com/grml/grml-autoconfig/compare/af578f247f40...23afbaf0a75b


More information about the Git-commits mailing list