]> git.ipfire.org Git - thirdparty/systemd.git/commit
units: Simplify container getty handling
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 19 Jul 2022 08:37:05 +0000 (10:37 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 28 Jul 2022 19:30:53 +0000 (21:30 +0200)
commit219fa78b5fa2ec9c13dd87419366116e3197693f
tree51d93da38664ef14bbe8ca4aaf674051ce1e6657
parent71ec216e86173b5705772730c06d6ccaa16d598a
units: Simplify container getty handling

Let's remove the baud settings for the container getty units since
they don't have any effect there anyway. On top of that, when we're
dealing with container TTYs, we can handle all the setup involved
ourselves so let's prevent agetty/login from touching the container
tty at all.

One example where this helps is that it actually makes disabling
TTYVHangup have an effect since before, login would unconditionally
call vhangup() on the tty.
units/console-getty.service.in
units/container-getty@.service.in