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

Samuel Thibault <[email protected]>
Newsgroups gmane.linux.debian.ports.hurd
Organization I am not organized
Message-ID <aGOse9Vf3ezCUwPD__47729.3769059301$1751362770$gmane$org@begin>
Hello,

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.

> 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.

Samuel
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.