bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problems with a subhurd


From: Justus Winter
Subject: Re: problems with a subhurd
Date: Sun, 04 Sep 2016 12:34:09 +0200
User-agent: Notmuch/0.22+51~gcc1a6d2 (https://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu)

Hey :)

"Brent W. Baccala" <cosine@freesoft.org> writes:
> Our current setup is that PID 5 (ext2fs) runs first, then starts PID 2
> (startup), which starts PID 1 (init).  Weird.  The cleanest solution, of
> course, would be to have proc actually respect these parenting
> relationships, then SIGCHLD and waitpid() would work normally.

Yes, weird indeed.  /hurd/proc assigns pids as the tasks are discovered,
and I hacked it so that we can make sysvinit pid 1.  sysvinit (posix?)
expects that.

> 3. Booting the subhurd, then running "halt -f" from its shell crashes the
> parent Hurd.  Here's what the subhurd displays:

I recommend against shutting down subhurds.  Privileged subhurds
(privileged as in the do have the privileged host control port) can
power down the system.  Also, the subhurd can see tasks from the parent
hurd, and interact with them.

If you like, you can have a look at my unprivileged subhurd branch here:

http://darnassus.sceen.net/cgit/teythoon/hurd.git/log/?h=unprivileged-subhurds-2016-09-04

Cheers,
Justus

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]