diff --git a/Makefile-man.am b/Makefile-man.am index 8b68bf37cc..8605c2a8a2 100644 --- a/Makefile-man.am +++ b/Makefile-man.am @@ -1910,6 +1910,17 @@ MANPAGES_ALIAS += \ endif +if ENABLE_IMPORTD +MANPAGES += \ + man/systemd-importd.service.8 +MANPAGES_ALIAS += \ + man/systemd-importd.8 +man/systemd-importd.8: man/systemd-importd.service.8 +man/systemd-importd.html: man/systemd-importd.service.html + $(html-alias) + +endif + if ENABLE_LOCALED MANPAGES += \ man/localectl.1 \ @@ -2593,6 +2604,7 @@ EXTRA_DIST += \ man/systemd-hibernate-resume@.service.xml \ man/systemd-hostnamed.service.xml \ man/systemd-hwdb.xml \ + man/systemd-importd.service.xml \ man/systemd-inhibit.xml \ man/systemd-initctl.service.xml \ man/systemd-journal-gatewayd.service.xml \ diff --git a/man/nss-myhostname.xml b/man/nss-myhostname.xml index 251bdecbad..f8837745ae 100644 --- a/man/nss-myhostname.xml +++ b/man/nss-myhostname.xml @@ -57,12 +57,11 @@ Description - nss-myhostname is a plugin for the GNU - Name Service Switch (NSS) functionality of the GNU C Library - (glibc), primarily providing hostname resolution - for the locally configured system hostname as returned by - gethostname2. - The precise hostnames resolved by this module are: + nss-myhostname is a plug-in module for the GNU Name Service Switch (NSS) functionality of + the GNU C Library (glibc), primarily providing hostname resolution for the locally configured + system hostname as returned by + gethostname2. The precise + hostnames resolved by this module are: The local, configured hostname is resolved to @@ -80,7 +79,6 @@ ordered by their metric. This assigns a stable hostname to the current gateway, useful for referencing it independently of the current network configuration state. - Various software relies on an always-resolvable local @@ -93,29 +91,25 @@ changing /etc/hosts is unnecessary, and on many systems, the file becomes entirely optional. - To activate the NSS modules, myhostname - has to be added to the line starting with - hosts: in - /etc/nsswitch.conf. + To activate the NSS modules, add myhostname to the line starting with + hosts: in /etc/nsswitch.conf. - It is recommended to place myhostname - last in the nsswitch.conf line to make sure - that this mapping is only used as fallback, and that any DNS or - /etc/hosts based mapping takes - precedence. + It is recommended to place myhostname last in the nsswitch.conf' + hosts: line to make sure that this mapping is only used as fallback, and that any DNS or + /etc/hosts based mapping takes precedence. Example - Here is an example /etc/nsswitch.conf - file that enables myhostname correctly: + Here is an example /etc/nsswitch.conf file that enables + nss-myhostname correctly: passwd: compat mymachines group: compat mymachines shadow: compat -hosts: files resolve mymachines myhostname +hosts: files mymachines resolve myhostname networks: files protocols: db files diff --git a/man/nss-mymachines.xml b/man/nss-mymachines.xml index d2bec763bb..ec047449bf 100644 --- a/man/nss-mymachines.xml +++ b/man/nss-mymachines.xml @@ -56,42 +56,37 @@ Description - nss-mymachines is a plugin for the GNU - Name Service Switch (NSS) functionality of the GNU C Library - (glibc), providing hostname resolution for - container names of containers running locally that are registered - with - systemd-machined.service8. - The container names are resolved to the IP addresses of the - specific container, ordered by their scope. + nss-mymachines is a plug-in module for the GNU Name Service Switch (NSS) functionality of + the GNU C Library (glibc), providing hostname resolution for the names of containers running + locally that are registered with + systemd-machined.service8. The + container names are resolved to the IP addresses of the specific container, ordered by their scope. This + functionality only applies to containers using network namespacing. - The module also resolves user IDs used by containers to user - names indicating the container name, and back. + The module also resolves user and group IDs used by containers to user and group names indicating the + container name, and back. This functionality only applies to containers using user namespacing. - To activate the NSS modules, mymachines - has to be added to the lines starting with - hosts:, passwd: and - group: in + To activate the NSS module, add mymachines to the lines starting with + hosts:, passwd: and group: in /etc/nsswitch.conf. - It is recommended to place mymachines - near the end of the nsswitch.conf lines to - make sure that its mappings are only used as fallback, and that any - other mappings, such as DNS or /etc/hosts - based mappings, take precedence. + It is recommended to place mymachines after the files or + compat entry of the /etc/nsswitch.conf lines to make sure that its mappings + are preferred over other resolvers such as DNS, but so that /etc/hosts, + /etc/passwd and /etc/group based mappings take precedence. Example - Here is an example /etc/nsswitch.conf - file that enables mymachines correctly: + Here is an example /etc/nsswitch.conf file that enables + nss-mymachines correctly: passwd: compat mymachines group: compat mymachines shadow: compat -hosts: files resolve mymachines myhostname +hosts: files mymachines resolve myhostname networks: files protocols: db files diff --git a/man/nss-resolve.xml b/man/nss-resolve.xml index 8b0928145f..d9e56453e8 100644 --- a/man/nss-resolve.xml +++ b/man/nss-resolve.xml @@ -56,37 +56,36 @@ Description - nss-resolve is a plugin module for the - GNU Name Service Switch (NSS) functionality of the GNU C Library - (glibc) enabling it to resolve host names via - the - systemd-resolved8 - local network name resolution service. + nss-resolve is a plug-in module for the GNU Name Service Switch (NSS) functionality of the + GNU C Library (glibc) enabling it to resolve host names via the + systemd-resolved8 local network + name resolution service. It replaces the nss-dns plug-in module that traditionally resolves + hostnames via DNS. - To activate the NSS module, resolve - has to be added to the line starting with - hosts: in - /etc/nsswitch.conf. + To activate the NSS module, add resolve to the line starting with + hosts: in /etc/nsswitch.conf. - It is recommended to place resolve early - in the nsswitch.conf line (but after the - files entry), replacing the - dns entry if it exists, to ensure DNS queries - are always routed via + It is recommended to place resolve early in /etc/nsswitch.conf' + hosts: line (but after the files or mymachines entries), + replacing the dns entry if it exists, to ensure DNS queries are always routed via systemd-resolved8. + + Note that nss-resolve will chain-load nss-dns if + systemd-resolved.service is not running, ensuring that basic DNS resolution continues to work + if the service is down. Example - Here is an example /etc/nsswitch.conf - file that enables resolve correctly: + Here is an example /etc/nsswitch.conf file that enables nss-resolve + correctly: passwd: compat mymachines group: compat mymachines shadow: compat -hosts: files resolve mymachines myhostname +hosts: files mymachines resolve myhostname networks: files protocols: db files @@ -96,12 +95,6 @@ rpc: db files netgroup: nis - Note that nss-resolve will chain-load - nss-dns if - systemd-resolved.service is not running, - ensuring that basic DNS resolution continues to work if the - service is down. - diff --git a/man/systemd-importd.service.xml b/man/systemd-importd.service.xml new file mode 100644 index 0000000000..8fdced475c --- /dev/null +++ b/man/systemd-importd.service.xml @@ -0,0 +1,82 @@ + + + + + + + + + systemd-importd.service + systemd + + + + Developer + Lennart + Poettering + lennart@poettering.net + + + + + + systemd-importd.service + 8 + + + + systemd-importd.service + systemd-importd + VM and container image import and export service + + + + systemd-importd.service + /usr/lib/systemd/systemd-importd + + + + Description + + systemd-importd is a system service that allows importing, exporting and downloading of + system images suitable for running as VM or containers. It is a companion service for + systemd-machined.service8, and provides the implementation for + machinectl1's + pull-raw, pull-tar, import-raw, + import-tar, export-raw, and export-tar commands. + + See the + + importd D-Bus API Documentation for information about the + APIs systemd-importd provides. + + + + See Also + + systemd1, + machinectl1, + systemd-machined.service8, + systemd-nspawn1 + + + + diff --git a/units/systemd-importd.service.in b/units/systemd-importd.service.in index d3238cf8f5..b74ad72cdc 100644 --- a/units/systemd-importd.service.in +++ b/units/systemd-importd.service.in @@ -8,6 +8,7 @@ [Unit] Description=Virtual Machine and Container Download Service Documentation=man:systemd-importd.service(8) +Documentation=http://www.freedesktop.org/wiki/Software/systemd/importd [Service] ExecStart=@rootlibexecdir@/systemd-importd diff --git a/units/systemd-resolved.service.m4.in b/units/systemd-resolved.service.m4.in index c674b27ced..8e1c1dea79 100644 --- a/units/systemd-resolved.service.m4.in +++ b/units/systemd-resolved.service.m4.in @@ -8,6 +8,9 @@ [Unit] Description=Network Name Resolution Documentation=man:systemd-resolved.service(8) +Documentation=http://www.freedesktop.org/wiki/Software/systemd/resolved +Documentation=http://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers +Documentation=http://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients After=systemd-networkd.service network.target # On kdbus systems we pull in the busname explicitly, because it