From: Gerrit Pape <pape@smarden.org>
Subject: Re: Trying to alter runit a little.
Date: Thu, 17 Nov 2005 08:59:41 +0000 [thread overview]
Message-ID: <20051117085412.28856.qmail@61a53ad4699a19.315fe32.mid.smarden.org> (raw)
In-Reply-To: <20051112150224.47975.qmail@web33308.mail.mud.yahoo.com>
On Sat, Nov 12, 2005 at 07:02:24AM -0800, L. Jason Godsey wrote:
> I've removed the requirment for runit to be pid 1. I want to replace
> init within a FreeBSD jail. The first process to run isn't pid 1.
>
> Do you see any problems that will become of this?
The runit-init program, normally installed as /sbin/init sends signals
to pid 1 when told to reboot or halt the system. The runit program
doesn't provide any other communication channel than signals (combined
with magic files), so it relies on being the process with id 1. If you
change that, nothing else should break but this IPC, but you then have
the problem to find out the id of the runit process on shutdown. Tools
like pidof are exactly what runit replaces with a reliable solution.
> I just did a make package outside of the jail and the system froze, I'm
> guessing the build process checks for error if runit is not pid 1.
>
> The machine locked up and I'll have to wait a few hours for someone to
> go to the colo machine and power cycle it for me.
I can't see how this relates to your change, building the package should
never make the system hang, unless the system is buggy.
Regards, Gerrit.
next prev parent reply other threads:[~2005-11-17 8:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-12 15:02 L. Jason Godsey
2005-11-17 8:59 ` Gerrit Pape [this message]
2005-11-17 22:46 ` Paul Jarc
2005-11-21 8:59 ` Gerrit Pape
2005-11-22 6:37 ` Paul Jarc
2005-11-18 11:07 ` L. Jason Godsey
2005-11-21 8:56 ` Gerrit Pape
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051117085412.28856.qmail@61a53ad4699a19.315fe32.mid.smarden.org \
--to=pape@smarden.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).