Hi Bernard,

See my answer below.

Le mardi 10 novembre 2009 20:35:35 Bernard Li, vous avez écrit :
> Hi Olivier:
> 
> On Tue, Nov 10, 2009 at 7:15 AM, Olivier LAHAYE <[email protected]> wrote:
> 
> > So no I must figure out what went wrong with the command that generated  
> > /var/lib/systemimager/images/<myimage>/etc/systemimager/autoinstallscript.conf
> >
> > mksidisk -A --name myimage --file /usr/share/oscar/oscarsamples/cciss.disk
> >
> > The above command succeed but generates wrong things.
> > /var/lib/systemimager/images/myimage/etc/systemconfig/systemconfig.conf has 
> > incomplete BOOTDEV = /dev/cciss/c0d0p (missing "1")
> > /var/lib/systemimager/images/myimage/etc/systemimager/autoinstallscript.conf
> 
> mksidisk belongs to the package systeminstaller-oscar which is
> maintained by the OSCAR developers -- I think you're best to contact
> them for help.
> 
> Typically in an OSCAR installation, the autoinstallscript.conf for
> your image is generated by SystemInstaller, and SystemImager generates
> the master installation script using that as a template.
> 
> I noticed that you have already patched SystemInstaller -- did that not help?
It helped (no more error), but in the meantime, if there is an error in config 
file generated by oscar, si_mkautoinstallscript fails with the error below 
instead of reporting a human readable error like "config file not correct at 
line: device /dev/cciss/c0d06 does not exists. Error".
It is a little bit like "/bin/ls /sdrbhzdjkfbhqdf" that would dump core instead 
of telling "/sdrbhzdjkfbhqdf: no such file or directory".

 /usr/sbin/si_mkautoinstallscript --listing --autodetect-disks -image 
oscarimage1 -force -ip-assignment static -post-install reboot
Use of uninitialized value in concatenation (.) or string at 
/usr/lib/systemimager/perl/SystemImager/Server.pm line 671, <$TEMPLATE> line 
165.
Use of uninitialized value in concatenation (.) or string at 
/usr/lib/systemimager/perl/SystemImager/Server.pm line 671, <$TEMPLATE> line 
165.
Use of uninitialized value in concatenation (.) or string at 
/usr/lib/systemimager/perl/SystemImager/Server.pm line 671, <$TEMPLATE> line 
165.
Use of uninitialized value in concatenation (.) or string at 
/usr/lib/systemimager/perl/SystemImager/Server.pm line 671, <$TEMPLATE> line 
165.
Use of uninitialized value in concatenation (.) or string at 
/usr/lib/systemimager/perl/SystemImager/Server.pm line 916, <$TEMPLATE> line 
175.
Use of uninitialized value in concatenation (.) or string at 
/usr/lib/systemimager/perl/SystemImager/Server.pm line 916, <$TEMPLATE> line 
175.
Use of uninitialized value in concatenation (.) or string at 
/usr/lib/systemimager/perl/SystemImager/Server.pm line 916, <$TEMPLATE> line 
175.
Use of uninitialized value in concatenation (.) or string at 
/usr/lib/systemimager/perl/SystemImager/Server.pm line 916, <$TEMPLATE> line 
175.

Regards,

Olivier.

> 
> http://www.mail-archive.com/[email protected]/msg08990.html
> 
> Cheers,
> 
> Bernard
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> sisuite-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sisuite-users
> 

-- 
        Olivier LAHAYE
        CEA Saclay
        DRT-LIST-DETECS-SSTM

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to