[Opendnssec-user] Include files in configuration

Casper Gielen c.gielen at uvt.nl
Thu Mar 24 13:08:28 UTC 2011


Hello,
is there a way to include a file inside an XML file (without confusing Relax-NG).
I prefer to have passwords in a seperate file so the rest of the config can be stored in subversion.

My failed attempt:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Configuration [
<!ENTITY passwordmysql SYSTEM "passwordmysql.xml">
]>

< cut away for brevity >

<Datastore>
	<MySQL>
		<Host port="3306">localhost</Host>
		<Database>opendnssec</Database>
		<Username>opendnssec</Username>
        	&passwordmysql;
	</MySQL>
</Datastore>


root at ramanujan:~# ods-signer start
OpenDNSSEC signer engine version 1.2.0
/etc/opendnssec/conf.xml:48: element MySQL: Relax-NG validity error : Expecting an element , got nothing
[Thu Mar 24 14:06:51 2011] ods-signerd[3] error: configuration file validation failed /etc/opendnssec/conf.xml
[Thu Mar 24 14:06:51 2011] ods-signerd[3] error: unable to parse cfgfile /etc/opendnssec/conf.xml
[Thu Mar 24 14:06:51 2011] ods-signerd[3] error: engine config does not exist
[Thu Mar 24 14:06:51 2011] ods-signerd[3] error: cfgfile /etc/opendnssec/conf.xml has errors


Any ideas?
-- 
Casper Gielen <cgielen at uvt.nl> | LIS UNIX
PGP fingerprint = 16BD 2C9F 8156 C242 F981  63B8 2214 083C F80E 4AF7

Universiteit van Tilburg | Postbus 90153, 5000 LE
Warandelaan 2 | Telefoon 013 466 4100 | G 236 | http://www.uvt.nl



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.opendnssec.org/pipermail/opendnssec-user/attachments/20110324/44a8be24/attachment.bin>


More information about the Opendnssec-user mailing list