supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* runit on AIX
@ 2007-06-25 12:27 Daniel Clark
  2007-06-26 10:02 ` Gerrit Pape
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Clark @ 2007-06-25 12:27 UTC (permalink / raw)
  To: Supervision

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-06-26 14:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-25 12:27 runit on AIX Daniel Clark
2007-06-26 10:02 ` Gerrit Pape
2007-06-26 14:45   ` Daniel Clark

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).