Re: [PATCH 12/20] host/rootfs: Do not read from /dev/tty1

Alyssa Ross
2025-09-08T09:19:45Z

[-- Attachment #1: Type: text/plain, Size: 815 bytes --]

Demi Marie Obenour <demiobenour@gmail.com> writes:

> This breaks debugging because data written goes both to Weston (or its
> subprocesses) and to getty.
>
> Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>

Can you give some more detail?

> ---
> host/rootfs/etc/s6-rc/weston/run | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/host/rootfs/etc/s6-rc/weston/run b/host/rootfs/etc/s6-rc/weston/run
> index 7dca0dab095569c9e7d49df9d245533a7265283e..9c04eba471e6db7093a9004fd3ed7cfb8365eaf7 100644
> --- a/host/rootfs/etc/s6-rc/weston/run
> +++ b/host/rootfs/etc/s6-rc/weston/run
> @@ -16,7 +16,7 @@ backtick HOME {
> homeof $user
> }
>
> -redirfd -r 0 /dev/tty1
> +redirfd -r 0 /dev/null
>
> importas -i home HOME
> cd $home
>
> --
> 2.51.0

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]