1
0
mirror of https://github.com/systemd/systemd synced 2026-04-26 08:54:50 +02:00

Compare commits

..

No commits in common. "b626f6959bcee11d966f96bd29a00502f4aa2ce4" and "3ca0b105eb93b5dde61c48dbc8fdeb58dc2e6fa6" have entirely different histories.

3 changed files with 1 additions and 24 deletions

View File

@ -171,18 +171,6 @@
initrd.</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>roothash=</varname></term>
<term><varname>usrhash=</varname></term>
<listitem><para>These options are primarily read by
<citerefentry><refentrytitle>systemd-veritysetup-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>. When
set this indicates that the root file system (or <filename>/usr/</filename>) shall be mounted from
Verity volumes with the specified hashes. If these kernel command line options are set the root (or
<filename>/usr/</filename>) file system is thus mounted from a device mapper volume
<filename>/dev/mapper/root</filename> (or <filename>/dev/mapper/usr</filename>).</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>systemd.volatile=</varname></term>

View File

@ -3218,7 +3218,6 @@ static int inner_child(
NULL, /* LISTEN_PID */
NULL, /* NOTIFY_SOCKET */
NULL, /* CREDENTIALS_DIRECTORY */
NULL, /* LANG */
NULL
};
const char *exec_target;
@ -3487,16 +3486,6 @@ static int inner_child(
n_env++;
}
if (arg_start_mode != START_BOOT) {
/* If we're running a command in the container, let's default to the C.UTF-8 locale as it's
* part of glibc these days and was backported to most distros a long time before it got
* added to upstream glibc. */
envp[n_env] = strdup("LANG=C.UTF-8");
if (!envp[n_env])
return log_oom();
n_env++;
}
env_use = strv_env_merge(envp, os_release_pairs, arg_setenv);
if (!env_use)
return log_oom();

View File

@ -2799,7 +2799,7 @@ static int normalize_linked_files(
* but operates on real unit names. For each argument we we look up the actual path
* where the unit is found. This way linked units can be re-enabled successfully. */
_cleanup_strv_free_ char **files = NULL, **names = NULL;
_cleanup_free_ char **files = NULL, **names = NULL;
int r;
STRV_FOREACH(a, names_or_paths) {