From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1452 Path: news.gmane.org!not-for-mail From: "Daniel Clark" Newsgroups: gmane.comp.sysutils.supervision.general Subject: runit on AIX Date: Mon, 25 Jun 2007 08:27:39 -0400 Message-ID: <5422d5e60706250527i300f4c71ue9f9526b1b45f508@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1182774480 2514 80.91.229.12 (25 Jun 2007 12:28:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Jun 2007 12:28:00 +0000 (UTC) To: Supervision Original-X-From: supervision-return-1689-gcsg-supervision=m.gmane.org@list.skarnet.org Mon Jun 25 14:27:58 2007 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by lo.gmane.org with smtp (Exim 4.50) id 1I2nff-0005sb-BO for gcsg-supervision@gmane.org; Mon, 25 Jun 2007 14:27:55 +0200 Original-Received: (qmail 7078 invoked by uid 76); 25 Jun 2007 12:28:15 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 7073 invoked from network); 25 Jun 2007 12:28:15 -0000 DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=gFb/m6U493bipQmjHviFYSe7fl5twbNCKRpgBpbiElbHTFKIrDSGwv6wbB3IARDFjXLCg0mqWmFNJT3+EzHLTTu4RAX1HR5JJwOHSLdJu3k2VMqWScLm6rdq/Kc/VIXAtlB9SkJmKAyBmCU7O2E1nNfrL/eK/z91dPk4LmvwsB8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=pidkOp1Rhy1czsNg1h4RuL2LjAa/4z7vRquPijeaRFkwYSvMIGPf3gWOspyUwCRXzZhLPnj2xeibiU8jZX+PIAi/ZMAHTsEsDMUqqIeWvd7bdJ/JOZOsBMAjjW6Ep5hZkfhlQqYAkaEm38HyjMFINmHFOoRnHzA2rgDJ4X9tPbg= Original-Sender: djbclark@gmail.com Content-Disposition: inline X-Google-Sender-Auth: 7b007ceb4c32e78d Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1452 Archived-At: 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