Compare commits

...

5 Commits

Author SHA1 Message Date
ignapk 8db8f99eb9 man: add note regarding editing user groups
Currently the manual doesn't clearly say whether `homectl update username -G group` will append the group to the user, or overwrite the list and remove user from the groups that aren't specified.

Fix this by updating the manual, basing the change on the usermod manual.
2020-06-22 13:18:26 +02:00
Yu Watanabe c4e585a36b network: add missing break
Follow-up for 2a71d57f4e.
2020-06-22 12:50:46 +02:00
Lennart Poettering 1e42c269cb
Merge pull request #16239 from keszybz/cleanups
Two minor tweaks
2020-06-22 12:48:49 +02:00
Zbigniew Jędrzejewski-Szmek c73624a553 man: do not say that systemd-modules-load.service only uses static config
Inspired by https://github.com/systemd/zram-generator/issues/26#issuecomment-644097273.
2020-06-15 16:28:41 +02:00
Zbigniew Jędrzejewski-Szmek d5da196319 journal: simplify vsnprintf() ret value check
Follow-up for dfa64b64a7.
2020-06-10 11:24:57 +02:00
3 changed files with 10 additions and 8 deletions

View File

@ -268,7 +268,8 @@
independently, for example with <citerefentry independently, for example with <citerefentry
project='man-pages'><refentrytitle>groupadd</refentrytitle><manvolnum>8</manvolnum></citerefentry>. If project='man-pages'><refentrytitle>groupadd</refentrytitle><manvolnum>8</manvolnum></citerefentry>. If
non-existent groups that are listed there are ignored. This option may be used more than once, in non-existent groups that are listed there are ignored. This option may be used more than once, in
which case all specified group lists are combined.</para></listitem> which case all specified group lists are combined. If the user is currently a member of a group
which is not listed, the user will be removed from the group.</para></listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>

View File

@ -29,14 +29,15 @@
<refsect1> <refsect1>
<title>Description</title> <title>Description</title>
<para><filename>systemd-modules-load.service</filename> is an <para><filename>systemd-modules-load.service</filename> is an early boot service that loads kernel
early boot service that loads kernel modules based on static modules. It reads static configuration from files in <filename>/usr</filename> and
configuration.</para> <filename>/etc</filename>, but also runtime configuration from <filename>/run</filename> and the kernel
command line (see below).</para>
<para>See <para>See
<citerefentry><refentrytitle>modules-load.d</refentrytitle><manvolnum>5</manvolnum></citerefentry> <citerefentry><refentrytitle>modules-load.d</refentrytitle><manvolnum>5</manvolnum></citerefentry> for
for information about the configuration of this service.</para> information about the configuration format of this service and paths where configuration files can be
created.</para>
</refsect1> </refsect1>
<refsect1> <refsect1>

View File

@ -116,7 +116,7 @@ static int link_push_uplink_to_dhcp_server(
case SD_DHCP_LEASE_LPR: case SD_DHCP_LEASE_LPR:
/* For the other server types we currently do not allow local configuration of server data, /* For the other server types we currently do not allow local configuration of server data,
* since there are typically no local consumers of the data. */ * since there are typically no local consumers of the data. */
; break;
default: default:
assert_not_reached("Unexpected server type"); assert_not_reached("Unexpected server type");