help-cfengine
[Top][All Lists]
Advanced

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

Received signal 2, followed by uninstall of sudo, followed by failure to


From: Glen Gunselman
Subject: Received signal 2, followed by uninstall of sudo, followed by failure to install sudo
Date: Tue, 17 Jan 2006 12:18:29 -0600

 
This seems to have gotten lost the first time I sent it, so here's try 2...
 
 
I received email from cfengine early Monday morning:
 
cfengine:: Received signal 2 (SIGINT) while doing [lock.cfagent_conf..shellcommand._bin_echo__VUE_1__bin_su_sysnav__c___bin_ssh_10_19_19_20_echo____dev_null_____bin_sh__s_1683]
cfengine:: Logical start time Mon Jan 16 01:19:54 2006
cfengine:: This sub-task started really at Mon Jan 16 01:19:57 2006
 
Then at 11:53:22 AM cfengine uninstalled sudo:
 
cfengine::in/pkg-get -f -: WARNING: gpg not found
cfengine::in/pkg-get -f -: NOTE: To have checksums compared, you must install one of:
cfengine::in/pkg-get -f -:   md5  or gmd5sum (gmd5sum is available with GNU textutils)
cfengine::in/pkg-get -f -:   try 'pkg-get install textutils'
cfengine::in/pkg-get -f -: Trying http://ibiblio.org/pub/packages/solaris/csw/unstable/sparc/5.9/sudo-1.6.8p12,REV=2005.12.19-SunOS5.8-sparc-CSW.pkg.gz
cfengine::in/pkg-get -f -: --11:52:16--  http://ibiblio.org/pub/packages/solaris/csw/unstable/sparc/5.9/sudo-1.6.8p12,REV=2005.12.19-SunOS5.8-sparc-CSW.pkg.gz
cfengine::in/pkg-get -f -:            
 
Glen Gunselman
Systems Software Specialist
TCS
Emporia State University => `sudo-1.6.8p12,REV=2005.12.19-SunOS5.8-sparc-CSW.pkg.gz'
cfengine::in/pkg-get -f -: Connecting to ibiblio.org:80... connected!
cfengine::in/pkg-get -f -: HTTP request sent, awaiting response... 200 OK
cfengine::in/pkg-get -f -: Length: 61,896 [text/plain]
cfengine::in/pkg-get -f -:     0K                                                      100% @ 119.69 KB/s
cfengine::in/pkg-get -f -: 11:52:16 (119.69 KB/s) - `sudo-1.6.8p12,REV=2005.12.19-SunOS5.8-sparc-CSW.pkg.gz' saved [61896/61896]
cfengine::in/pkg-get -f -: Removal of <CSWsudo> was successful.
cfengine::in/pkg-get -f -: Analysing special files...
cfengine::in/pkg-get -f -: 314 blocks
cfengine::in/pkg-get -f -: Error: dependancy CSWsudo-common not up to date
cfengine::in/pkg-get -f -: Call pkg-get again in update all mode
cfengine::in/pkg-get -f -: eg: '/opt/csw/bin/pkg-get update'
cfengine::in/pkg-get -f -: This will then upgrade all packages cleanly
 
Then at 11:57:47 AM (and approx. every 5 min.) cfengine failed to install sudo:
 
cfengine::in/pkg-get -f -: WARNING: gpg not found
cfengine::in/pkg-get -f -: NOTE: To have checksums compared, you must install one of:
cfengine::in/pkg-get -f -:   md5  or gmd5sum (gmd5sum is available with GNU textutils)
cfengine::in/pkg-get -f -:   try 'pkg-get install textutils'
cfengine::in/pkg-get -f -: No existing install of CSWsudo found. Installing...
cfengine::in/pkg-get -f -: Trying http://ibiblio.org/pub/packages/solaris/csw/unstable/sparc/5.9/sudo-1.6.8p12,REV=2005.12.19-SunOS5.8-sparc-CSW.pkg.gz
cfengine::in/pkg-get -f -: --11:57:13--  http://ibiblio.org/pub/packages/solaris/csw/unstable/sparc/5.9/sudo-1.6.8p12,REV=2005.12.19-SunOS5.8-sparc-CSW.pkg.gz
cfengine::in/pkg-get -f -:            => `sudo-1.6.8p12,REV=2005.12.19-SunOS5.8-sparc-CSW.pkg.gz'
cfengine::in/pkg-get -f -: Connecting to ibiblio.org:80... connected!
cfengine::in/pkg-get -f -: HTTP request sent, awaiting response... 200 OK
cfengine::in/pkg-get -f -: Length: 61,896 [text/plain]
cfengine::in/pkg-get -f -:     0K                                                      100% @  84.78 KB/s
cfengine::in/pkg-get -f -: 11:57:14 (84.78 KB/s) - `sudo-1.6.8p12,REV=2005.12.19-SunOS5.8-sparc-CSW.pkg.gz' saved [61896/61896]
cfengine::in/pkg-get -f -: Analysing special files...
cfengine::in/pkg-get -f -: 314 blocks
cfengine::in/pkg-get -f -: Error: dependancy CSWsudo-common not up to date
cfengine::in/pkg-get -f -: Call pkg-get again in update all mode
cfengine::in/pkg-get -f -: eg: '/opt/csw/bin/pkg-get update'
cfengine::in/pkg-get -f -: This will then upgrade all packages cleanly
 
We were off yesterday (Mon) so I did not see the emails until this morning (Tue).
pkg-get -c showed:
 
    sudo_common      1.6.8p9,REV=2005.09.12     1.6.8p12,REV=2005.12.19
 
So I manually installed sudo_common and at 9:32:49 AM (today Tues) I received the following:
 
cfengine::in/pkg-get -f -: WARNING: gpg not found
cfengine::in/pkg-get -f -: NOTE: To have checksums compared, you must install one of:
cfengine::in/pkg-get -f -:   md5  or gmd5sum (gmd5sum is available with GNU textutils)
cfengine::in/pkg-get -f -:   try 'pkg-get install textutils'
cfengine::in/pkg-get -f -: No existing install of CSWsudo found. Installing...
cfengine::in/pkg-get -f -: Trying http://ibiblio.org/pub/packages/solaris/csw/unstable/sparc/5.9/sudo-1.6.8p12,REV=2005.12.19-SunOS5.8-sparc-CSW.pkg.gz
cfengine::in/pkg-get -f -: --09:32:17--  http://ibiblio.org/pub/packages/solaris/csw/unstable/sparc/5.9/sudo-1.6.8p12,REV=2005.12.19-SunOS5.8-sparc-CSW.pkg.gz
cfengine::in/pkg-get -f -:            => `sudo-1.6.8p12,REV=2005.12.19-SunOS5.8-sparc-CSW.pkg.gz'
cfengine::in/pkg-get -f -: Connecting to ibiblio.org:80... connected!
cfengine::in/pkg-get -f -: HTTP request sent, awaiting response... 200 OK
cfengine::in/pkg-get -f -: Length: 61,896 [text/plain]
cfengine::in/pkg-get -f -:     0K                                                      100% @  59.79 KB/s
cfengine::in/pkg-get -f -: 09:32:18 (59.73 KB/s) - `sudo-1.6.8p12,REV=2005.12.19-SunOS5.8-sparc-CSW.pkg.gz' saved [61896/61896]
cfengine::in/pkg-get -f -: Analysing special files...
cfengine::in/pkg-get -f -: 314 blocks
cfengine::in/pkg-get -f -: Sudo is distributed under the following ISC-style license:
cfengine::in/pkg-get -f -:    Copyright (c) 1994-1996,1998-2005 Todd C. Miller <Todd.Miller@courtesan.com>
cfengine::in/pkg-get -f -:    Permission to use, copy, modify, and distribute this software for any
cfengine::in/pkg-get -f -:    purpose with or without fee is hereby granted, provided that the above
cfengine::in/pkg-get -f -:    copyright notice and this permission notice appear in all copies.
cfengine::in/pkg-get -f -:    THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
 
[Mail truncated by cfengine. File is at /var/cfengine/outputs/cf_scooter_2006-01-17--09-30-04 on scooter]
 
sudo is installed once again and working.
 
 
My questions are:
 
1. where did the SIGINT come from?
2. did cfengine do the right thing after receiving SIGINT?
3. why was sudo uninstalled?
4. why didn't pkg-get install the newer sudo_common?
 
 
Note: I did not install cfengine it is installed as part of SysNav, so maybe something in SysNav played a part in all this.
 
thanks for any ideas,

reply via email to

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