From: "Daniel Clark" <dclark@pobox.com>
To: supervision@list.skarnet.org
Subject: Re: runit on AIX
Date: Tue, 26 Jun 2007 10:45:10 -0400 [thread overview]
Message-ID: <5422d5e60706260745l6276f34eoedf71d6044df55a0@mail.gmail.com> (raw)
In-Reply-To: <20070626100213.6401.qmail@1df015f10c84ca.315fe32.mid.smarden.org>
I'm not a C programmer, so immediately thought of the shell-based
solution, but I agree your patch makes much more sense. I have some Q2
deadlines at work, but will test this probably over the weekend, and
report back to the list so it can get included in runit 1.7.3.
BTW I am not using runit to replace init, just as a service monitor,
so the "it's working on AIX" only applies to that use case; I haven't
(and am not planning on) trying to replace AIX init with runit.
On 6/26/07, Gerrit Pape <pape@smarden.org> wrote:
> On Mon, Jun 25, 2007 at 08:27:39AM -0400, Daniel Clark wrote:
> > Yay! - runit seems to be working fine on AIX 5.2 ML1 and AIX 5.3 ML5.
> > The only required change was to rename some defines in
> > "compile/uw_tmp.h1":
> >
> > -#define UW_TMP_UFILE _PATH_UTMP
> > -#define UW_TMP_WFILE _PATH_WTMP
> > +#define UW_TMP_UFILE UTMP_FILE
> > +#define UW_TMP_WFILE WTMP_FILE
>
> Hi Daniel, simply falling back to UTMP_FILE if _PATH_UTMP isn't defined
> should do it, see the patch below.
>
> Thanks, Gerrit.
>
>
--
Daniel Clark # http://planyp.us/djbclark/profile
# http://dclark.us # http://opensysadmin.com
prev parent reply other threads:[~2007-06-26 14:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-25 12:27 Daniel Clark
2007-06-26 10:02 ` Gerrit Pape
2007-06-26 14:45 ` Daniel Clark [this message]
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=5422d5e60706260745l6276f34eoedf71d6044df55a0@mail.gmail.com \
--to=dclark@pobox.com \
--cc=supervision@list.skarnet.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).