diff options
author | Tom Gundersen <teg@jklm.no> | 2015-06-18 19:47:44 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-06-18 19:47:44 +0200 |
commit | 12b42c76672a66c2d4ea7212c14f8f1b5a62b78d (patch) | |
tree | 0a9f5aff7fc2f144765f936c618c563568edba1f /man/systemd.link.xml | |
parent | 74b1f5276365bbdf02dacec707fb9c40509650b4 (diff) |
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.link.xml')
-rw-r--r-- | man/systemd.link.xml | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/man/systemd.link.xml b/man/systemd.link.xml index 723364f4d1..d9b1879c59 100644 --- a/man/systemd.link.xml +++ b/man/systemd.link.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; -]> + "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> <!-- This file is part of systemd. @@ -59,21 +56,21 @@ <command>net_setup_link</command> udev builtin.</para> <para>The link files are read from the files located in the system - network directory <filename>&rootlibexecdir;/network</filename>, + network directory <filename>/usr/lib/systemd/network</filename>, the volatile runtime network directory <filename>/run/systemd/network</filename>, and the local administration network directory - <filename>&pkgsysconfdir;/network</filename>. Link files must have + <filename>/etc/systemd/network</filename>. Link files must have the extension <filename>.link</filename>; other extensions are ignored. All link files are collectively sorted and processed in lexical order, regardless of the directories in which they live. However, files with identical filenames replace each other. Files in <filename>/etc</filename> have the highest priority, files in <filename>/run</filename> take precedence over files with the same - name in <filename>&rootprefix;/lib</filename>. This can be used to + name in <filename>/usr/lib</filename>. This can be used to override a system-supplied link file with a local file if needed; a symlink in <filename>/etc</filename> with the same name as a - link file in <filename>&rootprefix;/lib</filename>, pointing to + link file in <filename>/usr/lib</filename>, pointing to <filename>/dev/null</filename>, disables the link file entirely.</para> @@ -387,7 +384,7 @@ <refsect1> <title>Example</title> <example> - <title>&pkgsysconfdir;/network/wireless.link</title> + <title>/etc/systemd/network/wireless.link</title> <programlisting>[Match] MACAddress=12:34:56:78:9a:bc |