1
0
mirror of https://github.com/systemd/systemd synced 2026-04-10 09:04:50 +02:00

Compare commits

..

No commits in common. "ea7c87bfd965ddb73d3beb56320cacc2e509efca" and "c73f413d8db7dafb39478238d7320d5b25733317" have entirely different histories.

3 changed files with 50 additions and 33 deletions

View File

@ -456,14 +456,24 @@
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><varname>EgressQOSMaps=</varname></term> <term><varname>EgressQOSMaps=</varname></term>
<listitem>
<para>Defines a mapping of Linux internal packet priority (<constant>SO_PRIORITY</constant>) to VLAN header
PCP field for outgoing frames. Takes a whitespace-separated list of unsigned integer pairs in the format
<literal>from</literal>-<literal>to</literal>, e.g., <literal>21-7 45-5</literal> ranges 14294967294.
Note that <literal>from</literal> must be greater than or equal to <literal>to</literal>. When unset,
the kernel's default will be used.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>IngressQOSMaps=</varname></term> <term><varname>IngressQOSMaps=</varname></term>
<listitem> <listitem>
<para>Defines a mapping of Linux internal packet priority (<constant>SO_PRIORITY</constant>) <para>Defines a mapping of Linux internal packet priority (<constant>SO_PRIORITY</constant>) to VLAN header
to VLAN header PCP field for outgoing and incoming frames, respectively. Takes a PCP field for incoming frames. Takes a whitespace-separated list of unsigned integer pairs in the format
whitespace-separated list of integer pairs, where each integer must be in the range <literal>from</literal>-<literal>to</literal>, e.g., <literal>21-7 45-5</literal> ranges 14294967294.
1…4294967294, in the format <literal>from</literal>-<literal>to</literal>, e.g., Note that <literal>from</literal> must be greater than or equal to <literal>to</literal>. When unset,
<literal>21-7 45-5</literal>. Note that <literal>from</literal> must be greater than or equal the kernel's default will be used.
to <literal>to</literal>. When unset, the kernel's default will be used.</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
</variablelist> </variablelist>
@ -1220,7 +1230,7 @@
value of zero means that a packet carrying that option may not enter value of zero means that a packet carrying that option may not enter
another tunnel before exiting the current tunnel. another tunnel before exiting the current tunnel.
(see <ulink url="https://tools.ietf.org/html/rfc2473#section-4.1.1"> RFC 2473</ulink>). (see <ulink url="https://tools.ietf.org/html/rfc2473#section-4.1.1"> RFC 2473</ulink>).
The valid range is 0255 and <literal>none</literal>. Defaults to 4. The valid range is 0255 and <literal>none</literal>. Defaults to 4.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -1759,7 +1769,7 @@
<listitem> <listitem>
<para>Specifies the delay before a link is enabled after a <para>Specifies the delay before a link is enabled after a
link up status has been detected. This value is rounded down link up status has been detected. This value is rounded down
to a multiple of <varname>MIIMonitorSec=</varname>. The default value is to a multiple of MIIMonitorSec. The default value is
0.</para> 0.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -1769,7 +1779,7 @@
<listitem> <listitem>
<para>Specifies the delay before a link is disabled after a <para>Specifies the delay before a link is disabled after a
link down status has been detected. This value is rounded link down status has been detected. This value is rounded
down to a multiple of <varname>MIIMonitorSec=</varname>. The default value is down to a multiple of MIIMonitorSec. The default value is
0.</para> 0.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -1779,7 +1789,7 @@
<listitem> <listitem>
<para>Specifies the number of seconds between instances where the bonding <para>Specifies the number of seconds between instances where the bonding
driver sends learning packets to each slave peer switch. driver sends learning packets to each slave peer switch.
The valid range is 10x7fffffff; the default value is 1. This option The valid range is 10x7fffffff; the default value is 1. This option
has an effect only for the balance-tlb and balance-alb modes.</para> has an effect only for the balance-tlb and balance-alb modes.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -1860,8 +1870,8 @@
<term><varname>ARPIPTargets=</varname></term> <term><varname>ARPIPTargets=</varname></term>
<listitem> <listitem>
<para>Specifies the IP addresses to use as ARP monitoring peers when <para>Specifies the IP addresses to use as ARP monitoring peers when
<varname>ARPIntervalSec=</varname> is greater than 0. These are the targets of the ARP ARPIntervalSec is greater than 0. These are the targets of the ARP request
request sent to determine the health of the link to the targets. sent to determine the health of the link to the targets.
Specify these values in IPv4 dotted decimal format. At least one IP Specify these values in IPv4 dotted decimal format. At least one IP
address must be given for ARP monitoring to function. The address must be given for ARP monitoring to function. The
maximum number of targets that can be specified is 16. The maximum number of targets that can be specified is 16. The
@ -1873,7 +1883,7 @@
<varlistentry> <varlistentry>
<term><varname>ARPAllTargets=</varname></term> <term><varname>ARPAllTargets=</varname></term>
<listitem> <listitem>
<para>Specifies the quantity of <varname>ARPIPTargets=</varname> that must be reachable <para>Specifies the quantity of ARPIPTargets that must be reachable
in order for the ARP monitor to consider a slave as being up. in order for the ARP monitor to consider a slave as being up.
This option affects only active-backup mode for slaves with This option affects only active-backup mode for slaves with
ARPValidate enabled. Possible values are ARPValidate enabled. Possible values are
@ -1904,7 +1914,7 @@
<para>Specifies the number of IGMP membership reports to be issued after <para>Specifies the number of IGMP membership reports to be issued after
a failover event. One membership report is issued immediately after a failover event. One membership report is issued immediately after
the failover, subsequent packets are sent in each 200ms interval. the failover, subsequent packets are sent in each 200ms interval.
The valid range is 0255. Defaults to 1. A value of 0 The valid range is 0255. Defaults to 1. A value of 0
prevents the IGMP membership report from being issued in response prevents the IGMP membership report from being issued in response
to the failover event. to the failover event.
</para> </para>
@ -1916,7 +1926,7 @@
<listitem> <listitem>
<para>Specify the number of packets to transmit through a slave before <para>Specify the number of packets to transmit through a slave before
moving to the next one. When set to 0, then a slave is chosen at moving to the next one. When set to 0, then a slave is chosen at
random. The valid range is 065535. Defaults to 1. This option random. The valid range is 065535. Defaults to 1. This option
only has effect when in balance-rr mode. only has effect when in balance-rr mode.
</para> </para>
</listitem> </listitem>
@ -1931,7 +1941,7 @@
a peer notification is sent on the bonding device and each a peer notification is sent on the bonding device and each
VLAN sub-device. This is repeated at each link monitor interval VLAN sub-device. This is repeated at each link monitor interval
(ARPIntervalSec or MIIMonitorSec, whichever is active) if the number is (ARPIntervalSec or MIIMonitorSec, whichever is active) if the number is
greater than 1. The valid range is 0255. The default value is 1. greater than 1. The valid range is 0255. The default value is 1.
These options affect only the active-backup mode. These options affect only the active-backup mode.
</para> </para>
</listitem> </listitem>

View File

@ -518,14 +518,18 @@ Table=1234</programlisting></para>
<varlistentry> <varlistentry>
<term><varname>DNSOverTLS=</varname></term> <term><varname>DNSOverTLS=</varname></term>
<listitem> <listitem>
<para>Takes a boolean or <literal>opportunistic</literal>. When true, enables <para>Takes a boolean or <literal>opportunistic</literal>.
<ulink url="https://tools.ietf.org/html/rfc7858">DNS-over-TLS</ulink> support on the link. When true, enables
When set to <literal>opportunistic</literal>, compatibility with non-DNS-over-TLS servers <ulink
is increased, by automatically turning off DNS-over-TLS servers in this case. This option url="https://tools.ietf.org/html/rfc7858">DNS-over-TLS</ulink>
defines a per-interface setting for support on the link.
When set to <literal>opportunistic</literal>, compatibility with
non-DNS-over-TLS servers is increased, by automatically
turning off DNS-over-TLS servers in this case.
This option defines a per-interface setting for
<citerefentry><refentrytitle>resolved.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>'s <citerefentry><refentrytitle>resolved.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>'s
global <varname>DNSOverTLS=</varname> option. Defaults to unset, and the global setting global <varname>DNSOverTLS=</varname> option. Defaults to
will be used. This setting is read by false. This setting is read by
<citerefentry><refentrytitle>systemd-resolved.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para> <citerefentry><refentrytitle>systemd-resolved.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -533,15 +537,16 @@ Table=1234</programlisting></para>
<term><varname>DNSSEC=</varname></term> <term><varname>DNSSEC=</varname></term>
<listitem> <listitem>
<para>Takes a boolean or <literal>allow-downgrade</literal>. When true, enables <para>Takes a boolean or <literal>allow-downgrade</literal>. When true, enables
<ulink url="https://tools.ietf.org/html/rfc4033">DNSSEC</ulink> DNS validation support on <ulink url="https://tools.ietf.org/html/rfc4033">DNSSEC</ulink>
the link. When set to <literal>allow-downgrade</literal>, compatibility with non-DNSSEC DNS validation support on the link. When set to
capable networks is increased, by automatically turning off DNSSEC in this case. This <literal>allow-downgrade</literal>, compatibility with
option defines a per-interface setting for non-DNSSEC capable networks is increased, by automatically
turning off DNSSEC in this case. This option defines a
per-interface setting for
<citerefentry><refentrytitle>resolved.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>'s <citerefentry><refentrytitle>resolved.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>'s
global <varname>DNSSEC=</varname> option. Defaults to unset, and the global setting will be global <varname>DNSSEC=</varname> option. Defaults to
used. This setting is read by false. This setting is read by
<citerefentry><refentrytitle>systemd-resolved.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>. <citerefentry><refentrytitle>systemd-resolved.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>

View File

@ -1526,7 +1526,8 @@ conf.set_quoted('DEFAULT_LLMNR_MODE_STR', default_llmnr)
want_repart = get_option('repart') want_repart = get_option('repart')
if want_repart != 'false' if want_repart != 'false'
have = conf.get('HAVE_LIBFDISK') == 1 have = (conf.get('HAVE_OPENSSL') == 1 and
conf.get('HAVE_LIBFDISK') == 1)
if want_repart == 'true' and not have if want_repart == 'true' and not have
error('repart support was requested, but dependencies are not available') error('repart support was requested, but dependencies are not available')
endif endif
@ -2930,7 +2931,8 @@ if conf.get('ENABLE_REPART') == 1
link_with : [libshared], link_with : [libshared],
dependencies : [threads, dependencies : [threads,
libblkid, libblkid,
libfdisk], libfdisk,
libopenssl],
install_rpath : rootlibexecdir, install_rpath : rootlibexecdir,
install : true, install : true,
install_dir : rootbindir) install_dir : rootbindir)