From: Bryan G. <bry...@hp...> - 2009-04-05 14:01:23
|
Bruno, On Sat, Apr 04, 2009 at 10:51:37PM +0000, Cornec, Bruno (Open Source and Linux Technology Architect) wrote: > I'm coming back to LinuxCOE, and would like to add now really Mandriva > support. Yeah! > In the way if testing it, I first encounter an error I do not really > understand. I have that at last step of the Web interface: > > Narf! A catastrophic error! > Cannot open /auto_inst1894.cfg for writing : Permission denied > > IIUC, it should use the following code (in > SystemDesigner/cgi-bin/nph-mandriva_image.in) : > > my $htmlpath = $db->def('FINAL_WD_PATH'); > [...] > my $ks_filename = "auto_inst$$.cfg"; # Custom auto_inst.cfg > my $ks_file = "$htmlpath/$ks_filename"; > > But it seems that $htmlpath is empty :-( > > I'm using my RPMs packages, and hope that it uses > /etc/linuxcoe-sd/linuxcoe.rc as config file. In it I have: > > $ grep FINAL_WD_PATH /etc/linuxcoe-sd/linuxcoe.rc > FINAL_WD_PATH /var/cache/linuxcoe-sd/scratchmonkey > > What shoud I activate in order to get more debug, or check that that > file is indeed read in my setup ? > Do you have an idea where my mandriva additions could be wrong ? Usually, in each CGI script, near the top, there is a statement like: my $debug = 0; make sure your's is set to 1 (which it seemed to be) for the maximum info. Then browse the log file, by default: $prefix/var/log/linuxcoe-sd/sysdes.log for the output. Also, since it's been sometime since this effort was started, you may wish to compare one of the other backend scripts to see if relevant changes were made there, bryang |