Hello,

Use "master" subdirectory for temporary files related to zones.

This allows us to separate zone and non-zone metadata and also to separate
master and (hypothetical) slave zones.

--
Petr^2 Spacek
From f942df399ded10399a1f5d378d5ca1cc959bb157 Mon Sep 17 00:00:00 2001
From: Petr Spacek <pspa...@redhat.com>
Date: Wed, 3 Sep 2014 09:34:09 +0200
Subject: [PATCH] Use "master" subdirectory for temporary files related to
 zones.

This allows us to separate zone and non-zone metadata and also to separate
master and (hypothetical) slave zones.

Signed-off-by: Petr Spacek <pspa...@redhat.com>
---
 src/zone_register.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/zone_register.c b/src/zone_register.c
index 757a01997c12f6bc6ad3ecea82c9f8c007ba36af..138cd7caed67c4b020dd0fd943d54141595f1138 100644
--- a/src/zone_register.c
+++ b/src/zone_register.c
@@ -214,6 +214,7 @@ zr_get_zone_path(isc_mem_t *mctx, settings_set_t *settings,
 
 	CHECK(setting_get_str("directory", settings, &inst_dir));
 	CHECK(str_cat_char(zone_path, inst_dir));
+	CHECK(str_cat_char(zone_path, "master/"));
 	CHECK(str_cat_char(zone_path, zone_name_char));
 	CHECK(str_cat_char(zone_path, "/"));
 	if (last_component != NULL)
-- 
1.9.3

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to