Hello Samuel,

On Sun, Apr 06, 2025 at 07:33:59PM +0200, Samuel Thibault wrote:
> João, le ven. 28 mars 2025 17:39:17 +0100, a ecrit:
> > I have not yet tried to get the hurd-console working, but this will probably
> > involve starting the console server (under runit supervision?), setting the
> > translators for the different tty and running getty on them?
> 
> That is essentially it, yes. The console server would not be under
> runit supervision: it's just sitting on /dev/console. It's the client
> that would be run by runit.

I was able to start a getty on /dev/console without starting the hurd-console
client and I get the mach console as expected.
I have tried to start the hurd-console client via runit, and starting gettys on
/dev/tty1 etc. (runit does this in a racing way and keeps retrying if failed),
but did not manage to make it work (not having a console makes it difficult to
see what is going on). You mention /dev/console, is this where the getty should
attach instead of /dev/tty[n] when using hurd-console?

I thought the problem could be that the console translator is not setup
correctly. Is this done at some stage during the boot process? How? Or is it a
passive translator set at install time?

runit-init maintainer got interested in the topic, and if other people are
interested there is now a bug report about getting runit working as init system
on hurd:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1101895


> > On the topic of init systems, many will know that GNU Shepher 1.0 has been
> > released
> > (https://www.gnu.org/software/shepherd/news/2024/12/the-shepherd-1.0.0-released/),
> > and it is in Debian but not yet building on the hurd
> > (https://buildd.debian.org/status/package.php?p=shepherd).

About Shepherd, guille-3.0 is a dependency, and that failed to build with an
odd log:

  df -h # See what we have (relevant to tests like ports.test)
  df: cannot read table of mounted file systems: No such file or directory

(https://buildd.debian.org/status/package.php?p=guile-3.0)

However I get a different error when trying to build guile-3.0 locally. Is it
worth trying to build it again? Is this what is called "giveback"?

Many thanks,
João

Reply via email to