torkel_ (torkel@ip64.degernas.se) joined #fai.
torkel (torkel@ip64.degernas.se) left irc: Remote host closed the connection
torkel_ (torkel@ip64.degernas.se) left irc: Ping timeout: 480 seconds
torkel (torkel@ip64.degernas.se) joined #fai.
vineeth (~vineeth@setnip02.ericsson.net) joined #fai.
06:19 vineethhey.. has anybody tried encrypted root filesystem with FAI?
vineeth (~vineeth@setnip02.ericsson.net) left irc: Read error: Connection reset by peer
msc (~msc@gw1.cgn3.hosteurope.de) joined #fai.
vineeth (~vineeth@setnip01.ericsson.net) joined #fai.
vineeth (~vineeth@setnip01.ericsson.net) left irc: Read error: Connection reset by peer
siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) joined #fai.
vineeth (~vineeth@setnip01.ericsson.net) joined #fai.
ErKa (keryell@keryell.pck.nerim.net) joined #fai.
vineeth (~vineeth@setnip01.ericsson.net) left irc: Read error: Connection reset by peer
mikap (~mika@mail.michael-prokop.at) left irc: Ping timeout: 480 seconds
mikap (~mika@mail.michael-prokop.at) joined #fai.
ErKa (keryell@keryell.pck.nerim.net) left irc: Ping timeout: 480 seconds
justleen (~leen@rev-131-102.virtu.nl) joined #fai.
Mrfai (~lange@kueppers.informatik.uni-koeln.de) joined #fai.
vineeth (~vineeth@194.237.142.17) joined #fai.
11:46 vineethhello when i was trying luks in disk_config for root file system, i got an error saying "Boot partition cannot be encrypted"
11:46 vineeth      Error in task partition. Traceback: task_error task_partition task task_install task task_action task main
11:46 vineeth      FATAL ERROR. Installation stopped.
11:46 vineeth      bash: no job control in this shell"
11:52 vineethwith all ur helps I could make FAI installation working fine... only the cryptsetup is pending.:)
vineeth (~vineeth@194.237.142.17) left irc: Read error: Connection reset by peer
justleen (~leen@rev-131-102.virtu.nl) left irc: Remote host closed the connection
justleen (~leen@rev-131-102.virtu.nl) joined #fai.
14:25 ballisonI have a new bug.  It's a timing problem with the scripts.
14:26 ballisonI have a script that runs that copies over our special grub/menu.lst.  it runs at number 53-grub
14:26 ballisonbut when i log into the box before rebooting (after a fresh reimage) i see the system automagical kernel list is what's in menu.lst and not mine.
14:26 ballisonall the rest of my scripts ran correctly.
14:27 ballisonhow do i make my "cp menu.lst /target/boot/grub/menu.lst" happen _AFTER_ the system created grub/menu.lst happens
14:27 ballisonbecause right now it's happening _before_ and then getting overwritten by the systems version.
14:32 mgoetzeballison: maybe a script from another class is being run later
14:32 ballisonmgoetze: This script is running before the system even installs grub.
14:33 ballisonbecause I typo'ed my script at first and created /target/boot/grub as a file and not a directory and it never installed anything under grub because it couldn't.
14:33 ballisonso the system grub isn't installing until -after- my script
14:33 ballisonwhich means my script's output is getting overwritten by the system's installation of grub
14:34 ballisonand i'm left with a system default grub/menu.lst
14:34 mgoetzeso, uhm, how are you installing grub? is it not mentioned in your package_config directory?
14:34 ballisongood question - let me check
14:36 ballisongrub's in my package_config for the class
14:37 mgoetzethen i don't see how your script can be run before it gets installed, if it's a normal script in the scripts/ directory
14:38 ballisonyes. it's just a script in the class
14:38 ballisonthe rest of my scripts run fine too
14:39 mgoetzeyou must be misanalyzing the problem somehow, then
14:39 ballisonis this normal?  to have grub like this twice in the DEFAULT package_config ?
14:39 ballisonDEFAULT:grub lilo-
14:39 ballisonDEFAULT:lilo grub-
14:39 mgoetzeyou should add a -B1 to that grep
14:40 mgoetzeand maybe read up on the syntax of the package_config files again ;)
14:41 ballisonI'm not misanalyzing the problem.  i've watched the install realtime with a find /target/boot
14:41 ballisonand i see the grub directory gets created _AFTER_ my script runs
14:42 mgoetzeprobably it isn't done by the mere installation of the package, but by the invocation of grub-install or update-grub
14:45 mgoetzecheck your shell.log, i'm sure you'll see there what's going on
14:48 ballisonreinstalling now and running "watch find /target/boot"
14:49 ballisonyep - scripts are running and all packages have been installed and there's no /target/boot/grub directory yet.
14:50 ballisonok the script from class GRUB runs last
14:51 ballisonGRUB/10-setup runs last
14:51 ballisonbut that makes no sense. all that script does is copy over a menu.lst
14:51 ballisonso what's creating the grub directoy and all the grub parts?
14:53 ballisonall that script does is "fcopy -Uv boot/grub/menu.lst
14:58 ballisonso even if my script ran correctly (which it can't because there's no /target/boot/grub when it runs), it would still get overwritten by GRUB/10-setup which copies over a menu.lst....
14:59 ballisoni just need a different menu.lst for the single class, so I really don't want to edit the GRUB class for this one special class.
15:02 ballisonso how do i get my script to run last.  after GRUB/10-setup ?
justleen (~leen@rev-131-102.virtu.nl) left irc: Remote host closed the connection
15:13 ballisonis GRUB/10-setup part of the default fai server install?
15:14 ballisoni inheretted this system so i don't know what's standard vs what was added by a previous admin
15:20 ballisonoddly enough when grub installs itself it does not create a /boot/grub directory
15:22 ballisoni really don't think GRUB/10-setup is needed.
15:26 ballisonanyone know why that's there?
15:31 ballisoncp /srv/fai/config/cba/menu.lst boot/grub/menu.lst/INSITE
15:35 ballisonmgoetze: i found where grub-install is getting called.
15:35 ballisonmgeotze: /srv/fai/config/files/boot/grub/menu.lst/postinst
15:42 ballisonbut that still doesn't explain why GRUB/10-setup runs at all.  or how to use my menu.lst for my class instead of the GRUB class menu.lst.
15:46 ballisoni added ./boot/grub/menu.lst/MYCLASS for my class that i'm using... and testing to see if that will install or not.
15:50 ballisonnope didn't work.
15:50 ballisonanyone know how to install a unique menu.lst for a class, and not have it overwritten by the GRUB class at the end?
16:06 ballisonok... sent my questions to the list...
ErKa (keryell@keryell.pck.nerim.net) joined #fai.
oz_ (~oz@anubis.coresystems.de) left irc: Ping timeout: 480 seconds
16:28 ballisoncan anyone tell me how to get FAI to install a different menu.lst for a special CLASS of machines?  right now GRUB/10-setup is running and kicking off install-grub and the fcopy is moving my menu.lst out of the way ...
ErKa (keryell@keryell.pck.nerim.net) left irc: Ping timeout: 480 seconds
ErKa (keryell@keryell.pck.nerim.net) joined #fai.
ErKa (keryell@keryell.pck.nerim.net) left irc: Ping timeout: 480 seconds
Guest2618 (~oz@anubis.coresystems.de) joined #fai.
Nick change: Guest2618 -> oz_
msc (~msc@gw1.cgn3.hosteurope.de) left irc: Quit: msc
ballison (ballison@209.156.160.90) left #fai.
ballison (~ballison@209.156.160.90) joined #fai.
19:41 ballisonmgoetze:  Since I couldn't find a way to do it "the right way" I'm gonna just drop my script into the GRUB class and have it run after GRUB that way.  Since i'm editing the menu.lst it kinda makes sense.  I'll have it just exit if it's not on the correct type system.
19:42 mtballison, I just wonder whether you are aware of the meaning of the order of classes
19:43 mgoetzeballison: you just put your menu.lst under files/boot/grub/menu.lst/MYCLASS
19:43 mtI haven't fully read your mailing list post nor all of the earlier conversation
19:43 ballisonmt: I am.  They are defined in order in the 50-host-classes file
19:43 ballisonmt: the GRUB class runs last
19:43 mtare you also aware of a possible postinst file in files/boot/grub/menu.lst ?
19:44 ballisonmt: I am, and I included that in my email.
19:44 mtok, so is maybe mgoetze's solution all you need to know?
19:45 ballisonmt: grub-install is getting called in the postinst in files/boot/grub/menu.lst
19:45 ballisonmgoetze: I tried that and it doesn't work.  
19:45 ballisonmgoetze: Because there's already a files/boot/grub/menu.lst/GRUB there
19:46 ballisonmgoetze: and GRUB class is the last to run with the fcopy of /boot/grub/menu.lst so it moves mine to menu.lst.pre-fcopy
19:46 mtit's really strange that GRUB is so late in the order of classes
19:47 mtI believe that the hostname and "LAST" are always the last ones
19:47 ballisonmt: read the 50-host-classes file.  You'll see at the bottom it echo's GRUB last onto the list
19:48 ballisonmt: so class GRUB is last
19:50 ballisonmgoetze: I thought files/boot/grub/menu.lst/MYCLASS would work too.  but the fcopy in the GRUB/10-setup is being called from the GRUB class so you get the GRUB version not the MYCLASS version
19:50 ballisonbut it doesn't matter really because that file gets blown away when the postinst script run and kicks off the install-grub which generates a new menu.lst anymore
19:52 ballisoni think for what i'm trying to do i'm gonna have to just create a GRUB/20-my-menu-lst and have it copy over my menu.lst IF it's on my class of systems... which kinda defeats of the point of having classes to begin with.
19:52 ballisonbecause it runs out of the GRUB class.
19:53 ballisonin my early scripts I'm gonna touch a file on the system called /etc/MYCLASS  and if that file exist when my script runs, i'll copy over my special meny.lst for that class...
19:53 ballisononly way I can think of doing it. since the GRUB/10-setup blows away my menu.lst
20:11 mtballison, could you paste the list of classes being defined for your host from the logs?
20:33 ballisonmt: checking.  (was reimaging to test my change)
20:34 ballisonmt: i don't see a fai.log in /var or /target/var
20:35 ballisonmt: It's installing right now.
20:41 ballisonshould i see a log while it's installing?
20:42 ballisonInteresting - > variables.log:classes=$'DEFAULT\nLINUX\nI386\nOS_LENNY\nINSITE\nDHCPC\nGRUB\ninsite10-2\nLAST'
20:42 ballisonSo I guess I could have added the script to the class called LAST
20:44 ballisonthe one thing i don't understand about fcopy is which class version does it copy over IF the classes match multiple versions.
20:45 ballisonmeaning if LAST/50-misc calls "fcopy -i /etc/apt/sources.list" and files/etc/apt/sources.list has two class names under it, "FAIBASE" and "OS_LENNY" which one wins?
21:09 ballisonI have another "who wins" question:  If you have two package_config classes, and one says to install a list of packages, and the other has a different list of packages and both classes are in the classes variable, which one wins?  or does it just concatenate the two lists?
21:09 ballisoni'm assuming it just concatenates the two lists.
22:00 ballisonmt: I did find the LAST class... which could have worked as well.  Thanks.
22:02 mgoetzeballison: if the GRUB class is last it has the highest priority
22:02 mgoetzeballison: you need to put your more specific classes behind the standard GRUB class
22:03 mgoetzeballison: package_config stuff cats, yes. maybe you should read the fai guide. ;)
siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) left irc: Ping timeout: 480 seconds
ballison (~ballison@209.156.160.90) left irc: Ping timeout: 480 seconds
--- Thu Dec 30 2010

Generated by irclog2html.pl 2.1_h01ger1 by Jeff Waugh - find it at freshmeat.net! Customized by Holger 'h01ger' Levsen