Compare commits
No commits in common. "7d7c75f1491350cedaed40358fe8c834705706f0" and "77419ba463999a25922146ac424348adc2fe23af" have entirely different histories.
7d7c75f149
...
77419ba463
12
TODO
12
TODO
|
@ -20,18 +20,6 @@ Janitorial Clean-ups:
|
||||||
|
|
||||||
Features:
|
Features:
|
||||||
|
|
||||||
* cryptsetup: optionally, when run during boot-up and password is never
|
|
||||||
entered, and we are on AC power (or so), power off machine again
|
|
||||||
|
|
||||||
* when configuring loopback netif, and it fails due to EPERM, eat up error if
|
|
||||||
it happens to be set up alright already.
|
|
||||||
|
|
||||||
* at boot: check if battery above some threshold, if not power off again after explanation
|
|
||||||
|
|
||||||
* userdb: add field for ambient caps, so that a user can have CAP_WAKE_ALARM
|
|
||||||
for example. And add code that resets ambient caps for all services by
|
|
||||||
default.
|
|
||||||
|
|
||||||
* homed: try to unmount in regular intervals when home dir was busy when we
|
* homed: try to unmount in regular intervals when home dir was busy when we
|
||||||
tried because idle.
|
tried because idle.
|
||||||
|
|
||||||
|
|
|
@ -199,7 +199,7 @@
|
||||||
domains (TLDs) that are not known by the DNS root server. This
|
domains (TLDs) that are not known by the DNS root server. This
|
||||||
logic does not work in all private zone setups.</para>
|
logic does not work in all private zone setups.</para>
|
||||||
|
|
||||||
<para>Defaults to <literal>allow-downgrade</literal>.</para>
|
<para>Defaults to <literal>allow-downgrade</literal></para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
|
|
@ -2086,11 +2086,9 @@ IPv6Token=prefixstable:2002:da8:1::</programlisting></para>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><varname>DHCPv6Client=</varname></term>
|
<term><varname>DHCPv6Client=</varname></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Takes a boolean, or the special value <literal>always</literal>. When true or
|
<para>Takes a boolean, or the special value <literal>always</literal>. When true (the default), the DHCPv6 client will be started when the
|
||||||
<literal>always</literal>, the DHCPv6 client will be started when the RA has the managed or
|
RA has the managed or other information flag. If set to <literal>always</literal>, the DHCPv6 client will be started even if there is no
|
||||||
other information flag. If set to <literal>always</literal>, the DHCPv6 client will also be
|
managed or other information flag in the RA.</para>
|
||||||
started in managed mode when neither managed nor other information flag is set in the RA.
|
|
||||||
Defaults to true.</para>
|
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
|
|
|
@ -1743,7 +1743,8 @@ int sd_dhcp6_client_start(sd_dhcp6_client *client) {
|
||||||
}
|
}
|
||||||
|
|
||||||
log_dhcp6_client(client, "Started in %s mode",
|
log_dhcp6_client(client, "Started in %s mode",
|
||||||
client->information_request ? "Information request" : "Managed");
|
client->information_request? "Information request":
|
||||||
|
"Managed");
|
||||||
|
|
||||||
return client_start(client, state);
|
return client_start(client, state);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1163,17 +1163,13 @@ static int ndisc_router_handler(Link *link, sd_ndisc_router *rt) {
|
||||||
if (r < 0)
|
if (r < 0)
|
||||||
return log_link_error_errno(link, r, "Failed to get RA flags: %m");
|
return log_link_error_errno(link, r, "Failed to get RA flags: %m");
|
||||||
|
|
||||||
if ((flags & (ND_RA_FLAG_MANAGED | ND_RA_FLAG_OTHER) &&
|
if ((flags & (ND_RA_FLAG_MANAGED | ND_RA_FLAG_OTHER) && link->network->ipv6_accept_ra_start_dhcp6_client)) {
|
||||||
link->network->ipv6_accept_ra_start_dhcp6_client != IPV6_ACCEPT_RA_START_DHCP6_CLIENT_NO) ||
|
|
||||||
link->network->ipv6_accept_ra_start_dhcp6_client == IPV6_ACCEPT_RA_START_DHCP6_CLIENT_ALWAYS) {
|
|
||||||
|
|
||||||
if (flags & (ND_RA_FLAG_MANAGED | ND_RA_FLAG_OTHER))
|
if (link->network->ipv6_accept_ra_start_dhcp6_client == IPV6_ACCEPT_RA_START_DHCP6_CLIENT_ALWAYS)
|
||||||
|
r = dhcp6_request_address(link, false);
|
||||||
|
else
|
||||||
/* (re)start DHCPv6 client in stateful or stateless mode according to RA flags */
|
/* (re)start DHCPv6 client in stateful or stateless mode according to RA flags */
|
||||||
r = dhcp6_request_address(link, !(flags & ND_RA_FLAG_MANAGED));
|
r = dhcp6_request_address(link, !(flags & ND_RA_FLAG_MANAGED));
|
||||||
else
|
|
||||||
/* When IPv6AcceptRA.DHCPv6Client=always, start dhcp6 client in managed mode
|
|
||||||
* even if router does not have M or O flag. */
|
|
||||||
r = dhcp6_request_address(link, false);
|
|
||||||
if (r < 0 && r != -EBUSY)
|
if (r < 0 && r != -EBUSY)
|
||||||
return log_link_error_errno(link, r, "Could not acquire DHCPv6 lease on NDisc request: %m");
|
return log_link_error_errno(link, r, "Could not acquire DHCPv6 lease on NDisc request: %m");
|
||||||
else
|
else
|
||||||
|
|
|
@ -68,8 +68,7 @@ endif
|
||||||
|
|
||||||
foreach header : _systemd_headers + _not_installed_headers + ['../libudev/libudev.h']
|
foreach header : _systemd_headers + _not_installed_headers + ['../libudev/libudev.h']
|
||||||
foreach opt : opts
|
foreach opt : opts
|
||||||
std_name = opt.length() == 2 ? '_'.join(opt[1].split(':')) : ''
|
name = ''.join(['cc-', header.split('/')[-1], '_'] + opt)
|
||||||
name = ''.join(['cc-', header.split('/')[-1], '_', opt[0], std_name])
|
|
||||||
if want_tests != 'false'
|
if want_tests != 'false'
|
||||||
test(name,
|
test(name,
|
||||||
check_compilation_sh,
|
check_compilation_sh,
|
||||||
|
|
Loading…
Reference in New Issue