[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shellcomands define is broken
From: |
Mark . Burgess |
Subject: |
Re: shellcomands define is broken |
Date: |
Sun, 1 Oct 2000 22:28:47 +0200 (MET DST) |
On 29 Sep, Bill Shikrallah wrote:
> 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
> --------------------------------------------------------------------------------
>
Thanks for this report. This will be fixed in 1.6.0.a11, which
I shall put out shortly on ftp.iu.hio.no.
best Mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: address@hidden
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: shellcomands define is broken,
Mark . Burgess <=