Skip to contentSkip to conversation

systemd: Remove instance name usage in a non-template unit file

PATCH New Gervais 3 participants 3 messages Feb 20, 2019 – Feb 22, 2019

lore
Share & tools
lore

Gervais

#0 lore raw

PATCH 1/1 systemd: Remove instance name usage in a non-template unit file

Getty startup can fail due to the instance name specifier being used in a non-template unit file.

Fixes:
No getty prompt on boot

---
 package/systemd/0001-fix-getty-unit.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/systemd/0001-fix-getty-unit.patch +1 -1
index d546e1ab32..a12569f493 100644
@@ -30,7 +30,7 @@ index 3c553240a..fd5ad9456 100644
  # option to preserve environment (-p), followed by '--' for safety, and then
  # the entered username.
 -ExecStart=-/sbin/agetty -o '-p -- \\u' --noclear --keep-baud console 115200,38400,9600 $TERM
-+ExecStart=-/sbin/getty -L %I 115200 vt100
++ExecStart=-/sbin/getty -L console 115200 vt100
  Type=idle
  Restart=always
  UtmpIdentifier=cons
Signature · 1 line
2.19.1
#1 lore raw

PATCH 1/1 systemd: Remove instance name usage in a non-template unit file

Quoted 7 lines · Francois

Getty startup can fail due to the instance name specifier being used in a non-template unit file.

Fixes:
No getty prompt on boot

Applied to master, thanks. I've extended the commit message a little to explain
what exactly goes wrong.

Peter, this applies to 2018.11.x as well. Not to 2018.02.x.

Regards,
Arnout

Quoted 18 lines
---
 package/systemd/0001-fix-getty-unit.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/systemd/0001-fix-getty-unit.patch +1 -1
index d546e1ab32..a12569f493 100644
@@ -30,7 +30,7 @@ index 3c553240a..fd5ad9456 100644
  # option to preserve environment (-p), followed by '--' for safety, and then
  # the entered username.
 -ExecStart=-/sbin/agetty -o '-p -- \\u' --noclear --keep-baud console 115200,38400,9600 $TERM
-+ExecStart=-/sbin/getty -L %I 115200 vt100
++ExecStart=-/sbin/getty -L console 115200 vt100
  Type=idle
  Restart=always
  UtmpIdentifier=cons
#2 lore raw

PATCH 1/1 systemd: Remove instance name usage in a non-template unit file

Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Arnout" == Arnout Vandecappelle <[email protected]> writes:

Quoted 6 lines · Francois

Getty startup can fail due to the instance name specifier being used in a non-template unit file.

Fixes:
No getty prompt on boot

Quoted 6 lines
Quoted 1 line

Applied to master, thanks. I've extended the commit message a little to explain
what exactly goes wrong.

Peter, this applies to 2018.11.x as well. Not to 2018.02.x.

Committed to 2018.11.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard