|
|
f707ba |
From 98a69ca00e3441128b181b59c06bb06e8c362360 Mon Sep 17 00:00:00 2001
|
|
|
f707ba |
From: Sumit Bose <sbose@redhat.com>
|
|
|
f707ba |
Date: Fri, 29 Nov 2019 21:57:02 +0100
|
|
|
f707ba |
Subject: [PATCH] doc: extend description of config handling
|
|
|
f707ba |
|
|
|
f707ba |
Related to https://bugzilla.redhat.com/show_bug.cgi?id=1625005
|
|
|
f707ba |
---
|
|
|
f707ba |
doc/manual/Makefile.am | 8 ++++++++
|
|
|
f707ba |
doc/manual/realmd.conf.xml | 15 +++++++++++----
|
|
|
f707ba |
doc/privatedir.xml.in | 1 +
|
|
|
f707ba |
4 files changed, 21 insertions(+), 4 deletions(-)
|
|
|
f707ba |
create mode 100644 doc/privatedir.xml.in
|
|
|
f707ba |
|
|
|
f707ba |
diff --git a/doc/manual/Makefile.am b/doc/manual/Makefile.am
|
|
|
f707ba |
index 8b33fdd..9812c45 100644
|
|
|
f707ba |
--- a/doc/manual/Makefile.am
|
|
|
f707ba |
+++ b/doc/manual/Makefile.am
|
|
|
f707ba |
@@ -1,14 +1,20 @@
|
|
|
f707ba |
+XSLTPROC_FLAGS = --path $(abs_builddir):$(abs_srcdir):$(abs_builddir)/doc
|
|
|
f707ba |
|
|
|
f707ba |
man8_MANS += \
|
|
|
f707ba |
doc/manual/realm.8
|
|
|
f707ba |
man5_MANS += \
|
|
|
f707ba |
doc/manual/realmd.conf.5
|
|
|
f707ba |
|
|
|
f707ba |
+$(man5_MANS): doc/privatedir.xml
|
|
|
f707ba |
+
|
|
|
f707ba |
MAN_IN_FILES = \
|
|
|
f707ba |
$(man8_MANS:.8=.xml) \
|
|
|
f707ba |
$(man5_MANS:.5=.xml) \
|
|
|
f707ba |
$(NULL)
|
|
|
f707ba |
|
|
|
f707ba |
+doc/privatedir.xml: doc/privatedir.xml.in
|
|
|
f707ba |
+ $(V_SED) $(MKDIR_P) $(dir $@) && $(SED_SUBST) $< > $@
|
|
|
f707ba |
+
|
|
|
f707ba |
MANUAL_DOCBOOK = doc/manual/realmd-docs.xml
|
|
|
f707ba |
|
|
|
f707ba |
MANUAL_INCLUDES = \
|
|
|
f707ba |
@@ -41,6 +47,7 @@ MANUAL_XSLT = \
|
|
|
f707ba |
$(NULL)
|
|
|
f707ba |
|
|
|
f707ba |
EXTRA_DIST += \
|
|
|
f707ba |
+ doc/privatedir.xml.in \
|
|
|
f707ba |
$(MANUAL_DOCBOOK) \
|
|
|
f707ba |
$(MANUAL_INCLUDES) \
|
|
|
f707ba |
$(MAN_IN_FILES) \
|
|
|
f707ba |
@@ -50,6 +57,7 @@ EXTRA_DIST += \
|
|
|
f707ba |
|
|
|
f707ba |
CLEANFILES += \
|
|
|
f707ba |
realmd-org.freedesktop.realmd.generated \
|
|
|
f707ba |
+ doc/privatedir.xml \
|
|
|
f707ba |
$(DBUS_DOC_GENERATED) \
|
|
|
f707ba |
$(DBUS_ESCAPED) \
|
|
|
f707ba |
$(man8_MANS) \
|
|
|
f707ba |
diff --git a/doc/manual/realmd.conf.xml b/doc/manual/realmd.conf.xml
|
|
|
f707ba |
index 1592291..9062252 100644
|
|
|
f707ba |
--- a/doc/manual/realmd.conf.xml
|
|
|
f707ba |
+++ b/doc/manual/realmd.conf.xml
|
|
|
f707ba |
@@ -1,6 +1,9 @@
|
|
|
f707ba |
|
|
|
f707ba |
|
|
|
f707ba |
- "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
|
|
|
f707ba |
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
|
|
|
f707ba |
+[
|
|
|
f707ba |
+
|
|
|
f707ba |
+]>
|
|
|
f707ba |
|
|
|
f707ba |
<refentry id="realmd-conf">
|
|
|
f707ba |
|
|
|
f707ba |
@@ -35,7 +38,9 @@
|
|
|
f707ba |
to act in specific ways. This is done by placing settings in a
|
|
|
f707ba |
<filename>/etc/realmd.conf</filename>. This file does not exist by
|
|
|
f707ba |
default. The syntax of this file is the same as an INI file or
|
|
|
f707ba |
- Desktop Entry file.</para>
|
|
|
f707ba |
+ Desktop Entry file. If the file is changed and
|
|
|
f707ba |
+ <command>realmd</command> is running <command>realmd</command> must be
|
|
|
f707ba |
+ restarted to read the new values.</para>
|
|
|
f707ba |
|
|
|
f707ba |
<para>In general, settings in this file only apply at the point of
|
|
|
f707ba |
joining a domain or realm. Once the realm has been setup the settings
|
|
|
f707ba |
@@ -46,8 +51,10 @@
|
|
|
f707ba |
|
|
|
f707ba |
<para>Only specify the settings you wish to override in the
|
|
|
f707ba |
<filename>/etc/realmd.conf</filename> file. Settings not specified will
|
|
|
f707ba |
- be loaded from their packaged defaults. Only override the settings
|
|
|
f707ba |
- below. You may find other settings if you look through the
|
|
|
f707ba |
+ be loaded from their packaged defaults which can be found in
|
|
|
f707ba |
+ <filename>&privatedir;/realmd-defaults.conf</filename> and
|
|
|
f707ba |
+ <filename>&privatedir;/realmd-distro.conf</filename>. Only override the
|
|
|
f707ba |
+ settings below. You may find other settings if you look through the
|
|
|
f707ba |
<command>realmd</command> source code. However these are not guaranteed
|
|
|
f707ba |
to remain stable.</para>
|
|
|
f707ba |
|
|
|
f707ba |
diff --git a/doc/privatedir.xml.in b/doc/privatedir.xml.in
|
|
|
f707ba |
new file mode 100644
|
|
|
f707ba |
index 0000000..7f71afe
|
|
|
f707ba |
--- /dev/null
|
|
|
f707ba |
+++ b/doc/privatedir.xml.in
|
|
|
f707ba |
@@ -0,0 +1 @@
|
|
|
f707ba |
+@privatedir@
|
|
|
f707ba |
\ No newline at end of file
|
|
|
f707ba |
--
|
|
|
f707ba |
2.21.0
|
|
|
f707ba |
|