bug-cfengine
[Top][All Lists]
Advanced

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

shellcomands define is broken


From: Bill Shikrallah
Subject: shellcomands define is broken
Date: Fri, 29 Sep 2000 16:01:03 -0400

Using cfengine 1.6.0.a10 I am getting odd behavior when trying to define a class
based on a shellcommand run.  It seems like cfengine is reading the
define=enoughspace as a chroot directive.  The segment of the config file is as
follows

--------------------------------------------------------------------------------
groups:
        patches_installed = ( "/usr/bin/test -f
/usr/private/cfengine/patches_installed" )

control:
        actionsequence = (
                shellcommands.cf_patches
        )

shellcommands:
        cf_patches.!patches_installed::
                "/usr/private/cfengine/bin/checkvar"
                        define=enoughspace

--------------------------------------------------------------------------------
and in the verbose output I get this output
--------------------------------------------------------------------------------
cfengine:baker: Executing script
/usr/private/cfengine/bin/checkvar...(timeout=0,uid=-1,gid=-1)
(Setting umask to 77)
cfengine:baker:n/checkvar: cfengine:baker: Couldn't chroot to enoughspace
cfengine:baker:n/checkvar: cfengine:baker: chroot: No such file or directory
cfengine:baker:n/checkvar: cfengine:baker: Couldn't open pipe to command
/usr/private/cfengine/bin/checkvar
cfengine:baker:n/checkvar: cfengine:baker: popen: No such file or directory
cfengine:baker: Finished script /usr/private/cfengine/bin/checkvar
--------------------------------------------------------------------------------

-- 
Bill Shikrallah (HW8T 1.03)     email: address@hidden
Bristol-Myers Squibb            phone: (609) 818-3796
311 Pennington-Rocky Hill Rd.   fax: (609) 818-7693
Pennington NJ 08534-2130        location: Hopewell Building 8 TS 116a



reply via email to

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