aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-06-18 19:47:44 +0200
committerTom Gundersen <teg@jklm.no>2015-06-18 19:47:44 +0200
commit12b42c76672a66c2d4ea7212c14f8f1b5a62b78d (patch)
tree0a9f5aff7fc2f144765f936c618c563568edba1f /man/systemd.preset.xml
parentMerge pull request #288 from phomes/cgroup-util (diff)
downloadsystemd-12b42c76672a66c2d4ea7212c14f8f1b5a62b78d.tar.gz
systemd-12b42c76672a66c2d4ea7212c14f8f1b5a62b78d.tar.bz2
systemd-12b42c76672a66c2d4ea7212c14f8f1b5a62b78d.zip
man: revert dynamic paths for split-usr setups
This did not really work out as we had hoped. Trying to do this upstream introduced several problems that probably makes it better suited as a downstream patch after all. At any rate, it is not releaseable in the current state, so we at least need to revert this before the release. * by adjusting the path to binaries, but not do the same thing to the search path we end up with inconsistent man-pages. Adjusting the search path too would be quite messy, and it is not at all obvious that this is worth the effort, but at any rate it would have to be done before we could ship this. * this means that distributed man-pages does not make sense as they depend on config options, and for better or worse we are still distributing man pages, so that is something that definitely needs sorting out before we could ship with this patch. * we have long held that split-usr is only minimally supported in order to boot, and something we hope will eventually go away. So before we start adding even more magic/effort in order to make this work nicely, we should probably question if it makes sense at all.
Diffstat (limited to 'man/systemd.preset.xml')
-rw-r--r--man/systemd.preset.xml21
1 files changed, 9 insertions, 12 deletions
diff --git a/man/systemd.preset.xml b/man/systemd.preset.xml
index 4667f9d61..2f9add8d6 100644
--- a/man/systemd.preset.xml
+++ b/man/systemd.preset.xml
@@ -1,9 +1,6 @@
<?xml version="1.0"?>
<!--*-nxml-*-->
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
-<!ENTITY % entities SYSTEM "custom-entities.ent" >
-%entities;
-]>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<!--
This file is part of systemd.
@@ -49,12 +46,12 @@
</refnamediv>
<refsynopsisdiv>
- <para><filename>&pkgsysconfdir;/system-preset/*.preset</filename></para>
+ <para><filename>/etc/systemd/system-preset/*.preset</filename></para>
<para><filename>/run/systemd/system-preset/*.preset</filename></para>
- <para><filename>&rootlibexecdir;/system-preset/*.preset</filename></para>
- <para><filename>&pkgsysconfdir;/user-preset/*.preset</filename></para>
+ <para><filename>/usr/lib/systemd/system-preset/*.preset</filename></para>
+ <para><filename>/etc/systemd/user-preset/*.preset</filename></para>
<para><filename>/run/systemd/user-preset/*.preset</filename></para>
- <para><filename>&rootlibexecdir;/user-preset/*.preset</filename></para>
+ <para><filename>/usr/lib/systemd/user-preset/*.preset</filename></para>
</refsynopsisdiv>
<refsect1>
@@ -128,7 +125,7 @@
<para>If the administrator wants to disable a preset file supplied
by the vendor, the recommended way is to place a symlink to
<filename>/dev/null</filename> in
- <filename>&pkgsysconfdir;/system-preset/</filename> bearing the same
+ <filename>/etc/systemd/system-preset/</filename> bearing the same
filename.</para>
</refsect1>
@@ -136,7 +133,7 @@
<title>Example</title>
<example>
- <title>Default off example <filename>&rootlibexecdir;/system-preset/99-default.preset</filename>:</title>
+ <title>Default off example <filename>/usr/lib/systemd/system-preset/99-default.preset</filename>:</title>
<programlisting>disable *</programlisting>
</example>
@@ -147,7 +144,7 @@
suchlike.</para>
<example>
- <title>A GNOME spin example <filename>&rootlibexecdir;/system-preset/50-gnome.preset</filename>:</title>
+ <title>A GNOME spin example <filename>/usr/lib/systemd/system-preset/50-gnome.preset</filename>:</title>
<programlisting>enable gdm.service
enable colord.service
@@ -165,7 +162,7 @@ enable avahi-daemon.*</programlisting>
example like the one from the first example above.</para>
<example>
- <title>Administrator policy <filename>&pkgsysconfdir;/system-preset/00-lennart.preset</filename>:</title>
+ <title>Administrator policy <filename>/etc/systemd/system-preset/00-lennart.preset</filename>:</title>
<programlisting>enable httpd.service
enable sshd.service