Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1257827

Bug#1108605: hurd: fails to setup console and stdin/out/err

From Samuel Thibault <sthibault@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.ports.hurd
Subject Bug#1108605: hurd: fails to setup console and stdin/out/err
Date 2025-08-23 22:30 +0200
Message-ID <Ln329-9OZB-7@gated-at.bofh.it> (permalink)
References (4 earlier) <LmTct-9Is4-9@gated-at.bofh.it> <Ln329-9OZB-9@gated-at.bofh.it> <Ln329-9OZB-11@gated-at.bofh.it> <L3Fto-erva-9@gated-at.bofh.it> <Ln329-9OZB-11@gated-at.bofh.it>
Organization I am not organized

Cross-posted to 2 groups.

Show all headers | View raw


Stéphane Glondu, le sam. 23 août 2025 12:55:53 +0200, a ecrit:
> Ah, OK. Then isn't simply adding -T to ln enough?
> 
> Attached is an updated patch.

It seems to be doing it, applied, thanks!

> From 43bc9b8f4aaf540f83b998a715f5889160dae744 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?St=C3=A9phane=20Glondu?= <steph@glondu.net>
> Date: Sat, 23 Aug 2025 10:42:51 +0100
> Subject: [PATCH] Do not fail if std{in,out,err} exist in MAKEDEV (Closes:
>  #1108605)
> 
> ---
>  sutils/MAKEDEV.sh | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/sutils/MAKEDEV.sh b/sutils/MAKEDEV.sh
> index 637c156..c664259 100644
> --- a/sutils/MAKEDEV.sh
> +++ b/sutils/MAKEDEV.sh
> @@ -149,9 +149,9 @@ mkdev() {
>  	st $I root 666 c /hurd/magic tty;;
>        fd)
>  	st $I root 666 d /hurd/magic --directory fd
> -	cmd ln -f -s fd/0 stdin
> -	cmd ln -f -s fd/1 stdout
> -	cmd ln -f -s fd/2 stderr
> +	cmd ln -f -s -T fd/0 stdin
> +	cmd ln -f -s -T fd/1 stdout
> +	cmd ln -f -s -T fd/2 stderr
>  	;;
>        'time')
>  	st $I root 644 c /hurd/storeio --no-cache time ;;
> -- 
> 2.50.1

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#1108605: hurd: fails to setup console and stdin/out/err Martin-Éric Racine <martin-eric.racine@iki.fi> - 2025-07-01 11:30 +0200
  Bug#1108605: hurd: fails to setup console and stdin/out/err Samuel Thibault <sthibault@debian.org> - 2025-07-01 11:40 +0200
  Bug#1108605: hurd: fails to setup console and stdin/out/err Samuel Thibault <sthibault@debian.org> - 2025-07-03 12:00 +0200
  Bug#1108605: hurd: fails to setup console and stdin/out/err Samuel Thibault <sthibault@debian.org> - 2025-08-22 13:30 +0200
  Bug#1108605: hurd: fails to setup console and stdin/out/err Samuel Thibault <sthibault@debian.org> - 2025-08-23 22:30 +0200

csiph-web