| thpo (~thpo@dotrc.de) left irc: Ping timeout: 480 seconds |
| thpo (~thpo@dotrc.de) joined #fai. |
| fai-guy (~fai-guy@p4FC2357E.dip0.t-ipconnect.de) joined #fai. |
| stockholm (~andreas@marta.schuldei.org) left irc: Read error: Connection reset by peer |
| stockholm (~andreas@marta.schuldei.org) joined #fai. |
| stockholm (~andreas@marta.schuldei.org) left irc: Remote host closed the connection |
| stockholm (~andreas@marta.schuldei.org) joined #fai. |
| 09:43 stockholm | is it possible that fcopy copies in the config files before postgresql's postinst is run and created its own config? |
| 09:44 stockholm | because postgresql's postinst fails if (among other things) the path exists |
| 09:45 stockholm | it can fail for other reasons, too |
| 09:48 h01ger | no. fcopy is run after apt/aptitude |
| 11:14 fai-guy | but i think you can run fcopy in a hook before apt/aptitude |
| fai-guy (~fai-guy@p4FC2357E.dip0.t-ipconnect.de) left irc: Quit: SIGTERM |
| 12:04 stockholm | i understand the problem now, but i dont know how to solve it |
| 12:05 stockholm | postgresql's config files are in the SPOTIFY class |
| 12:06 stockholm | but the package that depends on postgresql is now not installed at INSTALL time but during the softupdate that follows at first boot |
| 12:07 stockholm | for that reason postgres is not installed during INSTALL either |
| 12:07 stockholm | but only during the softupdate |
| 12:08 stockholm | but that that time postgresqls config files are there already and postgresqls postinst exists and postgresql cant be configured and started |
| 12:08 stockholm | how to solve this? |
| 12:08 stockholm | it would be best if postgresql was installed at INSTALL time |
| 12:09 stockholm | but for that to happen i would need a POSTGRESQL class |
| 12:09 stockholm | that is not a problem, i could create one. |
| 12:10 stockholm | but i dont want to manually keep track of what packages and classes need to be defined in order to define the POSTGRESQL class |
| 12:10 stockholm | an automatic dependency oriented class definition would be welcome |
| 12:11 juri_ | put a script in your system that prints a bright ugly warning when POSTGRESQL is defined, but not its dependancies. |
| 12:11 h01ger | there might be a bug with patch about class dependencies |
| 12:11 juri_ | that would be a start. |
| 12:11 stockholm | h01ger: do you have a hint what to look for in the bts? |
| 12:12 h01ger | class+depend |
| 12:12 stockholm | why was THAT patch not accepted? :-) |
| 12:13 h01ger | see the archived bugs too (or where wontfix is) |
| 12:13 h01ger | stockholm, "_might_" |
| 12:13 stockholm | yeah |
| 12:13 stockholm | that would be nice... |
| 12:14 stockholm | what package would that be filed against? |
| 12:18 h01ger | src:fai |
| 12:18 stockholm | http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=353536 |
| 12:18 stockholm | some holger character filed that one |
| 12:19 stockholm | but that is not it yet |
| 12:20 h01ger | na, its wontfix, nobody needs dependencies in classes.. |
| 12:20 stockholm | h01ger: what that what you meant? |
| 12:20 h01ger | those would actually simplify my configspace, esp. the class/ subdir |
| 12:21 stockholm | its the only bug that google finds |
| 12:21 h01ger | stockholm, it should be fairly straightforward to implement #353536 in a hook. but as thomas said, you can work around that by designing the classes carefully |
| 12:21 h01ger | yes, thats the one |
| 12:22 h01ger | the patch is left out as an excercize to the reader :-D |
| 12:22 stockholm | so how could i design the classes carefully so that my above problem would not occure and i remain modular? |
| 12:23 h01ger | you cant. then you need dependencies |
| 12:23 stockholm | gahgahgah |
| Action: stockholm bites the table |
| 12:24 stockholm | http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468352 |
| 12:24 stockholm | more of the same |
| 12:25 h01ger | actually you can implement #353536 even without a hook but with a .sh file in class: ifclass FOO && [ -f $FAI_CONFIGDIR_PATH/classes/FOO ] && cat $FAI_CONFIGDIR_PATH/classes/FOO |
| 12:26 h01ger | now you just need to make it generic, for all classes and be done. thats probably done by a "for i in $FAI_CLASSES" loop. (and then replacing FOO with $i in the above line) |
| leehartley (~lyric@209.182.184.2) joined #fai. |
| 12:26 stockholm | i dont understand that yet. |
| leehartley (~lyric@209.182.184.2) left irc: |
| leehartley (~lyric@209.182.184.2) joined #fai. |
| 12:27 h01ger | stockholm, forget it then, the other bug has a patch |
| 12:27 h01ger | and got marked "wontfix" thru my forcemerge :-( |
| 12:28 stockholm | yes, i read it just now |
| 12:28 stockholm | i would want to define classes based on package dependencies |
| 12:28 h01ger | i wouldnt |
| 12:29 stockholm | if an installed package depends on postgesql, POSTGRESQL is defined |
| 12:29 stockholm | why not? |
| 12:30 h01ger | i agree with thomas that one should plan a bit. but i'm in favor of being able to define dependencies for classes. probably i would also be in favor of your stuff, but i wouldnt recommend to use it |
| 12:30 h01ger | the instaled package comes from a class too |
| 12:30 h01ger | so there you choose |
| 12:31 h01ger | and there you should better choose FUBARCLASS depends on POSTGRESQL than letting _-package_depends handle a _class_-depends |
| 12:31 stockholm | but isnt that recreating dependency information manually? |
| 12:32 h01ger | no |
| 12:32 h01ger | thats not needed. apt does that just fine :) |
| 12:33 h01ger | you want more, but not really based on apts criteria. so you shouldnt do that. i might become painful. it might also work sometimes. |
| 12:33 stockholm | but you do just that if you let FUBARCLASS depend on POSTGRESQL |
| 12:33 h01ger | s/more/something else/ |
| 12:33 h01ger | stockholm, you only need POSTGRESQL because the normal apt mechanisms dont work |
| 12:33 h01ger | otherwise you could just put it into FUBARCLASS |
| 12:34 stockholm | right |
| 12:35 h01ger | #468352 really looks good |
| 12:35 stockholm | yes, i like it |
| 12:36 stockholm | its not in the config space, unfortunatly |
| 12:36 stockholm | but what the hack |
| 12:42 stockholm | shell scares me |
| pwr_sneak (~janp@e177235132.adsl.alicedsl.de) joined #fai. |
| 13:34 pwr_sneak | hi, hab ein problem mit setup-storage: "can't locate Linux/LVM.pm in @inc", fai-server 3.2.8 auf etch. brandneues nfsroot (auch etch) |
| 13:35 pwr_sneak | hat das schonmal jemand gesehen? |
| 13:36 pwr_sneak | my problem during install: "can't locate Linux/LVM.pm in @inc", fai-server 3.2.8 on etch, brand-new nfsroot (also etch) |
| 13:37 pwr_sneak | right after : "partitioning local harddisks using setup-storage" |
| 13:37 pwr_sneak | does someone knows this problem? |
| 13:38 h01ger | you miss a perl library |
| 13:38 pwr_sneak | ok, and why is that? |
| 13:38 pwr_sneak | and do i have to install it in nfsroot? |
| 13:39 h01ger | yes |
| 13:39 h01ger | and because you didnt install the recommends of fai-client, for whatever reason |
| 13:40 h01ger | liblinux-lvm-perl it is, FWIW |
| 13:41 pwr_sneak | ok, thanks |
| pwr_sneak (~janp@e177235132.adsl.alicedsl.de) left irc: Quit: Ex-Chat |
| snoop (~sagem@194.3.40.246) joined #fai. |
| therziger (~therziger@195.122.130.2) joined #fai. |
| 15:32 therziger | hallihallo! ich hab schin wieder das problem, dass mein neuer fai server die nfsroot nicht mounten will. ich musste einen aktuellen Kernel bauen, damit der RAID Controller funktioniert. Ich habe unionfs in diesen gepatcht. kernel steht in der /etc/fai/NFSROOT. modul ist in /srv/fai/nfsroot/.../initrd-tools/modules eingetragen. make-fai-nfsroot hab ich gemacht. Der zu installierende Server kommt aber nur bis Begin: Mounting root file system. ... Hiiilfe! |
| 15:34 therziger | fai version: 3.2.8 |
| 16:31 therziger | schade. keiner aktiv ;( |
| 17:23 h01ger | eartoast_, you have mail :/ |
| therziger_ (~therziger@195.122.130.2) joined #fai. |
| therziger (~therziger@195.122.130.2) got netsplit. |
| snoop (~sagem@194.3.40.246) got netsplit. |
| istaz (~olivier@2.225-242-81.adsl-dyn.isp.belgacom.be) left irc: Quit: Reconnecting |
| snoop (~sagem@194.3.40.246) returned to #fai. |
| istaz_ (~olivier@2.225-242-81.adsl-dyn.isp.belgacom.be) joined #fai. |
| therziger (~therziger@195.122.130.2) got lost in the net-split. |
| allee (~ach@allee.mpe.mpg.de) left irc: Remote host closed the connection |
| leehartley (~lyric@209.182.184.2) left irc: Quit: leehartley |
| --- Fri Jul 11 2008 |