supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: "Daniel Clark" <dclark@pobox.com>
To: Supervision <supervision@list.skarnet.org>
Subject: runit on AIX
Date: Mon, 25 Jun 2007 08:27:39 -0400	[thread overview]
Message-ID: <5422d5e60706250527i300f4c71ue9f9526b1b45f508@mail.gmail.com> (raw)

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

I'm sure there is a better way to do this involving auto-detecting
AIX. FYI the relevant shell code is:

aixbox# uname
AIX
aixbox# oslevel
5.3.0.0

(although I don't think you'd have to use oslevel as the change was
the same on 5.2 and 5.3)

I have an updated encap for runit with these changes up at:
http://bcfg2.org/browser/trunk/bcfg2/encap/src/encap-profiles/runit-1.7.2.ep

Cheers,
-- 
Daniel Clark # http://planyp.us/djbclark/profile
# http://dclark.us # http://opensysadmin.com


             reply	other threads:[~2007-06-25 12:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-25 12:27 Daniel Clark [this message]
2007-06-26 10:02 ` Gerrit Pape
2007-06-26 14:45   ` Daniel Clark

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=5422d5e60706250527i300f4c71ue9f9526b1b45f508@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).