help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ifconfig location fix for aix


From: Yves
Subject: ifconfig location fix for aix
Date: Mon, 25 Jul 2005 19:30:02 +0200

Cangelog
2.1.16
     ...
        HPUX ifconfig location fix
     ...

Could you please add an "AIX fix" in nameinfo.c also

AIX5.1:
whereis ifconfig
ifconfig: /etc/ifconfig    /usr/sbin/infconfig

nameinfo.c
  +484      case hp:
  +485
  +486          if ((pp = cfpopen("/usr/sbin/ifconfig -a","r")) == NULL)
  +487             {
  +488             Verbose("Could not find interface info\n");
  +489             return;
  +490             }
  +491
  +492          break;
  +493
  +494      default:
  +495
  +496          if ((pp = cfpopen("/sbin/ifconfig -a","r")) == NULL)
  +497             {
  +498             Verbose("Could not find interface info\n");
  +499             return;
  +500             }


without I get:
Jul  5 09:17:16 server cfservd[75036]:  Logical start time Thu Jun 30 17:06:56 
2005
Jul  5 09:17:16 server cfservd[75036]:  This sub-task started really at Thu Jun 
30 17:06:56 2005
Jul  5 09:55:10 server cfservd[32868]:  Couldn't run /sbin/ifconfig
Jul  5 09:55:10 server cfservd[32868]:  execv: No such file or directory
Jul  5 09:55:11 server cfservd[51064]: cfservd Multithreaded version
Jul  5 09:55:11 server cfservd[51064]: cfservd starting Tue Jul  5 09:55:11 2005

Gruß Yves

 Y99@gmx.de am 25.07.2005 12:20:59Uhr





reply via email to

[Prev in Thread] Current Thread [Next in Thread]