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

Martin-Éric Racine <[email protected]>
Newsgroups gmane.linux.debian.ports.hurd
Message-ID <CAPZXPQf9eBvjF4b0Q2vLb=mYEu-Jv=4Lh1WSRWDVUMCaJCN93Q__39739.0280779049$1751535934$gmane$org@mail.gmail.com>
ti 1.7.2025 klo 12.38 Samuel Thibault ([email protected]) kirjoitti:
> Martin-Éric Racine, le mar. 01 juil. 2025 12:07:56 +0300, a ecrit:
> > 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
>
> This is because
>
> cmd ln -f -s fd/0 stdin
>
> does not take care of the case when /dev/stdin already exist. This
> doesn't have any consequence, but could be fixed by checking whether the
> symlink already exists.

Agreed.

> > settrans: console: Device or resource busy
>
> This is more surpring since -K is passed, so st() is supposed to check
> that the translator is already set up. That needs some more
> investigation in the MAKEDEV script.

This one apparently works better now:

Preparing to unpack .../hurd_1%3a0.9.git20250622-3+b1_hurd-i386.deb ...
Unpacking hurd (1:0.9.git20250622-3+b1) over (1:0.9.git20250622-2) ...
Setting up hurd (1:0.9.git20250622-3+b1) ...
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 netdde ethX pseudo-root rtc loopX
ttyX ptyp ptyq lprX comX random urandom kbd mouse shm.
(Reading database ... 39849 files and directories currently installed.)
Preparing to unpack .../gnumach-common_2%3a1.8+git20250702-1_hurd-i386.deb ...

Martin-Éric
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.