From 92897d768da3dfd2ff6841955b27b039659ddf82 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Thu, 19 May 2022 13:54:24 +0200 Subject: [PATCH] tree-wide: replace obsolete wiki links with systemd.io/manpages All wiki pages that contain a deprecation banner pointing to systemd.io or manpages are updated to point to their replacements directly. Helpful command for identification of available links: git grep freedesktop.org/wiki | \ sed "s#.*\(https://www.freedesktop.org/wiki[^ $<'\\\")]*\)\(.*\)#\\1#" | \ sort | uniq --- docs/PORTABILITY_AND_STABILITY.md | 10 +++++----- man/systemd.special.xml | 4 ++-- test/fuzz/fuzz-unit-file/systemd-machined.service | 2 +- test/fuzz/fuzz-unit-file/systemd-resolved.service | 2 +- units/network-online.target | 2 +- units/network-pre.target | 2 +- units/network.target | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/PORTABILITY_AND_STABILITY.md b/docs/PORTABILITY_AND_STABILITY.md index 6328b44d7a..b1971f0e7e 100644 --- a/docs/PORTABILITY_AND_STABILITY.md +++ b/docs/PORTABILITY_AND_STABILITY.md @@ -80,14 +80,14 @@ And now, here's the list of (hopefully) all APIs that we have introduced with sy | API | Type | Covered by Interface Stability Promise | Fully documented | Known External Consumers | Reimplementable Independently | Known Other Implementations | systemd Implementation portable to other OSes or non-systemd distributions | | --- | ---- | ----------------------------------------------------------------------------------------- | ---------------- | ------------------------ | ----------------------------- | --------------------------- | -------------------------------------------------------------------------- | -| [hostnamed](https://www.freedesktop.org/wiki/Software/systemd/hostnamed) | D-Bus | yes | yes | GNOME | yes | [Ubuntu](https://launchpad.net/ubuntu/+source/ubuntu-system-service), [Gentoo](http://www.gentoo.org/proj/en/desktop/gnome/openrc-settingsd.xml), [BSD](http://uglyman.kremlin.cc/gitweb/gitweb.cgi?p=systembsd.git;a=summary) | partially | -| [localed](https://www.freedesktop.org/wiki/Software/systemd/localed) | D-Bus | yes | yes | GNOME | yes | [Ubuntu](https://launchpad.net/ubuntu/+source/ubuntu-system-service), [Gentoo](http://www.gentoo.org/proj/en/desktop/gnome/openrc-settingsd.xml), [BSD](http://uglyman.kremlin.cc/gitweb/gitweb.cgi?p=systembsd.git;a=summary) | partially | -| [timedated](https://www.freedesktop.org/wiki/Software/systemd/timedated) | D-Bus | yes | yes | GNOME | yes | [Gentoo](http://www.gentoo.org/proj/en/desktop/gnome/openrc-settingsd.xml), [BSD](http://uglyman.kremlin.cc/gitweb/gitweb.cgi?p=systembsd.git;a=summary) | partially | +| [hostnamed](https://www.freedesktop.org/software/systemd/man/org.freedesktop.hostname1.html) | D-Bus | yes | yes | GNOME | yes | [Ubuntu](https://launchpad.net/ubuntu/+source/ubuntu-system-service), [Gentoo](http://www.gentoo.org/proj/en/desktop/gnome/openrc-settingsd.xml), [BSD](http://uglyman.kremlin.cc/gitweb/gitweb.cgi?p=systembsd.git;a=summary) | partially | +| [localed](https://www.freedesktop.org/software/systemd/man/org.freedesktop.locale1.html) | D-Bus | yes | yes | GNOME | yes | [Ubuntu](https://launchpad.net/ubuntu/+source/ubuntu-system-service), [Gentoo](http://www.gentoo.org/proj/en/desktop/gnome/openrc-settingsd.xml), [BSD](http://uglyman.kremlin.cc/gitweb/gitweb.cgi?p=systembsd.git;a=summary) | partially | +| [timedated](https://www.freedesktop.org/software/systemd/man/org.freedesktop.timedate1.html) | D-Bus | yes | yes | GNOME | yes | [Gentoo](http://www.gentoo.org/proj/en/desktop/gnome/openrc-settingsd.xml), [BSD](http://uglyman.kremlin.cc/gitweb/gitweb.cgi?p=systembsd.git;a=summary) | partially | | [initrd interface](INITRD_INTERFACE.md) | Environment, flag files | yes | yes | dracut, ArchLinux | yes | ArchLinux | no | | [Container interface](CONTAINER_INTERFACE.md) | Environment, Mounts | yes | yes | libvirt/LXC | yes | - | no | | [Boot Loader interface](BOOT_LOADER_INTERFACE.md) | EFI variables | yes | yes | gummiboot | yes | - | no | -| [Service bus API](https://www.freedesktop.org/wiki/Software/systemd/dbus) | D-Bus | yes | yes | system-config-services | no | - | no | -| [logind](https://www.freedesktop.org/wiki/Software/systemd/logind) | D-Bus | yes | yes | GNOME | no | - | no | +| [Service bus API](https://www.freedesktop.org/software/systemd/man/org.freedesktop.systemd1.html) | D-Bus | yes | yes | system-config-services | no | - | no | +| [logind](https://www.freedesktop.org/software/systemd/man/org.freedesktop.login1.html) | D-Bus | yes | yes | GNOME | no | - | no | | [sd-login.h API](https://www.freedesktop.org/software/systemd/man/sd-login.html) | C Library | yes | yes | GNOME, polkit, ... | no | - | no | | [sd-daemon.h API](https://www.freedesktop.org/software/systemd/man/sd-daemon.html) | C Library or Drop-in | yes | yes | numerous | yes | - | yes | | [sd-id128.h API](https://www.freedesktop.org/software/systemd/man/sd-id128.html) | C Library | yes | yes | - | yes | - | no | diff --git a/man/systemd.special.xml b/man/systemd.special.xml index 9eb0b4a2c2..6616448e90 100644 --- a/man/systemd.special.xml +++ b/man/systemd.special.xml @@ -512,7 +512,7 @@ is part of the boot of most systems, while network-online.target is not, except when at least one unit requires it. Also see Running + url="https://systemd.io/NETWORK_ONLINE">Running Services After the Network is up for more information. @@ -991,7 +991,7 @@ will be stopped before the network — to whatever level it might be set up by then — is shut down. It is hence useful when writing service files that require network access on shutdown, which should order themselves after this target, but not pull it in. Also see Running Services After + url="https://systemd.io/NETWORK_ONLINE">Running Services After the Network is up for more information. diff --git a/test/fuzz/fuzz-unit-file/systemd-machined.service b/test/fuzz/fuzz-unit-file/systemd-machined.service index 45c64bae1c..4c6b2ecaa0 100644 --- a/test/fuzz/fuzz-unit-file/systemd-machined.service +++ b/test/fuzz/fuzz-unit-file/systemd-machined.service @@ -11,7 +11,7 @@ service [Unit] Description=Virtual Machine and Container Registration Service Documentation=man:systemd-machined.service(8) -Documentation=https://www.freedesktop.org/wiki/Software/systemd/machined +Documentation=man:org.freedesktop.machine1(5) Wants=machine.slice After=machine.slice RequiresMountsFor=/var/lib/machines diff --git a/test/fuzz/fuzz-unit-file/systemd-resolved.service b/test/fuzz/fuzz-unit-file/systemd-resolved.service index 42c5c9a067..49d272b21f 100644 --- a/test/fuzz/fuzz-unit-file/systemd-resolved.service +++ b/test/fuzz/fuzz-unit-file/systemd-resolved.service @@ -11,7 +11,7 @@ service [Unit] Description=Network Name Resolution Documentation=man:systemd-resolved.service(8) -Documentation=https://www.freedesktop.org/wiki/Software/systemd/resolved +Documentation=man:org.freedesktop.resolve1(5) Documentation=https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers Documentation=https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients DefaultDependencies=no diff --git a/units/network-online.target b/units/network-online.target index c3edfeb4f9..67c6d40c85 100644 --- a/units/network-online.target +++ b/units/network-online.target @@ -10,5 +10,5 @@ [Unit] Description=Network is Online Documentation=man:systemd.special(7) -Documentation=https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget +Documentation=https://systemd.io/NETWORK_ONLINE After=network.target diff --git a/units/network-pre.target b/units/network-pre.target index f92449b50b..213ba99b10 100644 --- a/units/network-pre.target +++ b/units/network-pre.target @@ -10,5 +10,5 @@ [Unit] Description=Preparation for Network Documentation=man:systemd.special(7) -Documentation=https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget +Documentation=https://systemd.io/NETWORK_ONLINE RefuseManualStart=yes diff --git a/units/network.target b/units/network.target index 08baf126b4..aab8e6891f 100644 --- a/units/network.target +++ b/units/network.target @@ -10,6 +10,6 @@ [Unit] Description=Network Documentation=man:systemd.special(7) -Documentation=https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget +Documentation=https://systemd.io/NETWORK_ONLINE After=network-pre.target RefuseManualStart=yes