On Jan 4, 2009, at 6:34 AM, Andreas John wrote:

> As the message is a little unspecific in naming the offending file, I
> added a validity-check for the .xml files in the Debian init script.  
> If
> an invalid .xml file is found, the script exits with status 1. You  
> need
> the package xmlstarlet be installed in order to make that work (apt- 
> get
> install xmlstarlet). If the patch will be adopted, the Debian control
> file should list xmlstarlet as a "recommends".

The start script laid down as OPENNMS_HOME/bin/opennms already does  
this same check using xmllint.  It's possible that the Debian init.d  
script did not adopt this step -- if so, it would be better to update  
it to include this step than to do a separate implementation with a  
different parser.

-jeff

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Reply via email to