|
From: | John Gray |
Subject: | Re: syncing files.... |
Date: | Mon, 09 Feb 2004 14:37:20 -0500 |
User-agent: | Mozilla Thunderbird 0.5 (Windows/20040207) |
Erza (who works for me) and I just got Will's script to work with classes.When we tested it appeared to hang on us, but it was just busy downloading pkgs.
That brought up an idea. If would nice to be able to give it different options will its being run via cfrun opposed to cfservd. We'd like to see what's going on when we invoke via cfrun (so we know why its taking so long).
Is there a way to figure out how the cfengine script was invoked from within the script?
John Will Lowe wrote:
And note that some packages will not install correctly as long as cfagent doesn't have a console, for example proftpd and emacs. Unfortunately, some installs use < /dev/tty, sigh. Oh, and some packages still use shell read,Yeah. I would file wishlist bugs against those packages requesting that they use debconf instead. That won't help in the short term (before the next release) unfortunately. In the short term you could probably adapt my script to use debwrap pretty easily. I haven't tried, but I think you could just set $ENV{QANDA_DIR} or $ENV{QANDA_FILE} and throw "debwrap" on the front of the system() call. apt-get install debwrap && man 8 debwrap for more.
-- John Gray gray@agora-net.com AgoraNet, Inc. (302) 224-2475 102 E. Main Street, Suite 303 (302) 224-2552 (fax) Newark, De 19711 http://www.agora-net.com
[Prev in Thread] | Current Thread | [Next in Thread] |