| fxcp (~ctp@brsg-d9bef451.pool.mediaWays.net) left irc: Quit: Ex-Chat |
| alleeHol (~ach@p54A47686.dip.t-dialin.net) joined #fai. |
| allee (~ach@p54A44A01.dip.t-dialin.net) left irc: Ping timeout: 480 seconds |
| siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) joined #fai. |
| Nic0 (~courtel@fw.tls.cena.fr) joined #fai. |
| ErKa (~keryell@adsl.cri.pck.nerim.net) joined #fai. |
| Mrfai (~lange@suenner.informatik.uni-koeln.de) joined #fai. |
| sep (~sep@40.211.jostedal.no) got netsplit. |
| h01ger (~holger@socket.layer-acht.org) got netsplit. |
| sep (~sep@40.211.jostedal.no) returned to #fai. |
| h01ger (~holger@socket.layer-acht.org) returned to #fai. |
| mgoetze (~mgoetze@telemann.mgoetze.net) joined #fai. |
| 14:50 mgoetze | i'm having trouble getting cfengine scripts to execute during FAI, and i can't figure out how to test them manually. i keep getting "Warning: actionsequence is empty" and "Warning: perhaps cfagent.conf/update.conf have not yet been set up?" |
| 14:50 mgoetze | how can i tell cfengine to just use the file i give it as a script, and not anything else? |
| 15:02 Mrfai | have a look at the simple examples. They include also cfengine scripts |
| 15:03 mgoetze | yes, i tried to copy from scripts/FAIBASE/40-misc |
| rgsteele||work (~ryan@75.147.74.137) joined #fai. |
| 15:08 mgoetze | but it doesn't seem to do anything |
| 15:08 mgoetze | if i just run it as "./script" i get the warning about actionsequence being empty |
| 15:08 mgoetze | er, i mean, then nothing happens, and i get the warning if i run it as "cfagent -f script" |
| 15:09 mgoetze | even simple "echo" commands in shellcommands section |
| 15:10 mgoetze | http://pastebin.com/d2e94d0bc |
| 15:10 mgoetze | surely it should at least display some output from the echo commands? |
| 15:10 mgoetze | exit status is 0 |
| 15:31 mgoetze | if i change the script from scripts/FAIBASE/40-misc from "#! /usr/sbin/cfagent -f" to "#! /usr/sbin/cfagent -d -f" i also get the warning about actionsequence being empty |
| 15:31 mgoetze | (when calling it as "./40-misc") |
| raphink (~raphink@193.252.149.222) joined #fai. |
| ErKa (~keryell@adsl.cri.pck.nerim.net) left irc: Ping timeout: 480 seconds |
| 17:07 mgoetze | is it possible to get fai to save logs locally? |
| 17:32 Mrfai | fai does this by default |
| 17:32 mgoetze | where? |
| 17:34 Mrfai | /var/log/fai |
| rgsteele||work (~ryan@75.147.74.137) left irc: Remote host closed the connection |
| 17:35 mgoetze | oh, sorry, i looked in /var/log but had an optical malfunction apparently :) |
| 17:35 tokkee | mgoetze: See the LOGUSER and FAI_LOGPROTO configuration variables. |
| 17:42 mgoetze | hm, during execution of class/* scripts, "/bin/hostname" should give the same result as "echo $HOSTNAME", right? |
| 17:44 Mrfai | normally yes, but there are situations wher this is not the case (by intent). |
| Mrfai (~lange@suenner.informatik.uni-koeln.de) left irc: Quit: leaving |
| 17:46 mgoetze | will it give the fqdn or just the local-part? |
| 17:48 mgoetze | i seem to be getting only the local-part, or is there something else wrong with my script "(ifclass FOO) && (/bin/hostname | /usr/bin/cut -d. -f2)"? |
| 17:50 tokkee | hostname returns the local-part only. |
| 17:50 tokkee | If you need the FQDN, use hostname -f. |
| 17:50 mgoetze | ok, thanks |
| 17:52 mgoetze | (wie immer frag ich mich, warum ich hier eigentlich englisch schreibe) |
| 18:03 oz_ | mgoetze: mach nüx, oder? |
| 18:04 mgoetze | ich hab mit englisch keine schmerzen, aber es antworten eh immer nur deutsche :) |
| 18:07 oz_ | but the do use english :-) |
| 18:07 oz_ | I think it's nice |
| 18:07 oz_ | ppl sometimes complain, when we use too much german |
| 18:08 oz_ | and noone in here has problems with english I think that's why it's good as it is |
| 18:14 mgoetze | hm, in editfiles section of a cfengine script, i'm trying to do 'ReplaceAll "FAI_CONFIG_SRC=.*" With "FAI_CONFIG_SRC=something"' |
| 18:14 mgoetze | but cfengine complains about "non-convergent edit operation" |
| 18:14 mgoetze | how can i prove to cfengine that this is actually convergent? |
| 18:58 mgoetze | hm, i just installed a server via fai, and it saved its' classes to /var/log/fai/foo.bar.tld/install-something/FAI_CLASSES |
| 18:58 mgoetze | but when i try to run fai softupdate, it searches for /var/log/fai/FAI_CLASSES |
| 18:59 mgoetze | any hints? |
| 18:59 mgoetze | (furthermore it creates /var/log/fai/foo/) |
| siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) left irc: Ping timeout: 480 seconds |
| alleeHol (~ach@p54A47686.dip.t-dialin.net) left irc: Remote host closed the connection |
| siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) joined #fai. |
| 19:19 oz_ | mgoetze: never really used cfengine... |
| 19:19 mgoetze | well, i changed it to AppendIfNoSuchLine for now... more worried about the softupdates |
| 19:27 mgoetze | hmph... warum faehrt der bus um diese uhrzeit eigentlich nur noch halbstuendlich... |
| fxcp (~ctp@brsg-d9bee6fa.pool.mediaWays.net) joined #fai. |
| siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) left irc: Ping timeout: 480 seconds |
| --- Tue Dec 2 2008 |