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


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

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-22 13:30 +0200
Message-ID <Lmy82-9uJE-9@gated-at.bofh.it> (permalink)
References <L3Fto-erva-9@gated-at.bofh.it> <L3FD3-erys-3@gated-at.bofh.it> <Lmy82-9uJE-11@gated-at.bofh.it> <L3Fto-erva-9@gated-at.bofh.it> <Lmy82-9uJE-11@gated-at.bofh.it>
Organization I am not organized

Cross-posted to 2 groups.

Show all headers | View raw


Martin-Éric Racine, le ven. 22 août 2025 13:47:21 +0300, a ecrit:
> ti 1.7.2025 klo 12.38 Samuel Thibault (sthibault@debian.org) kirjoitti:
> >
> > 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.
> 
> Still not fixed as of Hurd 1:0.9.git20250801-3.

Sure, it "just" needs somebody to take care of it.

"could" above doesn't mean that I plan to take the time to fix it.

> $ ls -al stdin stdout stderr
> lrwxrwxrwx 1 root root 4 2025-05-01 21:11 stderr -> fd/2
> lrwxrwxrwx 1 root root 4 2025-05-01 21:11 stdin -> fd/0
> lrwxrwxrwx 1 root root 4 2025-05-01 21:11 stdout -> fd/1
> 
> It really should ship with a script to normalize this as needed.

Contribution is always welcome.

Samuel

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next 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