bug-cfengine
[Top][All Lists]
Advanced

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

bug when accounts looks like this: #<number>


From: Urban Edlund
Subject: bug when accounts looks like this: #<number>
Date: Mon, 10 May 2004 14:42:50 +0200
User-agent: Mutt/1.4.2.1i

Hi,

I think I have found a bug in cfengine. I did this to kill hung imapd processes 
using.

        "[0-9][0-9][0-9]:[0-9][0-9] /usr/bin/imapd" signal=term exclude=root

When running, I got this...

*********************************************************************
 Main Tree Sched: processes pass 1 @ Mon May 10 12:37:44 2004
*********************************************************************

cfengine:maccess2: Running process command /bin/ps auxw
cfengine:maccess2: Couldn't send signal to pid 3134833
cfengine:maccess2: killcfengine:maccess2: Couldn't send signal to pid 3134833
cfengine:maccess2: killcfengine:maccess2: Couldn't send signal to pid 3260019
cfengine:maccess2: killcfengine:maccess2: Couldn't send signal to pid 3260019
cfengine:maccess2: killcfengine:maccess2: Couldn't send signal to pid 3134833
cfengine:maccess2: killcfengine:maccess2: Couldn't send signal to pid 3191686
cfengine:maccess2: killcfengine:maccess2: Couldn't send signal to pid 3154493
cfengine:maccess2: killDefining classes 
DoSignals([0-9][0-9][0-9]:[0-9][0-9] /usr/bin/imapd)

the problem is that ps auwx looks liks this..

bash-2.05a# ps auxw
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START      TIME   COMMAND
#3134833 15700  0.0  0.0  1680  592 ?        S    10:13     130:33  
/usr/bin/imapd Maildir
#3260019  2970  0.0  0.0  1712  660 ?        S    10:43      43:23  
/usr/bin/imapd Maildir
#3260019 12353  0.0  0.0  1700  652 ?        S    10:49      52:20  
/usr/bin/imapd Maildir
#3134833 19269  0.0  0.0  1712  688 ?        S    10:52     241:50  
/usr/bin/imapd Maildir
#3191686  5625  0.0  0.0  1688  612 ?        S    11:03     121:05  
/usr/bin/imapd Maildir
#3239318 19063  0.0  0.0  1688  596 ?        S    12:20    6423:22  
/usr/bin/imapd Maildir
#900320  26045  0.0  0.0  1708  672 ?        S    12:24    2334:03  
/usr/bin/imapd Maildir

cfengine uses the USER colum as the PID when it try to send term signal.

we are using these versions.

bash-2.05a# cfagent -V
GNU cfengine 2.1.0b5
Free Software Foundation 1994-
Donated by Mark Burgess, Faculty of Engineering,
Oslo University College, 0254 Oslo, Norway
$PatchVersion: Debian 2.0.9+2.1.0b5-2 $
This program is covered by the GNU Public License and may be
copied free of charge.  No warranty is implied.

bash-2.05a# uname -a
Linux 2.4.25-generic #1 SMP Tue Feb 24 14:38:06 CET 2004 i686 unknown

Regards
Urban




reply via email to

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