[00:17] _julian (~quassel@hmbg-5f765299.pool.mediaWays.net) joined #fai. [00:24] _julian_ (~quassel@hmbg-4d06fe6e.pool.mediaWays.net) left irc: Ping timeout: 480 seconds [00:48] codice (~codice@ip65-46-15-18.z15-46-65.customer.algx.net) left irc: Read error: Connection reset by peer [00:49] codice (~codice@ip65-46-15-18.z15-46-65.customer.algx.net) joined #fai. [05:25] sneumann (~sneumann@router-sub.ipb-halle.de) joined #fai. [05:40] siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) joined #fai. [05:48] siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) left irc: Quit: Leaving. [06:32] ErKa (keryell@keryell.pck.nerim.net) joined #fai. [07:40] bscherre (~bscherre@193.196.193.20) joined #fai. [07:57] hi, I've reported a problem here last thursday: FAI copies all files but not the rc.local file [07:57] here's my /srv/fai/config/hooks/instsoft.PATIENTEN file: http://pastebin.com/HsPyandD [07:59] PATIENTEN is my own class that gets called. All listed files are copied and listet in the log, except for the rc.local. I neither get an error log nor a success log, that's what's puzzeling me [08:00] ah, the file on pastebin says "fcopy -vB" in the rc.local line, but I've also tried it with "fcopy -Bi" and "fcopy -vBi" - no success at all [08:09] that's strange, yes [08:21] verwilst (~verwilst@router.begen1.office.netnoc.eu) joined #fai. [08:23] allee (~quassel@allee.mpe.mpg.de) left irc: Remote host closed the connection [08:25] it totally works if I rename "rc.local" to "rclocal"! [08:25] I'm gonna doublecheck whether it's the file name itself or maybe the ending or the . [08:26] grub_pc setup fails on debian sid, having the partition in raid (works in squeeze). is that known bug? [08:36] that's a hell of a bug :D "dc.local" or "rclocale" get copied, "rc.local" simply gets ignored [08:37] bscherre: workarund for this: use a postinstallscript... [08:38] oz_: like 40-misc or something? [08:40] the cfengine script? [08:40] allee (~quassel@allee.mpe.mpg.de) joined #fai. [08:41] hm. I rather meant to create some init script, I have S19postinstall, which removes itself after 1 run [08:41] I always put thing which don't work in fai in there [08:42] oz__: Ah, and then put it into the live image's /etc/init.d? [08:43] Mrfai (~lange@kueppers.informatik.uni-koeln.de) joined #fai. [08:43] however you boot the client, yes :) [08:44] Mrfai: 10:36 < bscherre> that's a hell of a bug :D "dc.local" or "rclocale" get copied, "rc.local" simply gets ignored [08:44] oz__: I'll try that, thanks! [08:45] Mrfai: is that behaviour intended for some reason? [08:45] bscherre: you're around freiburg, right? [08:52] oz__: Yes - is that shown somewhere or do you know the IP? [09:05] oz__: Ah I see you're in Freiburg, too ;) [09:06] oz__: Or at least from Freiburg [09:10] oz__: If you're at your company's place, we're in near walking range, hehe [09:11] ;) [09:11] meeting could be nice some day [09:16] oz__: I often get a pizza at Pizza Boxx ;) [09:17] oz__: Do you know whether I can use the same fcopy syntax (with $target) within such a postinstall script? [09:18] no, no by default [09:19] a postinstall script is noch working in the fai environment, but is a normal init script [09:19] but by that you bypass problems in the FAI envirnment [09:19] oz__: Ok, thanks! [09:20] bscherre: but feel free to mail the issue on the fai mailing list [09:22] oz__: Sure, I will report the rc.local issue [09:43] bscherre: If you think it's a bug, please file a bug report in the BTS (bugs.debian.org) [09:45] Mrfai (~lange@kueppers.informatik.uni-koeln.de) left irc: Quit: leaving [09:45] Mrfai (~lange@malzmuehle.informatik.uni-koeln.de) joined #fai. [09:47] Mrfai: Maybe it's a feature... Sorry ;) Yep, I'll report it to the Debian bugtracker [11:11] sneumann (~sneumann@router-sub.ipb-halle.de) left irc: Ping timeout: 480 seconds [11:12] bscherre: you should fix your computer's clock [11:13] (apparently, i closed your bug before you even sent it) [11:14] mgoetze: yeah, I see ;) [11:15] mgoetze: but here's my answer: I know about fcopy's -v and -i, but it makes no difference. The log files don't mention rc.local while they do mention all other copied or not copied files. The script copies all other files so it's apparently working [11:16] bscherre: it makes no difference because fcopy is not called at all [11:16] bscherre: what's the point of that [ -s ... ] ?!? [11:17] mgoetze: hm, but why are other files copied? [11:17] mgoetze: not sure, I used that 2 years ago and just copied the command [11:20] mgoetze: If I simply alter the line "[ -s $target/etc/rc.local ] || fcopy -Bi /etc/rc.local" to "[ -s $target/etc/rclocal ] || fcopy -Bi /etc/rclocal" it works, so I kind of have to do at least something right with this script [11:24] bscherre: I'll check a simple fcopy /etc/rc.local on on of my boxes, wait [11:25] this line really looks...erm...suspicios? :) [11:27] oz__: Okok, just tell me the right line ;) [11:27] But again: All file here http://pastebin.com/HsPyandD are copied except for rc.local [11:28] -s $target/etc/rc.local [11:28] must be checked [11:28] re-try this without any test before, that's what I do right now [11:29] But again: All file here http://pastebin.com/HsPyandD are copied except for rc.local [11:29] whoops, sorry wrong window [11:32] and if I remove one file (line) from this script, this file does not get copied anymore. So in my understanding, the script works and fcopy gets called. Sorry if I get something totally wrong, but I don't see where [11:42] ok, maybe we'll do it the other way: I simply want to copy config files. What exact fcopy command do I write into instsoft.CLASS? [11:45] bscherre: what's wrong with just "fcopy -v /etc/rc.local"? [11:45] bscherre: the others don't exist yet, thus the [ -s ] test does not inhibit their copying [11:46] bscherre: again please explain why you want to include [ -s $target/etc/rc.local ] || ... [11:48] bscherre: "so I kind of have to do at least something right with this script" - yes, it copies the file only if it doesn't exist (with nonzero size) yet. if that's what you want that's what it's doing, because $target/etc/rc.local already exists [11:49] rm it before, then fcopy and you're fine. [11:54] mgoetze: fcopy formerly didn't work here (I probably made another mistake) so I used this [ -s line without getting the meaning... [11:54] mgoetze: I'm sorry, totally my fault, now it works with "fcopy -v FILE" [11:56] yea, works here too. [11:56] bscherre: working with fai is....complex. ;) [11:57] oz__ & mgoetze: thank you both very very much for your time and sorry for the confusion [11:57] just surprised Mrfai told you to file a bug report rather than looking at your script :) [11:58] yah :-D [11:58] oz__: yes, but I did some testing with it 2 years ago and worked great, so I thought I could not be so dumb now ;) [11:58] sorry for not asking for the script [11:59] yes, that kind of mislead me because I posted it right at the beginning. But then again, my mistake not to question the syntax [11:59] "Schwamm drüber" ;) [12:00] :) [12:10] again thanks, have a nice day, gotta go! [12:10] bscherre (~bscherre@193.196.193.20) left irc: Quit: Verlassend [13:13] ErKa (keryell@keryell.pck.nerim.net) left irc: Remote host closed the connection [13:38] ErKa (keryell@m3.wifi.enstb.org) joined #fai. [14:56] mgoetze (~mgoetze@corelli.mgoetze.net) left irc: Quit: Lost terminal [15:19] fai: 3 lange committed revision 6522 to 7 fai: call genisoimage with -R instead of -r [15:19] fai: Quote from a mail: [15:19] fai: According to the genisoimage man page the "-r" does what normally would be [15:20] fai: consider the sane thing and sets all directories to 555. This makes sense as [15:20] fai: most people will want the cdfs to be readable by normal users. The problem is [15:45] Mrfai (~lange@malzmuehle.informatik.uni-koeln.de) left irc: Quit: leaving [16:03] mgoetze (~mgoetze@corelli.mgoetze.net) joined #fai. [16:06] verwilst (~verwilst@router.begen1.office.netnoc.eu) left irc: Quit: Ex-Chat [16:35] ErKa (keryell@m3.wifi.enstb.org) left irc: Ping timeout: 480 seconds [17:34] fai: 3 lange committed revision 6523 to 7 fai: maverick -> natty [18:38] allee (~quassel@allee.mpe.mpg.de) left irc: Remote host closed the connection [18:39] allee (~quassel@allee.mpe.mpg.de) joined #fai. [18:49] allee (~quassel@allee.mpe.mpg.de) left irc: Remote host closed the connection [18:49] allee (~quassel@allee.mpe.mpg.de) joined #fai. [18:51] allee (~quassel@allee.mpe.mpg.de) left irc: Remote host closed the connection [18:52] allee (~quassel@allee.mpe.mpg.de) joined #fai. [18:53] allee (~quassel@allee.mpe.mpg.de) left irc: Remote host closed the connection [18:54] allee (~quassel@allee.mpe.mpg.de) joined #fai. [18:54] allee (~quassel@allee.mpe.mpg.de) left irc: Remote host closed the connection [20:41] sneumann (~sneumann@pD9E39E17.dip.t-dialin.net) joined #fai. [20:51] sneumann (~sneumann@pD9E39E17.dip.t-dialin.net) left irc: Ping timeout: 480 seconds [21:05] ErKa (~keryell@keryell.pck.nerim.net) joined #fai. [21:41] ErKa (~keryell@keryell.pck.nerim.net) left irc: Ping timeout: 480 seconds [00:00] --- Wed May 4 2011