| siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) left irc: Quit: Leaving. |
| siggg (~jean@tra78-3-82-244-85-196.fbx.proxad.net) joined #fai. |
| ErKa (keryell@dhcp3.info.enstb.org) joined #fai. |
| allee (~ach@allee.mpe.mpg.de) joined #fai. |
| stockholm (~andreas@marta.schuldei.org) joined #fai. |
| 09:18 stockholm | hi |
| 09:18 stockholm | i want to use a preinst script like this: |
| 09:18 stockholm | # carpathia monitoring hardware |
| 09:18 stockholm | proto (udp tcp) dport (snmp www https ssh) daddr $management_net saddr $carp_mon_net ACCEPT; |
| 09:18 stockholm | proto (udp tcp) dport (snmp ssh) daddr $service_net saddr $carp_mon_net ACCEPT; |
| 09:18 stockholm | no, wrong paste |
| 09:18 stockholm | fuck vim |
| 09:18 stockholm | like this: |
| 09:18 stockholm | #!/bin/bash |
| 09:18 stockholm | ifclass FW && exit 0 |
| 09:18 stockholm | exit 1 |
| 09:19 stockholm | so it should only install the file in question if both the respective class AND the class FW is defined |
| 09:19 stockholm | but for that fcopy needs to honor exit codes |
| 09:19 stockholm | is there a workaround? |
| 09:20 stockholm | otherwise i have a patch for fcopy to make it honor exit codes |
| Nic0 (~courtel@fw.tls.cena.fr) joined #fai. |
| verwilst (~verwilst@router.begen1.office.netnoc.eu) joined #fai. |
| Kajeci (~Kajeci@pa1-84-91-3-196.netvisao.pt) joined #fai. |
| Mrfai (~lange@suenner.informatik.uni-koeln.de) joined #fai. |
| allee-k (~allee-k@alleehol.mpe.mpg.de) joined #fai. |
| allee-k (~allee-k@alleehol.mpe.mpg.de) left irc: Remote host closed the connection |
| allee-k (~allee-k@alleehol.mpe.mpg.de) joined #fai. |
| mgoetze (~mgoetze@mgoetze-2-pt.tunnel.tserv4.nyc4.ipv6.he.net) left irc: Ping timeout: 480 seconds |
| mgoetze (~mgoetze@corelli.mgoetze.net) joined #fai. |
| 11:54 mgoetze | stockholm: well, you could only call fcopy in a script belonging to the FW class... |
| 11:54 mgoetze | but it sounds reasonable to me to have fcopy not copy a file if the preinst fails |
| 13:22 FBI | fai: 3 lange committed revision 5729 to 7 fai: update to Standards-Version: 3.8.4, no changes needed |
| 13:32 stockholm | Mrfai: what about fcopy-ing a file only if the preinst script does not fail? |
| 13:33 stockholm | Mrfai: i have a patch for that |
| 13:33 stockholm | Mrfai: i want to do something like this: |
| 13:33 stockholm | #!/bin/bash |
| 13:33 stockholm | ifclass FW && exit 0 |
| 13:33 stockholm | exit 1 |
| 13:34 stockholm | to prevent it from being copied if a given class is not installed |
| 13:34 stockholm | or actually exiting on error, if desired |
| 13:37 Mrfai | please write a wishlist bug and attach the patch. |
| 13:37 Mrfai | It's not needed to check if a class applies in a preinst script. fcopy itself checks which classes are defined |
| 13:55 stockholm | Mrfai: i want several classes to match |
| 13:55 stockholm | in this special case both the firewall class and the ASHBURN class |
| 13:58 stockholm | but there are several possible combinations of classes interesting here |
| 13:58 stockholm | LONDON, and STOCKHOLM and some more |
| 13:59 Mrfai | It's not what FAI classes are made for, but you could do that, if fcopy honours a special exit code of the preinst scripts. |
| 14:05 stockholm | Mrfai: you got patch :-) |
| 14:09 stockholm | Mrfai: so if i wnat to/need to build fai packaged on top of the latest stable release, which should i take? |
| 14:09 stockholm | errr... |
| 14:09 stockholm | what is the proper svn tree to check out? |
| 14:26 Mrfai | stockholm: have a look at the fai web page http://www.informatik.uni-koeln.de/fai/sources/ |
| allee-k (~allee-k@alleehol.mpe.mpg.de) left irc: Quit: Konversation terminated! |
| allee-k (~allee-k@alleehol.mpe.mpg.de) joined #fai. |
| punix (~Home@p5B13F88D.dip.t-dialin.net) joined #fai. |
| 14:43 punix | when i look at my fai-server exports, i just got the /srv/fai/nfsroot directory. is this correct and new, or is it an error? on my old fai-system, i got also the /srv/fai/config directory on exports. |
| allee-k (~allee-k@alleehol.mpe.mpg.de) left irc: Ping timeout: 480 seconds |
| punix (~Home@p5B13F88D.dip.t-dialin.net) left irc: Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org |
| Nic0 (~courtel@fw.tls.cena.fr) left irc: Ping timeout: 480 seconds |
| 15:14 Mrfai | normally /srv/fai/config should also be exported |
| allee-k (~allee-k@alleehol.mpe.mpg.de) joined #fai. |
| 15:24 stockholm | Mrfai: you dont have a svn url? |
| Nic0 (~courtel@fw.tls.cena.fr) joined #fai. |
| 15:28 Mrfai | stockholm: you mean Source Code via http? read the fai web page |
| 15:28 Mrfai | Vcs-Svn: svn://svn.debian.org/svn/fai/trunk |
| 15:28 Mrfai | Vcs-Browser: http://svn.debian.org/wsvn/fai |
| 15:29 stockholm | ja, precisely |
| 15:29 stockholm | i thought you might work from some other branch |
| allee-k (~allee-k@alleehol.mpe.mpg.de) left irc: Quit: Konversation terminated! |
| allee-k (~allee-k@alleehol.mpe.mpg.de) joined #fai. |
| simNIX (~simNIX@156-60.bbned.dsl.internl.net) left irc: Quit: Ik ga weg |
| allee-k (~allee-k@alleehol.mpe.mpg.de) left irc: Ping timeout: 480 seconds |
| msc (~msc@gw2.cgn3.hosteurope.de) left irc: Remote host closed the connection |
| ErKa (keryell@dhcp3.info.enstb.org) left irc: Ping timeout: 480 seconds |
| verwilst (~verwilst@router.begen1.office.netnoc.eu) left irc: Quit: Ex-Chat |
| ErKa (keryell@keryell.pck.nerim.net) joined #fai. |
| punix (~Home@g227066167.adsl.alicedsl.de) joined #fai. |
| 16:55 punix | sry to ask again, but my network crashed. on my old fai-system, i had two exports regarding fai. /srv/fai/nfsroot and /srv/fai/config. on my new system im currently trying to build up, i only got the /srv/fai/nfsroot after doing the fai-setup. is this new, or did i make an error leading to only one nfs export? |
| siggg (~jean@tra78-3-82-244-85-196.fbx.proxad.net) left irc: Quit: Leaving. |
| siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) joined #fai. |
| ErKa (keryell@keryell.pck.nerim.net) left irc: Ping timeout: 480 seconds |
| uchimata (~uchimata@HSI-KBW-095-208-192-010.hsi5.kabel-badenwuerttemberg.de) joined #fai. |
| oz__ (~oz@anubis.coresystems.de) joined #fai. |
| partner_ (joonas@ajaton.net) joined #fai. |
| Adri2000_ (~adri2000@88.165.188.51) joined #fai. |
| Mrfai (~lange@suenner.informatik.uni-koeln.de) got netsplit. |
| Adri2000 (~adri2000@88.165.188.51) got netsplit. |
| mfl (~mfl@adonis.fnb.maschinenbau.tu-darmstadt.de) got netsplit. |
| partner (joonas@ajaton.net) got netsplit. |
| oz_ (~oz@anubis.coresystems.de) got netsplit. |
| uchimata_ (~uchimata@HSI-KBW-095-208-192-010.hsi5.kabel-badenwuerttemberg.de) got netsplit. |
| sep (~sep@40.211.jostedal.no) got netsplit. |
| FBI (~FBI@fbi.bot.oftc.net) got netsplit. |
| mfl (~mfl@adonis.fnb.maschinenbau.tu-darmstadt.de) returned to #fai. |
| sep (~sep@40.211.jostedal.no) returned to #fai. |
| Adri2000 (~adri2000@88.165.188.51) got lost in the net-split. |
| partner (joonas@ajaton.net) got lost in the net-split. |
| oz_ (~oz@anubis.coresystems.de) got lost in the net-split. |
| uchimata_ (~uchimata@HSI-KBW-095-208-192-010.hsi5.kabel-badenwuerttemberg.de) got lost in the net-split. |
| FBI (~FBI@fbi.bot.oftc.net) got lost in the net-split. |
| Mrfai (~lange@suenner.informatik.uni-koeln.de) got lost in the net-split. |
| FBI (~FBI@fbi.bot.oftc.net) joined #fai. |
| ErKa (~keryell@keryell.pck.nerim.net) joined #fai. |
| Kajeci (~Kajeci@pa1-84-91-3-196.netvisao.pt) left irc: Quit: Quit |
| 19:21 punix | is there an option to change logproto port? or do i have to edit all files on my own? |
| ErKa (~keryell@keryell.pck.nerim.net) left irc: Ping timeout: 480 seconds |
| siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) left irc: Quit: Leaving. |
| --- Tue Mar 9 2010 |