mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 02:03:37 +08:00
Merge pull request #31777 from keszybz/unit-retitling-and-comments
Unit retitling and comments
This commit is contained in:
commit
c78e86ab8d
@ -3329,8 +3329,8 @@ static int context_dump(Context *context, bool late) {
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
/* Make sure we only write the partition bar once, even if we're writing the partition table twice to
|
||||
* communicate roothashes. */
|
||||
/* Only write the partition bar once, even if we're writing the partition table twice to communicate
|
||||
* roothashes. */
|
||||
if (FLAGS_SET(arg_json_format_flags, JSON_FORMAT_OFF) && !late) {
|
||||
putc('\n', stdout);
|
||||
|
||||
@ -4239,7 +4239,7 @@ static int partition_format_verity_hash(
|
||||
if (PARTITION_EXISTS(p)) /* Never format existing partitions */
|
||||
return 0;
|
||||
|
||||
/* Minimized partitions will use the copy blocks logic so let's make sure to skip those here. */
|
||||
/* Minimized partitions will use the copy blocks logic so skip those here. */
|
||||
if (p->copy_blocks_fd >= 0)
|
||||
return 0;
|
||||
|
||||
@ -4986,7 +4986,7 @@ static int context_mkfs(Context *context) {
|
||||
if (!p->format)
|
||||
continue;
|
||||
|
||||
/* Minimized partitions will use the copy blocks logic so let's make sure to skip those here. */
|
||||
/* Minimized partitions will use the copy blocks logic so skip those here. */
|
||||
if (p->copy_blocks_fd >= 0)
|
||||
continue;
|
||||
|
||||
@ -4997,7 +4997,7 @@ static int context_mkfs(Context *context) {
|
||||
assert(p->new_size != UINT64_MAX);
|
||||
assert(p->new_size >= (p->encrypt != ENCRYPT_OFF ? LUKS2_METADATA_KEEP_FREE : 0));
|
||||
|
||||
/* If we're doing encryption, we make sure we keep free space at the end which is required
|
||||
/* If we're doing encryption, keep free space at the end which is required
|
||||
* for cryptsetup's offline encryption. */
|
||||
r = partition_target_prepare(context, p,
|
||||
p->new_size - (p->encrypt != ENCRYPT_OFF ? LUKS2_METADATA_KEEP_FREE : 0),
|
||||
@ -5046,8 +5046,8 @@ static int context_mkfs(Context *context) {
|
||||
return r;
|
||||
|
||||
/* The mkfs binary we invoked might have removed our temporary file when we're not operating
|
||||
* on a loop device, so let's make sure we open the file again to make sure our file
|
||||
* descriptor points to any potential new file. */
|
||||
* on a loop device, so open the file again to make sure our file descriptor points to actual
|
||||
* new file. */
|
||||
|
||||
if (t->fd >= 0 && t->path && !t->loop) {
|
||||
safe_close(t->fd);
|
||||
|
@ -8,7 +8,7 @@
|
||||
# (at your option) any later version.
|
||||
|
||||
[Unit]
|
||||
Description=Boot Control (Varlink)
|
||||
Description=Boot Entries Service Socket
|
||||
Documentation=man:bootctl(1)
|
||||
DefaultDependencies=no
|
||||
After=local-fs.target
|
||||
|
@ -8,7 +8,7 @@
|
||||
# (at your option) any later version.
|
||||
|
||||
[Unit]
|
||||
Description=Boot Control (Varlink)
|
||||
Description=Boot Entries Service
|
||||
Documentation=man:bootctl(1)
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
|
@ -8,7 +8,7 @@
|
||||
# (at your option) any later version.
|
||||
|
||||
[Unit]
|
||||
Description=Credential Encryption/Decryption (Varlink)
|
||||
Description=Credential Encryption/Decryption
|
||||
Documentation=man:systemd-creds(1)
|
||||
DefaultDependencies=no
|
||||
Before=sockets.target
|
||||
|
@ -8,7 +8,7 @@
|
||||
# (at your option) any later version.
|
||||
|
||||
[Unit]
|
||||
Description=Credential Encryption/Decryption (Varlink)
|
||||
Description=Credential Encryption/Decryption
|
||||
Documentation=man:systemd-creds(1)
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target initrd-switch-root.target
|
||||
|
@ -8,7 +8,7 @@
|
||||
# (at your option) any later version.
|
||||
|
||||
[Unit]
|
||||
Description=Hostname Service Varlink Socket
|
||||
Description=Hostname Service Socket
|
||||
Documentation=man:systemd-hostnamed.service(8)
|
||||
Documentation=man:hostname(5)
|
||||
Documentation=man:machine-info(5)
|
||||
|
@ -8,7 +8,7 @@
|
||||
# (at your option) any later version.
|
||||
|
||||
[Unit]
|
||||
Description=Journal Socket
|
||||
Description=Journal Sockets
|
||||
Documentation=man:systemd-journald.service(8) man:journald.conf(5)
|
||||
DefaultDependencies=no
|
||||
Before=sockets.target
|
||||
|
@ -8,7 +8,7 @@
|
||||
# (at your option) any later version.
|
||||
|
||||
[Unit]
|
||||
Description=Journal Socket for Namespace %i
|
||||
Description=Journal Sockets for Namespace %i
|
||||
Documentation=man:systemd-journald.service(8) man:journald.conf(5)
|
||||
StopWhenUnneeded=yes
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
# (at your option) any later version.
|
||||
|
||||
[Unit]
|
||||
Description=Commit a transient machine-id on disk
|
||||
Description=Save Transient machine-id to Disk
|
||||
Documentation=man:systemd-machine-id-commit.service(8)
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
|
@ -8,7 +8,7 @@
|
||||
# (at your option) any later version.
|
||||
|
||||
[Unit]
|
||||
Description=TPM2 PCR Extension (Varlink)
|
||||
Description=TPM PCR Measurements
|
||||
Documentation=man:systemd-pcrextend(8)
|
||||
DefaultDependencies=no
|
||||
After=tpm2.target
|
||||
|
@ -8,7 +8,7 @@
|
||||
# (at your option) any later version.
|
||||
|
||||
[Unit]
|
||||
Description=TPM2 PCR Extension (Varlink)
|
||||
Description=TPM PCR Measurements
|
||||
Documentation=man:systemd-pcrphase.service(8)
|
||||
DefaultDependencies=no
|
||||
After=tpm2.target
|
||||
|
@ -8,7 +8,7 @@
|
||||
# (at your option) any later version.
|
||||
|
||||
[Unit]
|
||||
Description=TPM2 PCR Root File System Measurement
|
||||
Description=TPM PCR Root File System Measurement
|
||||
Documentation=man:systemd-pcrfs-root.service(8)
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
|
@ -8,7 +8,7 @@
|
||||
# (at your option) any later version.
|
||||
|
||||
[Unit]
|
||||
Description=TPM2 PCR File System Measurement of %f
|
||||
Description=TPM PCR File System Measurement of %f
|
||||
Documentation=man:systemd-pcrfs@.service(8)
|
||||
DefaultDependencies=no
|
||||
BindsTo=%i.mount
|
||||
|
@ -8,7 +8,7 @@
|
||||
# (at your option) any later version.
|
||||
|
||||
[Unit]
|
||||
Description=Lock File Systems to TPM2 PCR Policy
|
||||
Description=Lock File Systems to TPM PCR Policy
|
||||
Documentation=man:systemd-pcrlock(8)
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
|
@ -8,7 +8,7 @@
|
||||
# (at your option) any later version.
|
||||
|
||||
[Unit]
|
||||
Description=Lock Firmware Code to TPM2 PCR Policy
|
||||
Description=Lock Firmware Code to TPM PCR Policy
|
||||
Documentation=man:systemd-pcrlock(8)
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
|
@ -8,7 +8,7 @@
|
||||
# (at your option) any later version.
|
||||
|
||||
[Unit]
|
||||
Description=Lock Firmware Configuration to TPM2 PCR Policy
|
||||
Description=Lock Firmware Configuration to TPM PCR Policy
|
||||
Documentation=man:systemd-pcrlock(8)
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
|
@ -8,7 +8,7 @@
|
||||
# (at your option) any later version.
|
||||
|
||||
[Unit]
|
||||
Description=Lock Machine ID to TPM2 PCR Policy
|
||||
Description=Lock Machine ID to TPM PCR Policy
|
||||
Documentation=man:systemd-pcrlock(8)
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
|
@ -8,7 +8,7 @@
|
||||
# (at your option) any later version.
|
||||
|
||||
[Unit]
|
||||
Description=Make TPM2 PCR Policy
|
||||
Description=Make TPM PCR Policy
|
||||
Documentation=man:systemd-pcrlock(8)
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
|
@ -8,7 +8,7 @@
|
||||
# (at your option) any later version.
|
||||
|
||||
[Unit]
|
||||
Description=Lock UEFI SecureBoot Authority to TPM2 PCR Policy
|
||||
Description=Lock UEFI SecureBoot Authority to TPM PCR Policy
|
||||
Documentation=man:systemd-pcrlock(8)
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
|
@ -8,7 +8,7 @@
|
||||
# (at your option) any later version.
|
||||
|
||||
[Unit]
|
||||
Description=Lock UEFI SecureBoot Policy to TPM2 PCR Policy
|
||||
Description=Lock UEFI SecureBoot Policy to TPM PCR Policy
|
||||
Documentation=man:systemd-pcrlock(8)
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
|
@ -8,7 +8,7 @@
|
||||
# (at your option) any later version.
|
||||
|
||||
[Unit]
|
||||
Description=Make TPM2 PCR Policy (Varlink)
|
||||
Description=Make TPM PCR Policy
|
||||
Documentation=man:systemd-pcrlock(8)
|
||||
DefaultDependencies=no
|
||||
After=tpm2.target
|
||||
|
@ -8,7 +8,7 @@
|
||||
# (at your option) any later version.
|
||||
|
||||
[Unit]
|
||||
Description=Make TPM2 PCR Policy (Varlink)
|
||||
Description=Make TPM PCR Policy
|
||||
Documentation=man:systemd-pcrlock(8)
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
|
@ -8,7 +8,7 @@
|
||||
# (at your option) any later version.
|
||||
|
||||
[Unit]
|
||||
Description=TPM2 PCR Machine ID Measurement
|
||||
Description=TPM PCR Machine ID Measurement
|
||||
Documentation=man:systemd-pcrmachine.service(8)
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
|
@ -8,7 +8,7 @@
|
||||
# (at your option) any later version.
|
||||
|
||||
[Unit]
|
||||
Description=TPM2 PCR Barrier (initrd)
|
||||
Description=TPM PCR Barrier (initrd)
|
||||
Documentation=man:systemd-pcrphase-initrd.service(8)
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target initrd-switch-root.target
|
||||
|
@ -8,7 +8,7 @@
|
||||
# (at your option) any later version.
|
||||
|
||||
[Unit]
|
||||
Description=TPM2 PCR Barrier (Initialization)
|
||||
Description=TPM PCR Barrier (Initialization)
|
||||
Documentation=man:systemd-pcrphase-sysinit.service(8)
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
|
@ -8,7 +8,7 @@
|
||||
# (at your option) any later version.
|
||||
|
||||
[Unit]
|
||||
Description=TPM2 PCR Barrier (User)
|
||||
Description=TPM PCR Barrier (User)
|
||||
Documentation=man:systemd-pcrphase.service(8)
|
||||
After=remote-fs.target remote-cryptsetup.target tpm2.target
|
||||
Before=systemd-user-sessions.service
|
||||
|
@ -8,7 +8,7 @@
|
||||
# (at your option) any later version.
|
||||
|
||||
[Unit]
|
||||
Description=System Extension Image Management (Varlink)
|
||||
Description=System Extension Image Management
|
||||
Documentation=man:systemd-sysext(8)
|
||||
DefaultDependencies=no
|
||||
After=local-fs.target
|
||||
|
@ -8,7 +8,7 @@
|
||||
# (at your option) any later version.
|
||||
|
||||
[Unit]
|
||||
Description=System Extension Image Management (Varlink)
|
||||
Description=System Extension Image Management
|
||||
Documentation=man:systemd-sysext(8)
|
||||
DefaultDependencies=no
|
||||
After=local-fs.target
|
||||
|
@ -8,7 +8,7 @@
|
||||
# (at your option) any later version.
|
||||
|
||||
[Unit]
|
||||
Description=TPM2 SRK Setup (Early)
|
||||
Description=Early TPM SRK Setup
|
||||
Documentation=man:systemd-tpm2-setup.service(8)
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
|
@ -8,7 +8,7 @@
|
||||
# (at your option) any later version.
|
||||
|
||||
[Unit]
|
||||
Description=TPM2 SRK Setup
|
||||
Description=TPM SRK Setup
|
||||
Documentation=man:systemd-tpm2-setup.service(8)
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
|
Loading…
Reference in New Issue
Block a user