]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: elaborate a bit on the effect of PrivateNetwork=
authorLennart Poettering <lennart@poettering.net>
Thu, 12 Jul 2018 19:03:53 +0000 (21:03 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 17 Jul 2018 19:41:23 +0000 (21:41 +0200)
Triggered by this thread:

https://lists.freedesktop.org/archives/systemd-devel/2018-July/040992.html

man/systemd.exec.xml

index 23c9f5a4582dd381a2939a5d43e8fbda17033a62..ccf79b21d6e6448f8a31caeb026560f1c96cdb28 100644 (file)
@@ -1046,9 +1046,13 @@ BindReadOnlyPaths=/var/lib/systemd</programlisting>
         Defaults to false. It is possible to run two or more units within the same private network namespace by using
         the <varname>JoinsNamespaceOf=</varname> directive, see
         <citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry> for
-        details. Note that this option will disconnect all socket families from the host, this includes AF_NETLINK and
-        AF_UNIX.  The latter has the effect that AF_UNIX sockets in the abstract socket namespace will become
-        unavailable to the processes (however, those located in the file system will continue to be accessible).</para>
+        details. Note that this option will disconnect all socket families from the host, including
+        <constant>AF_NETLINK</constant> and <constant>AF_UNIX</constant>. Effectively, for
+        <constant>AF_NETLINK</constant> this means that device configuration events received from
+        <citerefentry><refentrytitle>systemd-udevd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry> are
+        not delivered to the unit's processes. And for <constant>AF_UNIX</constant> this has the effect that
+        <constant>AF_UNIX</constant> sockets in the abstract socket namespace of the host will become unavailable to
+        the unit's processes (however, those located in the file system will continue to be accessible).</para>
 
         <para>Note that the implementation of this setting might be impossible (for example if network namespaces are
         not available), and the unit should be written in a way that does not solely rely on this setting for