Using trunk code.
ksmutil seems to partially ignore the specified conf file and looks for a kasp.db f lie in the install directory even though conf.xml specifies mysql and the code was built for mysql.
$ ods-ksmutil -c /home/jad/fakeroot/etc/opendnssec/conf.xml setup
WARNING This will erase all data in the database; are you sure? [y/N] y
MySQL database host set to: localhost
MySQL database schema set to: KASP
MySQL database user set to: root
MySQL database password set
zonelist filename set to /home/jad/fakeroot/etc/opendnssec/zonelist.xml.
kasp filename set to /home/jad/fakeroot/etc/opendnssec/kasp.xml.
Repository SoftHSM found
No Maximum Capacity set.
RequireBackup NOT set; please make sure that you know the potential problems of using keys which are not recoverable
About to check XML validity in /home/jenkins/workspace/root/OpenDNSSEC-trunk/softHSM-trunk_mysql/etc/opendnssec/conf.xml
/home/jenkins/workspace/root/OpenDNSSEC-trunk/softHSM-trunk_mysql/etc/opendnssec/conf.xml validates
ERROR: Can't find DB file : /home/jenkins/workspace/root/OpenDNSSEC-trunk/softHSM-trunk_mysql/var/opendnssec/kasp.db
About to check XML validity in /home/jad/fakeroot/etc/opendnssec/kasp.xml
/home/jad/fakeroot/etc/opendnssec/kasp.xml validates
ods-kaspcheck returned an error, please check your policy
Failed to update policies
SETUP FAILED