Bug#1108605: hurd: fails to setup console and stdin/out/err
Hello again,
la 23.8.2025 klo 23.26 Samuel Thibault (sthibault@debian.org) kirjoitti:
>
> 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
When is this patch expected to propagate to Unstable?
Setting up hurd (1:0.9.git20250801-5) ...
update-alternatives: warning: forcing reinstallation of alternative
/usr/bin/w-hurd because link group w is broken
update-alternatives: warning: not replacing /usr/bin/w with a link
Restarting Hurd console multiplexer: hurd-console.
Setting up translators: /hurd/exec /hurd/proxy-defpager /hurd/pflocal
(+link) inet (+link) inet6 (+link) /hurd/pci-arbiter /hurd/acpi
/hurd/shutdown /hurd/password crash-kill crash-suspend crash-dump-core
crash.
Creating device nodes: fdln: failed to access 'stdin/0': Not a directory
ln: failed to access 'stdout/1': Not a directory
ln: failed to access 'stderr/2': Not a directory
fdX stdsettrans: console: Device or resource busy
ln: failed to access 'stdin/0': Not a directory
ln: failed to access 'stdout/1': Not a directory
ln: failed to access 'stderr/2': Not a directory
vcs hdX hdXsY hdXs1Y sdX sdXsY sdXs1Y rumpdisk wdX wdXsY wdXs1Y
rumpusbdisk udX udXsY udXs1Y cdX ucdX/sbin/MAKEDEV: ucd0: Invalid
device name: must supply a device number
netdde ethX pseudo-root rtc loopX ttyX ptyp ptyq lprX comX random
urandom kbd mouse shm.
(Reading database ... 47540 files and directories currently installed.)
Martin-Éric
Reply to: