[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cfengine 1.63 on Digital Unix/Tru64
From: |
Hans . Kowallik |
Subject: |
cfengine 1.63 on Digital Unix/Tru64 |
Date: |
Mon, 5 Nov 2001 20:03:30 +0100 |
Apologies for mailing this twice, but I came up with a quick hack:
In src/misc.c
replace
if ((ifr.ifr_flags & IFF_UP) && !(ifr.ifr_flags & IFF_LOOPBACK))
with
if ((ifbuf[j].ifr_flags == 2 ) && !(ifr.ifr_flags & IFF_LOOPBACK))
recompile, reinstall and it works
Hi!
When I run cfengine on out Digital Unix 4.0f hosts I get:
Found: 30 interfaces
Interface 1: tu0
Host information for 6.3.6.0 not found
Interface 2: tu0
Host information for 0.0.0.0 not found
Interface 3: tu1
Host information for 6.3.6.0 not found
Interface 4: tu1
Host information for 0.0.0.0 not found
Interface 5: tu2
Host information for 6.3.6.0 not found
Interface 6: tu2
Host information for 0.0.0.0 not found
Interface 7: tu2
Apparently cfengine uses something like netstat -in to figure what
interfaces are configured and then tries to do a reverse nslookup on things
like
0a:00:2b:c4:03:f2
Eventually these lookups will time out, but we want to use cfengine for
tasks which happen "now" and not after several name server timeouts.
alpha:netstat /somewhere/netstat_cfengine.pl in cfrc doesn't help as
cfengine reads this file too late.
Any ideas???
Hans Kowallik