opendnssec (1.3.7-1) 004-runas_opendnssec.patch

Summary

 conf/conf.xml.in |   10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

    
download this patch

Patch contents

--- a/conf/conf.xml.in
+++ b/conf/conf.xml.in
@@ -6,12 +6,14 @@
 
 	<RepositoryList>
 
+<!--
 		<Repository name="SoftHSM">
 			<Module>@pkcs11_softhsm_module@</Module>
 			<TokenLabel>OpenDNSSEC</TokenLabel>
 			<PIN>1234</PIN>
 			<SkipPublicKey/>
 		</Repository>
+-->
 
 <!--
 		<Repository name="sca6000">
@@ -42,14 +44,12 @@
 	</Common>
 
 	<Enforcer>
-<!--
 		<Privileges>
 			<User>opendnssec</User>
 			<Group>opendnssec</Group>
 		</Privileges>
--->
 
-		<Datastore><SQLite>@OPENDNSSEC_STATE_DIR@/kasp.db</SQLite></Datastore>
+		<Datastore><SQLite>@OPENDNSSEC_STATE_DIR@/db/kasp.db</SQLite></Datastore>
 		<Interval>PT3600S</Interval>
 		<!-- <ManualKeyGeneration/> -->
 		<!-- <RolloverNotification>P14D</RolloverNotification> -->
@@ -61,12 +61,10 @@
 	</Enforcer>
 
 	<Signer>
-<!--
 		<Privileges>
 			<User>opendnssec</User>
 			<Group>opendnssec</Group>
 		</Privileges>
--->
 
 		<WorkingDirectory>@OPENDNSSEC_STATE_DIR@/tmp</WorkingDirectory>
 		<WorkerThreads>4</WorkerThreads>
@@ -88,12 +86,10 @@
 	</Signer>
 
 	<Auditor>
-<!--
 		<Privileges>
 			<User>opendnssec</User>
 			<Group>opendnssec</Group>
 		</Privileges>
--->
 
 		<WorkingDirectory>@OPENDNSSEC_STATE_DIR@/tmp</WorkingDirectory>
 	</Auditor>