Compare commits
22 Commits
d7f371cd0b
...
8be3bce6f9
Author | SHA1 | Date |
---|---|---|
anonymix007 | 8be3bce6f9 | |
Anselm Schueler | 73f4882ef3 | |
Zbigniew Jędrzejewski-Szmek | 9a10d7eae5 | |
anonymix007 | 03461a0e20 | |
anonymix007 | cb1f8c92c8 | |
anonymix007 | 607e1c31ea | |
anonymix007 | ee684e0e24 | |
Luca Boccassi | bb5936f7f3 | |
Yu Watanabe | 869fe6c9e4 | |
Luca Boccassi | 9a032ec55a | |
Oğuz Ersen | 100ceecc6c | |
Luna Jernberg | af76e987e8 | |
Sergey A | d73735fbe1 | |
Piotr Drąg | 01aafdf637 | |
Andika Triwidada | 67c1f6bf04 | |
Léane GRASSER | b0cb4c70a9 | |
Temuri Doghonadze | e75d25ac1e | |
김인수 | d9b96bf093 | |
Antonio Alvarez Feijoo | 215292d09e | |
Yu Watanabe | fed7857672 | |
Lennart Poettering | c8d45ebfd6 | |
Lennart Poettering | acc8bae0b3 |
|
@ -18,7 +18,7 @@ body:
|
||||||
If a distro build is used, please just paste the package version, e.g. `systemd-254.7-1.fc39.x86_64`.
|
If a distro build is used, please just paste the package version, e.g. `systemd-254.7-1.fc39.x86_64`.
|
||||||
See https://github.com/systemd/systemd-stable/tags for the list of most recent releases.
|
See https://github.com/systemd/systemd-stable/tags for the list of most recent releases.
|
||||||
For older version please use distribution trackers (see https://systemd.io/CONTRIBUTING#filing-issues).
|
For older version please use distribution trackers (see https://systemd.io/CONTRIBUTING#filing-issues).
|
||||||
placeholder: '255'
|
placeholder: '256.x'
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
|
|
|
@ -121,6 +121,6 @@ body:
|
||||||
attributes:
|
attributes:
|
||||||
label: The systemd version you checked that didn't have the feature you are asking for
|
label: The systemd version you checked that didn't have the feature you are asking for
|
||||||
description: If this is not the most recently released upstream version, then please check first if it has that feature already.
|
description: If this is not the most recently released upstream version, then please check first if it has that feature already.
|
||||||
placeholder: '255'
|
placeholder: '256.x'
|
||||||
validations:
|
validations:
|
||||||
required: false
|
required: false
|
||||||
|
|
174
NEWS
174
NEWS
|
@ -188,7 +188,7 @@ CHANGES WITH 257 in spe:
|
||||||
* The systemd.machine_id= kernel command line parameter interpreted by
|
* The systemd.machine_id= kernel command line parameter interpreted by
|
||||||
PID 1 now supports an additional special value: if set to "firmware"
|
PID 1 now supports an additional special value: if set to "firmware"
|
||||||
the machine ID is initialized from the SMBIOS/DeviceTree system
|
the machine ID is initialized from the SMBIOS/DeviceTree system
|
||||||
UUID. (Previously this was already done autmatically in VM
|
UUID. (Previously this was already done automatically in VM
|
||||||
environments, this extends the concept to any system, but only on
|
environments, this extends the concept to any system, but only on
|
||||||
explicit request via this option.)
|
explicit request via this option.)
|
||||||
|
|
||||||
|
@ -294,8 +294,8 @@ CHANGES WITH 257 in spe:
|
||||||
|
|
||||||
systemd-logind:
|
systemd-logind:
|
||||||
|
|
||||||
* New DesignatedMaintenanceTime= configuration option allows
|
* New DesignatedMaintenanceTime= configuration option allows shutdowns
|
||||||
shutdowns to be automatically scheduled at the specified time.
|
to be automatically scheduled at the specified time.
|
||||||
|
|
||||||
* logind now reacts to Ctrl-Alt-Shift-Esc being pressed. It will send
|
* logind now reacts to Ctrl-Alt-Shift-Esc being pressed. It will send
|
||||||
out a org.freedesktop.login1.SecureAttentionKey signal, indicating a
|
out a org.freedesktop.login1.SecureAttentionKey signal, indicating a
|
||||||
|
@ -309,8 +309,8 @@ CHANGES WITH 257 in spe:
|
||||||
session switches away.
|
session switches away.
|
||||||
|
|
||||||
* systemd-logind now exposes two D-Bus properties CanLock and CanIdle
|
* systemd-logind now exposes two D-Bus properties CanLock and CanIdle
|
||||||
for all sessions that indicate whether the session's class supports
|
for all sessions. These properties indicate whether the session's
|
||||||
screen locking and idle detection.
|
class supports screen locking and idleness detection.
|
||||||
|
|
||||||
* systemd-inhibit now allows interactive polkit authorization. It
|
* systemd-inhibit now allows interactive polkit authorization. It
|
||||||
gained a --no-ask-password option to suppress it.
|
gained a --no-ask-password option to suppress it.
|
||||||
|
@ -321,12 +321,13 @@ CHANGES WITH 257 in spe:
|
||||||
Machines started via the systemd-vmspawn@.service unit will now be
|
Machines started via the systemd-vmspawn@.service unit will now be
|
||||||
registered with systemd-machined.
|
registered with systemd-machined.
|
||||||
|
|
||||||
* systemd-machined gained a pretty complete set of Varlink interfaces
|
* systemd-machined gained a pretty complete set of Varlink APIs
|
||||||
to its functionality as alternative to the existing D-Bus interface.
|
exposing its functionality. This is an alternative to the
|
||||||
|
pre-existing D-Bus interface.
|
||||||
|
|
||||||
systemd-resolved:
|
systemd-resolved:
|
||||||
|
|
||||||
* resolvconf command now supports '-p' switch. If specified, the
|
* The resolvconf command now supports '-p' switch. If specified, the
|
||||||
interface will not be used as the default route for domain name
|
interface will not be used as the default route for domain name
|
||||||
lookups.
|
lookups.
|
||||||
|
|
||||||
|
@ -338,11 +339,11 @@ CHANGES WITH 257 in spe:
|
||||||
* IPv6 address labels can be configured in a new [IPv6AddressLabel]
|
* IPv6 address labels can be configured in a new [IPv6AddressLabel]
|
||||||
section with Prefix= and Label= settings.
|
section with Prefix= and Label= settings.
|
||||||
|
|
||||||
* 'networkctl edit' can now read the new contents from standard input
|
* 'networkctl edit' can now read the new file contents from standard
|
||||||
with the new --stdin option.
|
input with the new --stdin option.
|
||||||
|
|
||||||
* 'networkctl edit' and 'cat' now supports editing .netdev files by
|
* 'networkctl edit' and 'cat' now support editing/showing .netdev files
|
||||||
link. 'networkctl cat' can also list all configuration files
|
by link. 'networkctl cat' can also list all configuration files
|
||||||
associated with an interface at once with ':all'.
|
associated with an interface at once with ':all'.
|
||||||
|
|
||||||
* networkctl gained a --no-ask-password option to suppress interactive
|
* networkctl gained a --no-ask-password option to suppress interactive
|
||||||
|
@ -351,7 +352,7 @@ CHANGES WITH 257 in spe:
|
||||||
* "mac" has been added to the default AlternativeNamesPolicy= setting
|
* "mac" has been added to the default AlternativeNamesPolicy= setting
|
||||||
for network links (via 99-default.link). This means "enx*" interface
|
for network links (via 99-default.link). This means "enx*" interface
|
||||||
names will now be added to the list of alternative interface names by
|
names will now be added to the list of alternative interface names by
|
||||||
default for all interfaces that have a MAC address assigned to them
|
default, for all interfaces that have a MAC address assigned
|
||||||
by hardware.
|
by hardware.
|
||||||
|
|
||||||
* networkd .netdev bridge devices gained a new setting FDBMaxLearned=
|
* networkd .netdev bridge devices gained a new setting FDBMaxLearned=
|
||||||
|
@ -366,18 +367,18 @@ CHANGES WITH 257 in spe:
|
||||||
thus highlighting conflict of ownership/management of these knobs.
|
thus highlighting conflict of ownership/management of these knobs.
|
||||||
|
|
||||||
* systemd-networkd will now make RFC9463 DNR fields available to
|
* systemd-networkd will now make RFC9463 DNR fields available to
|
||||||
systemd-resolved, for automatic DoT configuration, and similar.
|
systemd-resolved, for automatic DNS DoT configuration, and similar.
|
||||||
|
|
||||||
systemd-boot, systemd-stub, and related tools:
|
systemd-boot, systemd-stub, and related tools:
|
||||||
|
|
||||||
* The EFI stub now supports loading of .ucode sections with microcode
|
* The EFI stub now supports loading of .ucode sections with microcode
|
||||||
from PE add-on files. It now also supports loading .initrd sections
|
from PE add-on files. It also now supports loading .initrd sections
|
||||||
from PE add-on files.
|
from PE add-on files.
|
||||||
|
|
||||||
* A new .profile PE section type is now documented and supported in
|
* A new .profile PE section type is now documented and supported in
|
||||||
systemd-measure, ukify, systemd-stub and systemd-boot. Those new
|
systemd-measure, ukify, systemd-stub and systemd-boot. These new
|
||||||
sections allow multiple "profiles" to be stored together in the UKI,
|
sections allow multiple "profiles" to be stored together in the UKI,
|
||||||
with .profile sections creating groupings of sections in the UKI,
|
where each .profile section creates groupings of sections in the UKI,
|
||||||
allowing some sections to be shared and other sections like .cmdline
|
allowing some sections to be shared and other sections like .cmdline
|
||||||
or .initrd unique to the profile. This may be used to provide a
|
or .initrd unique to the profile. This may be used to provide a
|
||||||
single UKI that synthesizes multiple menu items in the boot menu (for
|
single UKI that synthesizes multiple menu items in the boot menu (for
|
||||||
|
@ -390,10 +391,10 @@ CHANGES WITH 257 in spe:
|
||||||
can contain multiple .dtbauto sections, and the 'compatible' string
|
can contain multiple .dtbauto sections, and the 'compatible' string
|
||||||
therein will be compared with the equivalent field in the DTB
|
therein will be compared with the equivalent field in the DTB
|
||||||
provided by the firmware, if present. If absent, SMBIOS will be used
|
provided by the firmware, if present. If absent, SMBIOS will be used
|
||||||
to calculate hardware IDs and compare them with the content of
|
to calculate hardware IDs (CHIDs) and look them up in the content of
|
||||||
.hwids. This allows including multiple DTBs in a single UKI, with
|
.hwids, hopefully revealing an fallback 'compatible' string. This
|
||||||
the bootloader automatically selecting the correct one for the
|
allows including multiple DTBs in a single UKI, with systemd-stub
|
||||||
current hardware.
|
automatically loading the correct one for the current hardware.
|
||||||
|
|
||||||
* ukify gained an --extend switch to import an existing UKI to
|
* ukify gained an --extend switch to import an existing UKI to
|
||||||
be extended, and a --measure-base= switch to support measurement
|
be extended, and a --measure-base= switch to support measurement
|
||||||
|
@ -406,25 +407,26 @@ CHANGES WITH 257 in spe:
|
||||||
|
|
||||||
* systemd-stub will report the partition UUID and image identifier its
|
* systemd-stub will report the partition UUID and image identifier its
|
||||||
UKI executable is placed on separately from the data systemd-boot
|
UKI executable is placed on separately from the data systemd-boot
|
||||||
provides about where to find its own executable. This is useful when
|
provides about where to find its own executable, via EFI
|
||||||
systemd-boot and UKIs are placed on distinct partitions (i.e. ESP and
|
variables. This is useful when systemd-boot and UKIs are placed on
|
||||||
XBOOTLDR).
|
distinct partitions (i.e. ESP and XBOOTLDR).
|
||||||
|
|
||||||
* bootctl --print-loader-path and --print-stub-path that output the
|
* bootctl gained new switches --print-loader-path and --print-stub-path
|
||||||
path to the boot loader or UKI used for the current boot.
|
that output the path to the boot loader or UKI used for the current
|
||||||
|
boot.
|
||||||
|
|
||||||
* bootctl kernel-identify now supports identifying EFI add-ons.
|
* bootctl kernel-identify now recognizes EFI add-ons.
|
||||||
|
|
||||||
* bootctl gained a --random-seed=yes|no option to control provisioning
|
* bootctl gained a --random-seed=yes|no option to control provisioning
|
||||||
of the random seed file in ESP. (This is useful when producing an
|
of the random seed file in the ESP. (This is useful when producing an
|
||||||
image that will be used multiple times.)
|
image that will be used in multiple instances.)
|
||||||
|
|
||||||
* bootctl now optionally supports installing UEFI Secure Boot databases
|
* bootctl now optionally supports installing UEFI Secure Boot databases
|
||||||
(ESLs) for systemd-boot to pick up and automatically enroll if the
|
(i.e. db/dbx/… databases in ESL format) for systemd-boot to pick up
|
||||||
system is booted in Setup Mode. This is controlled via bootctl's new
|
and automatically enroll if the system is booted in Setup Mode. This
|
||||||
--secure-boot-auto-enroll=yes switch (and some auxiliary ones). A
|
is controlled via bootctl's new --secure-boot-auto-enroll=yes switch
|
||||||
certificate can be provided in DER format, and it is automatically
|
(and some auxiliary ones). A certificate can be provided in DER
|
||||||
converted into an ESL, as needed.
|
format, and is automatically converted into an ESL, as needed.
|
||||||
|
|
||||||
* bootctl, systemd-measure, systemd-repart when referencing signing
|
* bootctl, systemd-measure, systemd-repart when referencing signing
|
||||||
keys on OpenSSL engines may now query for PINs and similar via
|
keys on OpenSSL engines may now query for PINs and similar via
|
||||||
|
@ -432,9 +434,9 @@ CHANGES WITH 257 in spe:
|
||||||
caching and UI).
|
caching and UI).
|
||||||
|
|
||||||
* A new systemd-sbsign tool has been added, that can be used to sign
|
* A new systemd-sbsign tool has been added, that can be used to sign
|
||||||
EFI binaries (PE). This tool supports OpenSSL engines and providers,
|
EFI binaries (PE) for Secure Boot. This tool supports OpenSSL engines
|
||||||
with pin caching support for PKCS11. ukify supports it as an
|
and providers, with pin caching support for PKCS11. ukify supports it
|
||||||
alternative to sbsigntool and pesign.
|
as an alternative to sbsigntool and pesign.
|
||||||
|
|
||||||
The journal:
|
The journal:
|
||||||
|
|
||||||
|
@ -469,11 +471,11 @@ CHANGES WITH 257 in spe:
|
||||||
and AppStream metadata.
|
and AppStream metadata.
|
||||||
|
|
||||||
* Transfer definitions for systemd-sysupdate are supposed to carry the
|
* Transfer definitions for systemd-sysupdate are supposed to carry the
|
||||||
".transfer" suffix now, changing from ".conf". The latter is
|
".transfer" suffix now, changing from ".conf". The latter remains
|
||||||
supported for compatibility too, but it's recommended to rename all
|
supported for compatibility, but it's recommended to rename all files
|
||||||
files reflecting this suffix change.
|
reflecting this suffix change.
|
||||||
|
|
||||||
* systemd-sysupdate now supports a new ".feature" files that may be
|
* systemd-sysupdate now supports new ".feature" files that may be
|
||||||
used in conjunction with ".transfer" files to group them together, and
|
used in conjunction with ".transfer" files to group them together, and
|
||||||
allow them to be turned off or on, individually per group.
|
allow them to be turned off or on, individually per group.
|
||||||
|
|
||||||
|
@ -483,8 +485,8 @@ CHANGES WITH 257 in spe:
|
||||||
available has been moved from systemd-creds to systemd-analyze.
|
available has been moved from systemd-creds to systemd-analyze.
|
||||||
|
|
||||||
* systemd-tpm2-setup will gracefully handle TPMs that have a PIN set on
|
* systemd-tpm2-setup will gracefully handle TPMs that have a PIN set on
|
||||||
the TPM, and not automatically set up a Storage Root Key (SRK) in
|
the TPM, and not attempt to automatically set up a Storage Root Key
|
||||||
that case.
|
(SRK) in that case.
|
||||||
|
|
||||||
* New crypttab option password-cache=yes|no|read-only can be used to
|
* New crypttab option password-cache=yes|no|read-only can be used to
|
||||||
customize password caching.
|
customize password caching.
|
||||||
|
@ -526,7 +528,7 @@ CHANGES WITH 257 in spe:
|
||||||
start the specified executable on the remote side, and communicate
|
start the specified executable on the remote side, and communicate
|
||||||
with the remote process using the Varlink protocol.
|
with the remote process using the Varlink protocol.
|
||||||
|
|
||||||
"ssh:" address specification has been renamed to "ssh-unix:"
|
The "ssh:" address specification has been renamed to "ssh-unix:"
|
||||||
(reflecting the fact it is used to connect to a remote AF_UNIX socket
|
(reflecting the fact it is used to connect to a remote AF_UNIX socket
|
||||||
via SSH). The old syntax is still supported for backwards
|
via SSH). The old syntax is still supported for backwards
|
||||||
compatibility.
|
compatibility.
|
||||||
|
@ -547,7 +549,8 @@ CHANGES WITH 257 in spe:
|
||||||
to enable internal compression in filesystems created offline.
|
to enable internal compression in filesystems created offline.
|
||||||
|
|
||||||
* systemd-repart understands a new MakeSymlinks= option to create one
|
* systemd-repart understands a new MakeSymlinks= option to create one
|
||||||
or more symlinks (each specified as a symlink name and target).
|
or more symlinks (each specified as a symlink name and target) within
|
||||||
|
a newly formatted file system.
|
||||||
|
|
||||||
* systemd-repart gained a new SupplementFor= setting that allows
|
* systemd-repart gained a new SupplementFor= setting that allows
|
||||||
allocating a partition only if some other existing partition cannot
|
allocating a partition only if some other existing partition cannot
|
||||||
|
@ -560,15 +563,15 @@ CHANGES WITH 257 in spe:
|
||||||
|
|
||||||
systemd-ssh-proxy:
|
systemd-ssh-proxy:
|
||||||
|
|
||||||
* systemd-ssh-proxy now also supports the "VSOCK MUX" protocol used by
|
* systemd-ssh-proxy now also supports the AF_UNIX-based "VSOCK MUX"
|
||||||
CloudHypervisor/Firecracker to expose AF_VSOCK sockets of the VM on
|
protocol used by CloudHypervisor/Firecracker to expose AF_VSOCK
|
||||||
the host. Or in other words: it's now possible to directly connect to
|
sockets of the VM on the host. Or in other words: it's now possible
|
||||||
ssh via AF_VSOCK from hosts to VMs of these two hypervisors
|
to directly connect to ssh via AF_VSOCK from hosts to VMs of these
|
||||||
(previously this was only supported for hypervisors which expose
|
two hypervisors (previously this was only supported for hypervisors
|
||||||
AF_VSOCK on the host as AF_VSOCK, such as qemu).
|
which expose AF_VSOCK on the host as AF_VSOCK, such as qemu).
|
||||||
|
|
||||||
* systemd-ssh-proxy can now reference local VMs by their name: connect
|
* systemd-ssh-proxy can now reference local VMs by their name: connect
|
||||||
to any local VM "foobar" registered with machined via "ssh
|
to any local VM "foobar" registered with systemd-machined via "ssh
|
||||||
machine/foobar" using the AF_VSOCK protocol.
|
machine/foobar" using the AF_VSOCK protocol.
|
||||||
|
|
||||||
systemd-analyze:
|
systemd-analyze:
|
||||||
|
@ -592,7 +595,6 @@ CHANGES WITH 257 in spe:
|
||||||
|
|
||||||
* 'busctl monitor' gained new options --limit-messages= and --timeout=
|
* 'busctl monitor' gained new options --limit-messages= and --timeout=
|
||||||
to set the number of matches or limit the runtime of the command.
|
to set the number of matches or limit the runtime of the command.
|
||||||
This is intended to be used in scripts.
|
|
||||||
|
|
||||||
* busctl now supports doing method calls with embedded unix file
|
* busctl now supports doing method calls with embedded unix file
|
||||||
descriptors.
|
descriptors.
|
||||||
|
@ -610,9 +612,9 @@ CHANGES WITH 257 in spe:
|
||||||
|
|
||||||
systemd-importd:
|
systemd-importd:
|
||||||
|
|
||||||
* A new generator sytemd-import-generator has been added to
|
* A new generator sytemd-import-generator has been added to synthesize
|
||||||
synthetisize image download jobs. This provides functionality similar
|
image download jobs. This provides functionality similar to
|
||||||
to importctl, but configured via the kernel command line and system
|
importctl, but is configured via the kernel command line and system
|
||||||
credentials. It may be used to automatically download sysext,
|
credentials. It may be used to automatically download sysext,
|
||||||
confext, portable service, nspawn container or vmspawn VM images at
|
confext, portable service, nspawn container or vmspawn VM images at
|
||||||
boot.
|
boot.
|
||||||
|
@ -646,14 +648,17 @@ CHANGES WITH 257 in spe:
|
||||||
* run0 gained a new pair of settings --pty and --pipe that control
|
* run0 gained a new pair of settings --pty and --pipe that control
|
||||||
whether to invoke the specified binary on a freshly allocated pseudo
|
whether to invoke the specified binary on a freshly allocated pseudo
|
||||||
TTY, or whether to pass the client's STDIN/STDOUT/STDERR through
|
TTY, or whether to pass the client's STDIN/STDOUT/STDERR through
|
||||||
directly. run0 also gained a new switch --shell-prompt-prefix= that
|
directly.
|
||||||
permits passing in a string to display on each shell prompt as
|
|
||||||
prefix. If not specified otherwise this will show a superman emoji
|
|
||||||
(🦸), in order to visually communicate the temporarily elevated
|
|
||||||
privileges a run0 session provides. This makes use of the
|
|
||||||
$SHELL_PROMPT_PREFIX environment variables mentioned above.
|
|
||||||
|
|
||||||
* systemd-run can output some data as JSON via the new --json= option.
|
* run0 gained a new switch --shell-prompt-prefix= that permits passing
|
||||||
|
in a string to display on each shell prompt as prefix. If not
|
||||||
|
specified otherwise this will show a superhero emoji (🦸), in order
|
||||||
|
to visually communicate the temporarily elevated privileges a run0
|
||||||
|
session provides. This makes use of the $SHELL_PROMPT_PREFIX
|
||||||
|
environment variables mentioned below.
|
||||||
|
|
||||||
|
* systemd-run can output some of its runtime data in JSON format via
|
||||||
|
the new --json= option.
|
||||||
|
|
||||||
systemd-tmpfiles:
|
systemd-tmpfiles:
|
||||||
|
|
||||||
|
@ -683,8 +688,8 @@ CHANGES WITH 257 in spe:
|
||||||
* The new Linux mseal(), listmount(), statmount() syscalls have been
|
* The new Linux mseal(), listmount(), statmount() syscalls have been
|
||||||
added to relevant system call groups.
|
added to relevant system call groups.
|
||||||
|
|
||||||
* The systemd-ask-password concept has been extended with a per-user
|
* The systemd-ask-password logic has been extended with a per-user
|
||||||
concept, i.e. user programs may now ask for passwords via the same
|
scope, i.e. user programs may now ask for passwords via the same
|
||||||
mechanism and the previously system-wide only mechanism.
|
mechanism and the previously system-wide only mechanism.
|
||||||
|
|
||||||
* A new set of system/service credentials are added:
|
* A new set of system/service credentials are added:
|
||||||
|
@ -697,7 +702,8 @@ CHANGES WITH 257 in spe:
|
||||||
useful to visually highlight the fact a specific shell prompt
|
useful to visually highlight the fact a specific shell prompt
|
||||||
originates from a specific system, execution context or tool. These
|
originates from a specific system, execution context or tool. These
|
||||||
credentials and environment variables are supposed to be generically
|
credentials and environment variables are supposed to be generically
|
||||||
useful within and outside of the immediate systemd context.
|
useful within and outside of the immediate systemd context. It is
|
||||||
|
also used by 'run0', see above.
|
||||||
|
|
||||||
* New RELEASE_TYPE=, EXPERIMENT=, EXPERIMENT_URL= fields have been
|
* New RELEASE_TYPE=, EXPERIMENT=, EXPERIMENT_URL= fields have been
|
||||||
defined for the /etc/os-release file. For example,
|
defined for the /etc/os-release file. For example,
|
||||||
|
@ -724,28 +730,28 @@ CHANGES WITH 257 in spe:
|
||||||
https://github.com/microsoft/terminal/pull/8055
|
https://github.com/microsoft/terminal/pull/8055
|
||||||
https://conemu.github.io/en/AnsiEscapeCodes.html#ConEmu_specific_OSC
|
https://conemu.github.io/en/AnsiEscapeCodes.html#ConEmu_specific_OSC
|
||||||
|
|
||||||
* systemd-sysusers is now able to create fully locked accounts. For
|
* systemd-sysusers is now able to create fully locked user
|
||||||
compatibility it so far created accounts with a locked (i.e. invalid)
|
accounts. For compatibility it so far created accounts with a locked
|
||||||
password, but not marked locked as a whole. With the new "!" modifier
|
(i.e. invalid) password, but not marked locked as a whole. With the
|
||||||
for "u" lines, it is now possible to create fully locked
|
new "!" modifier for "u" lines, it is now possible to create fully
|
||||||
accounts. The distinction between accounts with a locked password and
|
locked accounts. The distinction between accounts with a locked
|
||||||
fully locked accounts is relevant when considering non-password forms
|
password and fully locked accounts is relevant when considering
|
||||||
of authentication, i.e. SSH and such. It is strongly recommended to
|
non-password forms of authentication, i.e. SSH and such. It is
|
||||||
make use of this new feature for almost all system accounts, since
|
strongly recommended to make use of this new feature for almost all
|
||||||
they usually do not require (and should not permit) interactive
|
system accounts, since they usually do not require (and should not
|
||||||
logins. All of systemd's own system users have been changed to be
|
permit) interactive logins. All of systemd's own system users have
|
||||||
marked as fully locked.
|
been changed to be marked as fully locked.
|
||||||
|
|
||||||
* systemd-coredump now supports a new EnterNamespace= option, which
|
* systemd-coredump now supports a new EnterNamespace= option, which
|
||||||
defaults to off. If enabled systemd-coredump will access the mount
|
defaults to off. If enabled systemd-coredump will access the mount
|
||||||
namespace of any crashed process to acquire debug symbol information,
|
namespace of any crashed process to acquire debug symbol information,
|
||||||
in order to be able to symbolized backtraces. This option is useful
|
in order to be able to symbolize backtraces. This option is useful to
|
||||||
to improve backtraces of processes of containerized
|
improve backtraces of processes of containerized applications. (Note
|
||||||
applications. (Note that the host systemd-coredump preferably
|
that the host systemd-coredump preferably dispatches coredump
|
||||||
dispatches coredump processing to the container itself, if it
|
processing to the container itself, if it supports that. Only full-OS
|
||||||
supports that. Only full-OS containers which run systemd inside will
|
containers which run systemd inside will support this however, in
|
||||||
support this however, in which case EnterNamespace= might be an
|
other cases EnterNamespace= might be an suitable approach to acquire
|
||||||
alternative approach to acquire symbolized backtraces.)
|
symbolized backtraces.)
|
||||||
|
|
||||||
Contributions from: A. Wilcox, Abderrahim Kitouni, Adrian Vovk,
|
Contributions from: A. Wilcox, Abderrahim Kitouni, Adrian Vovk,
|
||||||
Alain Greppin, Allison Karlitskaya, Alyssa Ross, Anders Jonsson,
|
Alain Greppin, Allison Karlitskaya, Alyssa Ross, Anders Jonsson,
|
||||||
|
|
6
TODO
6
TODO
|
@ -129,6 +129,12 @@ Deprecations and removals:
|
||||||
|
|
||||||
Features:
|
Features:
|
||||||
|
|
||||||
|
* machined: when registering a machine, also take a relative cgroup path,
|
||||||
|
relative to the machine's unit. This is useful when registering unpriv
|
||||||
|
machines, as they might sit down the cgroup tree, below a cgroup delegation
|
||||||
|
boundary. Then, install an inotify watch on that cgroup to track when the
|
||||||
|
machine's local cgroup goes down.
|
||||||
|
|
||||||
* resolved: report ttl in resolution replies if we know it. This data is useful
|
* resolved: report ttl in resolution replies if we know it. This data is useful
|
||||||
for tools such as wireguard which want to periodically re-resolve DNS names,
|
for tools such as wireguard which want to periodically re-resolve DNS names,
|
||||||
and might want to use the TTL has hint for that.
|
and might want to use the TTL has hint for that.
|
||||||
|
|
|
@ -191,7 +191,7 @@
|
||||||
<literal>+drivers:</literal> followed by its driver subsystem and sysfs name separated with a colon.
|
<literal>+drivers:</literal> followed by its driver subsystem and sysfs name separated with a colon.
|
||||||
Example: <literal>+drivers:pci:iwlwifi</literal> for a driver device record whose driver subsystem is
|
Example: <literal>+drivers:pci:iwlwifi</literal> for a driver device record whose driver subsystem is
|
||||||
<literal>pci</literal> and sysfs name is <literal>iwlwifi</literal>,
|
<literal>pci</literal> and sysfs name is <literal>iwlwifi</literal>,
|
||||||
When an other type of device is specified, this function returns <literal>+</literal> followed by its
|
When another type of device is specified, this function returns <literal>+</literal> followed by its
|
||||||
subsystem and sysfs name separated with a colon. Example: <literal>+acpi:ACPI0003:00</literal>,
|
subsystem and sysfs name separated with a colon. Example: <literal>+acpi:ACPI0003:00</literal>,
|
||||||
<literal>+input:input16</literal>, or <literal>+pci:0000:00:1f.6</literal>.</para>
|
<literal>+input:input16</literal>, or <literal>+pci:0000:00:1f.6</literal>.</para>
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
|
@ -241,7 +241,7 @@
|
||||||
|
|
||||||
<listitem><para>Controls whether to query the system-wide or the per-user password agents. By default
|
<listitem><para>Controls whether to query the system-wide or the per-user password agents. By default
|
||||||
if invoked privileged the system-wide agents are queried, otherwise the per-user ones. These options
|
if invoked privileged the system-wide agents are queried, otherwise the per-user ones. These options
|
||||||
allow to override this automatic behaviour.</para>
|
allow one to override this automatic behaviour.</para>
|
||||||
|
|
||||||
<xi:include href="version-info.xml" xpointer="v257"/></listitem>
|
<xi:include href="version-info.xml" xpointer="v257"/></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
9
po/de.po
9
po/de.po
|
@ -10,13 +10,13 @@
|
||||||
# Christian Kirbach <christian.kirbach@gmail.com>, 2023.
|
# Christian Kirbach <christian.kirbach@gmail.com>, 2023.
|
||||||
# Jarne Förster <fedora@mymailclient.de>, 2024.
|
# Jarne Förster <fedora@mymailclient.de>, 2024.
|
||||||
# Weblate Translation Memory <noreply-mt-weblate-translation-memory@weblate.org>, 2024.
|
# Weblate Translation Memory <noreply-mt-weblate-translation-memory@weblate.org>, 2024.
|
||||||
|
# Anselm Schueler <mail@anselmschueler.com>, 2024.
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2024-11-06 14:42+0000\n"
|
"POT-Creation-Date: 2024-11-06 14:42+0000\n"
|
||||||
"PO-Revision-Date: 2024-11-05 13:46+0000\n"
|
"PO-Revision-Date: 2024-11-07 13:26+0000\n"
|
||||||
"Last-Translator: Weblate Translation Memory <noreply-mt-weblate-translation-"
|
"Last-Translator: Anselm Schueler <mail@anselmschueler.com>\n"
|
||||||
"memory@weblate.org>\n"
|
|
||||||
"Language-Team: German <https://translate.fedoraproject.org/projects/systemd/"
|
"Language-Team: German <https://translate.fedoraproject.org/projects/systemd/"
|
||||||
"main/de/>\n"
|
"main/de/>\n"
|
||||||
"Language: de\n"
|
"Language: de\n"
|
||||||
|
@ -131,9 +131,8 @@ msgstr ""
|
||||||
"Benutzers notwendig."
|
"Benutzers notwendig."
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:53
|
#: src/home/org.freedesktop.home1.policy:53
|
||||||
#, fuzzy
|
|
||||||
msgid "Update your home area"
|
msgid "Update your home area"
|
||||||
msgstr "Einen persönlichen Bereich aktualisieren"
|
msgstr "Deinen persönlichen Bereich aktualisieren"
|
||||||
|
|
||||||
# https://www.freedesktop.org/software/systemd/man/sd-login.html
|
# https://www.freedesktop.org/software/systemd/man/sd-login.html
|
||||||
#: src/home/org.freedesktop.home1.policy:54
|
#: src/home/org.freedesktop.home1.policy:54
|
||||||
|
|
15
po/fr.po
15
po/fr.po
|
@ -12,7 +12,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2024-11-06 14:42+0000\n"
|
"POT-Creation-Date: 2024-11-06 14:42+0000\n"
|
||||||
"PO-Revision-Date: 2024-11-06 12:46+0000\n"
|
"PO-Revision-Date: 2024-11-07 09:30+0000\n"
|
||||||
"Last-Translator: Léane GRASSER <leane.grasser@proton.me>\n"
|
"Last-Translator: Léane GRASSER <leane.grasser@proton.me>\n"
|
||||||
"Language-Team: French <https://translate.fedoraproject.org/projects/systemd/"
|
"Language-Team: French <https://translate.fedoraproject.org/projects/systemd/"
|
||||||
"main/fr/>\n"
|
"main/fr/>\n"
|
||||||
|
@ -128,16 +128,13 @@ msgstr ""
|
||||||
"utilisateur."
|
"utilisateur."
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:53
|
#: src/home/org.freedesktop.home1.policy:53
|
||||||
#, fuzzy
|
|
||||||
msgid "Update your home area"
|
msgid "Update your home area"
|
||||||
msgstr "Mettre à jour un espace personnel"
|
msgstr "Mettre à jour votre espace personnel"
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:54
|
#: src/home/org.freedesktop.home1.policy:54
|
||||||
#, fuzzy
|
|
||||||
msgid "Authentication is required to update your home area."
|
msgid "Authentication is required to update your home area."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Une authentification est requise pour mettre à jour l'espace personnel d'un "
|
"Une authentification est requise pour mettre à jour votre espace personnel."
|
||||||
"utilisateur."
|
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:63
|
#: src/home/org.freedesktop.home1.policy:63
|
||||||
msgid "Resize a home area"
|
msgid "Resize a home area"
|
||||||
|
@ -1261,14 +1258,12 @@ msgstr ""
|
||||||
|
|
||||||
#: src/sysupdate/org.freedesktop.sysupdate1.policy:75
|
#: src/sysupdate/org.freedesktop.sysupdate1.policy:75
|
||||||
msgid "Manage optional features"
|
msgid "Manage optional features"
|
||||||
msgstr ""
|
msgstr "Gérer les fonctionnalités en option"
|
||||||
|
|
||||||
#: src/sysupdate/org.freedesktop.sysupdate1.policy:76
|
#: src/sysupdate/org.freedesktop.sysupdate1.policy:76
|
||||||
#, fuzzy
|
|
||||||
msgid "Authentication is required to manage optional features"
|
msgid "Authentication is required to manage optional features"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Une authentification est requise pour gérer les sessions actives, les "
|
"Une authentification est requise pour gérer les fonctionnalités en option."
|
||||||
"utilisateurs et les postes (seats)."
|
|
||||||
|
|
||||||
#: src/timedate/org.freedesktop.timedate1.policy:22
|
#: src/timedate/org.freedesktop.timedate1.policy:22
|
||||||
msgid "Set system time"
|
msgid "Set system time"
|
||||||
|
|
15
po/id.po
15
po/id.po
|
@ -6,7 +6,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2024-11-06 14:42+0000\n"
|
"POT-Creation-Date: 2024-11-06 14:42+0000\n"
|
||||||
"PO-Revision-Date: 2024-10-27 05:38+0000\n"
|
"PO-Revision-Date: 2024-11-07 09:30+0000\n"
|
||||||
"Last-Translator: Andika Triwidada <andika@gmail.com>\n"
|
"Last-Translator: Andika Triwidada <andika@gmail.com>\n"
|
||||||
"Language-Team: Indonesian <https://translate.fedoraproject.org/projects/"
|
"Language-Team: Indonesian <https://translate.fedoraproject.org/projects/"
|
||||||
"systemd/main/id/>\n"
|
"systemd/main/id/>\n"
|
||||||
|
@ -15,7 +15,7 @@ msgstr ""
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||||
"X-Generator: Weblate 5.7.2\n"
|
"X-Generator: Weblate 5.8.2\n"
|
||||||
|
|
||||||
#: src/core/org.freedesktop.systemd1.policy.in:22
|
#: src/core/org.freedesktop.systemd1.policy.in:22
|
||||||
msgid "Send passphrase back to system"
|
msgid "Send passphrase back to system"
|
||||||
|
@ -112,14 +112,12 @@ msgid "Authentication is required to update a user's home area."
|
||||||
msgstr "Otentikasi diperlukan untuk memperbarui suatu area rumah pengguna."
|
msgstr "Otentikasi diperlukan untuk memperbarui suatu area rumah pengguna."
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:53
|
#: src/home/org.freedesktop.home1.policy:53
|
||||||
#, fuzzy
|
|
||||||
msgid "Update your home area"
|
msgid "Update your home area"
|
||||||
msgstr "Memperbarui suatu area rumah"
|
msgstr "Memperbarui area rumah Anda"
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:54
|
#: src/home/org.freedesktop.home1.policy:54
|
||||||
#, fuzzy
|
|
||||||
msgid "Authentication is required to update your home area."
|
msgid "Authentication is required to update your home area."
|
||||||
msgstr "Otentikasi diperlukan untuk memperbarui suatu area rumah pengguna."
|
msgstr "Otentikasi diperlukan untuk memperbarui area rumah Anda."
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:63
|
#: src/home/org.freedesktop.home1.policy:63
|
||||||
msgid "Resize a home area"
|
msgid "Resize a home area"
|
||||||
|
@ -1166,12 +1164,11 @@ msgstr "Otentikasi diperlukan untuk membersihkan pembaruan sistem lama."
|
||||||
|
|
||||||
#: src/sysupdate/org.freedesktop.sysupdate1.policy:75
|
#: src/sysupdate/org.freedesktop.sysupdate1.policy:75
|
||||||
msgid "Manage optional features"
|
msgid "Manage optional features"
|
||||||
msgstr ""
|
msgstr "Kelola fitur opsional"
|
||||||
|
|
||||||
#: src/sysupdate/org.freedesktop.sysupdate1.policy:76
|
#: src/sysupdate/org.freedesktop.sysupdate1.policy:76
|
||||||
#, fuzzy
|
|
||||||
msgid "Authentication is required to manage optional features"
|
msgid "Authentication is required to manage optional features"
|
||||||
msgstr "Otentikasi diperlukan untuk mengelola seat, pengguna, dan sesi aktif."
|
msgstr "Otentikasi diperlukan untuk mengelola fitur opsional"
|
||||||
|
|
||||||
#: src/timedate/org.freedesktop.timedate1.policy:22
|
#: src/timedate/org.freedesktop.timedate1.policy:22
|
||||||
msgid "Set system time"
|
msgid "Set system time"
|
||||||
|
|
17
po/ka.po
17
po/ka.po
|
@ -5,7 +5,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2024-11-06 14:42+0000\n"
|
"POT-Creation-Date: 2024-11-06 14:42+0000\n"
|
||||||
"PO-Revision-Date: 2024-08-24 10:36+0000\n"
|
"PO-Revision-Date: 2024-11-07 02:35+0000\n"
|
||||||
"Last-Translator: Temuri Doghonadze <temuri.doghonadze@gmail.com>\n"
|
"Last-Translator: Temuri Doghonadze <temuri.doghonadze@gmail.com>\n"
|
||||||
"Language-Team: Georgian <https://translate.fedoraproject.org/projects/"
|
"Language-Team: Georgian <https://translate.fedoraproject.org/projects/"
|
||||||
"systemd/main/ka/>\n"
|
"systemd/main/ka/>\n"
|
||||||
|
@ -14,7 +14,7 @@ msgstr ""
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||||
"X-Generator: Weblate 5.7\n"
|
"X-Generator: Weblate 5.8.2\n"
|
||||||
|
|
||||||
#: src/core/org.freedesktop.systemd1.policy.in:22
|
#: src/core/org.freedesktop.systemd1.policy.in:22
|
||||||
msgid "Send passphrase back to system"
|
msgid "Send passphrase back to system"
|
||||||
|
@ -108,14 +108,12 @@ msgid "Authentication is required to update a user's home area."
|
||||||
msgstr "სახლის ტერიტორიის განახლებისთვის საჭიროა ავთენტიკაცია."
|
msgstr "სახლის ტერიტორიის განახლებისთვის საჭიროა ავთენტიკაცია."
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:53
|
#: src/home/org.freedesktop.home1.policy:53
|
||||||
#, fuzzy
|
|
||||||
msgid "Update your home area"
|
msgid "Update your home area"
|
||||||
msgstr "სახლის ტერიტორიის განახლება"
|
msgstr "თქვენი სახლის ტერიტორიის განახლება"
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:54
|
#: src/home/org.freedesktop.home1.policy:54
|
||||||
#, fuzzy
|
|
||||||
msgid "Authentication is required to update your home area."
|
msgid "Authentication is required to update your home area."
|
||||||
msgstr "სახლის ტერიტორიის განახლებისთვის საჭიროა ავთენტიკაცია."
|
msgstr "თქვენი სახლის ტერიტორიის განახლებისთვის საჭიროა ავთენტიკაცია."
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:63
|
#: src/home/org.freedesktop.home1.policy:63
|
||||||
msgid "Resize a home area"
|
msgid "Resize a home area"
|
||||||
|
@ -1164,14 +1162,11 @@ msgstr "ძველი სისტემური განახლებე
|
||||||
|
|
||||||
#: src/sysupdate/org.freedesktop.sysupdate1.policy:75
|
#: src/sysupdate/org.freedesktop.sysupdate1.policy:75
|
||||||
msgid "Manage optional features"
|
msgid "Manage optional features"
|
||||||
msgstr ""
|
msgstr "არასავალდებულო ფუნქციების მართვა"
|
||||||
|
|
||||||
#: src/sysupdate/org.freedesktop.sysupdate1.policy:76
|
#: src/sysupdate/org.freedesktop.sysupdate1.policy:76
|
||||||
#, fuzzy
|
|
||||||
msgid "Authentication is required to manage optional features"
|
msgid "Authentication is required to manage optional features"
|
||||||
msgstr ""
|
msgstr "არასავალდებულო ფუნქციების მართვას ავთენტიკაცია სჭირდება"
|
||||||
"აქტიური სესიების, მომხმარებლებისა და სამუშაო მაგიდების მართვას ავთენტიკაცია "
|
|
||||||
"სჭირდება."
|
|
||||||
|
|
||||||
#: src/timedate/org.freedesktop.timedate1.policy:22
|
#: src/timedate/org.freedesktop.timedate1.policy:22
|
||||||
msgid "Set system time"
|
msgid "Set system time"
|
||||||
|
|
13
po/ko.po
13
po/ko.po
|
@ -9,7 +9,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2024-11-06 14:42+0000\n"
|
"POT-Creation-Date: 2024-11-06 14:42+0000\n"
|
||||||
"PO-Revision-Date: 2024-08-24 10:36+0000\n"
|
"PO-Revision-Date: 2024-11-07 02:35+0000\n"
|
||||||
"Last-Translator: 김인수 <simmon@nplob.com>\n"
|
"Last-Translator: 김인수 <simmon@nplob.com>\n"
|
||||||
"Language-Team: Korean <https://translate.fedoraproject.org/projects/systemd/"
|
"Language-Team: Korean <https://translate.fedoraproject.org/projects/systemd/"
|
||||||
"main/ko/>\n"
|
"main/ko/>\n"
|
||||||
|
@ -18,7 +18,7 @@ msgstr ""
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||||
"X-Generator: Weblate 5.7\n"
|
"X-Generator: Weblate 5.8.2\n"
|
||||||
"X-Poedit-SourceCharset: UTF-8\n"
|
"X-Poedit-SourceCharset: UTF-8\n"
|
||||||
|
|
||||||
#: src/core/org.freedesktop.systemd1.policy.in:22
|
#: src/core/org.freedesktop.systemd1.policy.in:22
|
||||||
|
@ -109,12 +109,10 @@ msgid "Authentication is required to update a user's home area."
|
||||||
msgstr "사용자 홈 영역을 최신화 하려면 인증이 필요합니다."
|
msgstr "사용자 홈 영역을 최신화 하려면 인증이 필요합니다."
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:53
|
#: src/home/org.freedesktop.home1.policy:53
|
||||||
#, fuzzy
|
|
||||||
msgid "Update your home area"
|
msgid "Update your home area"
|
||||||
msgstr "홈 영역을 최신화"
|
msgstr "자신의 홈 영역 최신화"
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:54
|
#: src/home/org.freedesktop.home1.policy:54
|
||||||
#, fuzzy
|
|
||||||
msgid "Authentication is required to update your home area."
|
msgid "Authentication is required to update your home area."
|
||||||
msgstr "사용자 홈 영역을 최신화 하려면 인증이 필요합니다."
|
msgstr "사용자 홈 영역을 최신화 하려면 인증이 필요합니다."
|
||||||
|
|
||||||
|
@ -1117,12 +1115,11 @@ msgstr "오래된 시스템 최신화를 정리하려면 인증이 필요합니
|
||||||
|
|
||||||
#: src/sysupdate/org.freedesktop.sysupdate1.policy:75
|
#: src/sysupdate/org.freedesktop.sysupdate1.policy:75
|
||||||
msgid "Manage optional features"
|
msgid "Manage optional features"
|
||||||
msgstr ""
|
msgstr "추가 사양을 관리합니다"
|
||||||
|
|
||||||
#: src/sysupdate/org.freedesktop.sysupdate1.policy:76
|
#: src/sysupdate/org.freedesktop.sysupdate1.policy:76
|
||||||
#, fuzzy
|
|
||||||
msgid "Authentication is required to manage optional features"
|
msgid "Authentication is required to manage optional features"
|
||||||
msgstr "활성 세션, 사용자 시트를 관리하려면 인증이 필요합니다."
|
msgstr "추가 사양을 관리하려면 인증이 필요합니다"
|
||||||
|
|
||||||
#: src/timedate/org.freedesktop.timedate1.policy:22
|
#: src/timedate/org.freedesktop.timedate1.policy:22
|
||||||
msgid "Set system time"
|
msgid "Set system time"
|
||||||
|
|
17
po/pl.po
17
po/pl.po
|
@ -7,7 +7,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2024-11-06 14:42+0000\n"
|
"POT-Creation-Date: 2024-11-06 14:42+0000\n"
|
||||||
"PO-Revision-Date: 2024-08-24 10:36+0000\n"
|
"PO-Revision-Date: 2024-11-07 09:30+0000\n"
|
||||||
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
|
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
|
||||||
"Language-Team: Polish <https://translate.fedoraproject.org/projects/systemd/"
|
"Language-Team: Polish <https://translate.fedoraproject.org/projects/systemd/"
|
||||||
"main/pl/>\n"
|
"main/pl/>\n"
|
||||||
|
@ -17,7 +17,7 @@ msgstr ""
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
|
"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
|
||||||
"|| n%100>=20) ? 1 : 2;\n"
|
"|| n%100>=20) ? 1 : 2;\n"
|
||||||
"X-Generator: Weblate 5.7\n"
|
"X-Generator: Weblate 5.8.2\n"
|
||||||
|
|
||||||
#: src/core/org.freedesktop.systemd1.policy.in:22
|
#: src/core/org.freedesktop.systemd1.policy.in:22
|
||||||
msgid "Send passphrase back to system"
|
msgid "Send passphrase back to system"
|
||||||
|
@ -122,15 +122,13 @@ msgstr ""
|
||||||
"użytkownika."
|
"użytkownika."
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:53
|
#: src/home/org.freedesktop.home1.policy:53
|
||||||
#, fuzzy
|
|
||||||
msgid "Update your home area"
|
msgid "Update your home area"
|
||||||
msgstr "Aktualizacja przestrzeni domowej"
|
msgstr "Aktualizacja przestrzeni domowej tego użytkownika"
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:54
|
#: src/home/org.freedesktop.home1.policy:54
|
||||||
#, fuzzy
|
|
||||||
msgid "Authentication is required to update your home area."
|
msgid "Authentication is required to update your home area."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Wymagane jest uwierzytelnienie, aby zaktualizować przestrzeń domową "
|
"Wymagane jest uwierzytelnienie, aby zaktualizować przestrzeń domową tego "
|
||||||
"użytkownika."
|
"użytkownika."
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:63
|
#: src/home/org.freedesktop.home1.policy:63
|
||||||
|
@ -1212,14 +1210,11 @@ msgstr ""
|
||||||
|
|
||||||
#: src/sysupdate/org.freedesktop.sysupdate1.policy:75
|
#: src/sysupdate/org.freedesktop.sysupdate1.policy:75
|
||||||
msgid "Manage optional features"
|
msgid "Manage optional features"
|
||||||
msgstr ""
|
msgstr "Zarządzanie funkcjami opcjonalnymi"
|
||||||
|
|
||||||
#: src/sysupdate/org.freedesktop.sysupdate1.policy:76
|
#: src/sysupdate/org.freedesktop.sysupdate1.policy:76
|
||||||
#, fuzzy
|
|
||||||
msgid "Authentication is required to manage optional features"
|
msgid "Authentication is required to manage optional features"
|
||||||
msgstr ""
|
msgstr "Wymagane jest uwierzytelnienie, aby zarządzać funkcjami opcjonalnymi."
|
||||||
"Wymagane jest uwierzytelnienie, aby zarządzać aktywnymi sesjami, "
|
|
||||||
"użytkownikami i stanowiskami."
|
|
||||||
|
|
||||||
#: src/timedate/org.freedesktop.timedate1.policy:22
|
#: src/timedate/org.freedesktop.timedate1.policy:22
|
||||||
msgid "Set system time"
|
msgid "Set system time"
|
||||||
|
|
15
po/ru.po
15
po/ru.po
|
@ -14,7 +14,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2024-11-06 14:42+0000\n"
|
"POT-Creation-Date: 2024-11-06 14:42+0000\n"
|
||||||
"PO-Revision-Date: 2024-08-25 11:38+0000\n"
|
"PO-Revision-Date: 2024-11-07 09:30+0000\n"
|
||||||
"Last-Translator: \"Sergey A.\" <Ser82-png@yandex.ru>\n"
|
"Last-Translator: \"Sergey A.\" <Ser82-png@yandex.ru>\n"
|
||||||
"Language-Team: Russian <https://translate.fedoraproject.org/projects/systemd/"
|
"Language-Team: Russian <https://translate.fedoraproject.org/projects/systemd/"
|
||||||
"main/ru/>\n"
|
"main/ru/>\n"
|
||||||
|
@ -24,7 +24,7 @@ msgstr ""
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
|
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
|
||||||
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
|
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
|
||||||
"X-Generator: Weblate 5.7\n"
|
"X-Generator: Weblate 5.8.2\n"
|
||||||
|
|
||||||
#: src/core/org.freedesktop.systemd1.policy.in:22
|
#: src/core/org.freedesktop.systemd1.policy.in:22
|
||||||
msgid "Send passphrase back to system"
|
msgid "Send passphrase back to system"
|
||||||
|
@ -130,16 +130,13 @@ msgstr ""
|
||||||
"аутентификацию."
|
"аутентификацию."
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:53
|
#: src/home/org.freedesktop.home1.policy:53
|
||||||
#, fuzzy
|
|
||||||
msgid "Update your home area"
|
msgid "Update your home area"
|
||||||
msgstr "Обновить домашнее пространство"
|
msgstr "Обновить домашнее пространство"
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:54
|
#: src/home/org.freedesktop.home1.policy:54
|
||||||
#, fuzzy
|
|
||||||
msgid "Authentication is required to update your home area."
|
msgid "Authentication is required to update your home area."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Чтобы обновить домашнее пространство пользователя, необходимо пройти "
|
"Чтобы обновить ваше домашнее пространство, необходимо пройти аутентификацию."
|
||||||
"аутентификацию."
|
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:63
|
#: src/home/org.freedesktop.home1.policy:63
|
||||||
msgid "Resize a home area"
|
msgid "Resize a home area"
|
||||||
|
@ -1278,14 +1275,12 @@ msgstr ""
|
||||||
|
|
||||||
#: src/sysupdate/org.freedesktop.sysupdate1.policy:75
|
#: src/sysupdate/org.freedesktop.sysupdate1.policy:75
|
||||||
msgid "Manage optional features"
|
msgid "Manage optional features"
|
||||||
msgstr ""
|
msgstr "Управление дополнительными функциями"
|
||||||
|
|
||||||
#: src/sysupdate/org.freedesktop.sysupdate1.policy:76
|
#: src/sysupdate/org.freedesktop.sysupdate1.policy:76
|
||||||
#, fuzzy
|
|
||||||
msgid "Authentication is required to manage optional features"
|
msgid "Authentication is required to manage optional features"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Для управления текущими сеансами, пользователями и рабочими местами, "
|
"Для управления дополнительными функциями необходимо пройти аутентификацию."
|
||||||
"необходимо пройти аутентификацию."
|
|
||||||
|
|
||||||
#: src/timedate/org.freedesktop.timedate1.policy:22
|
#: src/timedate/org.freedesktop.timedate1.policy:22
|
||||||
msgid "Set system time"
|
msgid "Set system time"
|
||||||
|
|
18
po/sv.po
18
po/sv.po
|
@ -12,8 +12,8 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2024-11-06 14:42+0000\n"
|
"POT-Creation-Date: 2024-11-06 14:42+0000\n"
|
||||||
"PO-Revision-Date: 2024-10-24 00:56+0000\n"
|
"PO-Revision-Date: 2024-11-07 09:30+0000\n"
|
||||||
"Last-Translator: Anders Jonsson <anders.jonsson@norsjovallen.se>\n"
|
"Last-Translator: Luna Jernberg <bittin@reimu.nl>\n"
|
||||||
"Language-Team: Swedish <https://translate.fedoraproject.org/projects/systemd/"
|
"Language-Team: Swedish <https://translate.fedoraproject.org/projects/systemd/"
|
||||||
"main/sv/>\n"
|
"main/sv/>\n"
|
||||||
"Language: sv\n"
|
"Language: sv\n"
|
||||||
|
@ -21,7 +21,7 @@ msgstr ""
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||||
"X-Generator: Weblate 5.7.2\n"
|
"X-Generator: Weblate 5.8.2\n"
|
||||||
|
|
||||||
#: src/core/org.freedesktop.systemd1.policy.in:22
|
#: src/core/org.freedesktop.systemd1.policy.in:22
|
||||||
msgid "Send passphrase back to system"
|
msgid "Send passphrase back to system"
|
||||||
|
@ -117,14 +117,12 @@ msgid "Authentication is required to update a user's home area."
|
||||||
msgstr "Autentisering krävs för att uppdatera en användares hemarea."
|
msgstr "Autentisering krävs för att uppdatera en användares hemarea."
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:53
|
#: src/home/org.freedesktop.home1.policy:53
|
||||||
#, fuzzy
|
|
||||||
msgid "Update your home area"
|
msgid "Update your home area"
|
||||||
msgstr "Uppdatera en hemarea"
|
msgstr "Uppdatera din hemarea"
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:54
|
#: src/home/org.freedesktop.home1.policy:54
|
||||||
#, fuzzy
|
|
||||||
msgid "Authentication is required to update your home area."
|
msgid "Authentication is required to update your home area."
|
||||||
msgstr "Autentisering krävs för att uppdatera en användares hemarea."
|
msgstr "Autentisering krävs för att uppdatera din hemarea."
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:63
|
#: src/home/org.freedesktop.home1.policy:63
|
||||||
msgid "Resize a home area"
|
msgid "Resize a home area"
|
||||||
|
@ -1172,13 +1170,11 @@ msgstr "Autentisering krävs för att rensa gamla systemuppdateringar."
|
||||||
|
|
||||||
#: src/sysupdate/org.freedesktop.sysupdate1.policy:75
|
#: src/sysupdate/org.freedesktop.sysupdate1.policy:75
|
||||||
msgid "Manage optional features"
|
msgid "Manage optional features"
|
||||||
msgstr ""
|
msgstr "Hantera valfria funktioner"
|
||||||
|
|
||||||
#: src/sysupdate/org.freedesktop.sysupdate1.policy:76
|
#: src/sysupdate/org.freedesktop.sysupdate1.policy:76
|
||||||
#, fuzzy
|
|
||||||
msgid "Authentication is required to manage optional features"
|
msgid "Authentication is required to manage optional features"
|
||||||
msgstr ""
|
msgstr "Autentisering krävs för att hantera valfria funktioner"
|
||||||
"Autentisering krävs för att hantera aktiva sessioner, användare och platser."
|
|
||||||
|
|
||||||
#: src/timedate/org.freedesktop.timedate1.policy:22
|
#: src/timedate/org.freedesktop.timedate1.policy:22
|
||||||
msgid "Set system time"
|
msgid "Set system time"
|
||||||
|
|
17
po/tr.po
17
po/tr.po
|
@ -10,7 +10,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2024-11-06 14:42+0000\n"
|
"POT-Creation-Date: 2024-11-06 14:42+0000\n"
|
||||||
"PO-Revision-Date: 2024-08-25 11:38+0000\n"
|
"PO-Revision-Date: 2024-11-07 09:30+0000\n"
|
||||||
"Last-Translator: Oğuz Ersen <oguz@ersen.moe>\n"
|
"Last-Translator: Oğuz Ersen <oguz@ersen.moe>\n"
|
||||||
"Language-Team: Turkish <https://translate.fedoraproject.org/projects/systemd/"
|
"Language-Team: Turkish <https://translate.fedoraproject.org/projects/systemd/"
|
||||||
"main/tr/>\n"
|
"main/tr/>\n"
|
||||||
|
@ -19,7 +19,7 @@ msgstr ""
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||||
"X-Generator: Weblate 5.7\n"
|
"X-Generator: Weblate 5.8.2\n"
|
||||||
|
|
||||||
#: src/core/org.freedesktop.systemd1.policy.in:22
|
#: src/core/org.freedesktop.systemd1.policy.in:22
|
||||||
msgid "Send passphrase back to system"
|
msgid "Send passphrase back to system"
|
||||||
|
@ -117,14 +117,12 @@ msgid "Authentication is required to update a user's home area."
|
||||||
msgstr "Bir kullanıcının ev alanını güncellemek kimlik doğrulaması gerektirir."
|
msgstr "Bir kullanıcının ev alanını güncellemek kimlik doğrulaması gerektirir."
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:53
|
#: src/home/org.freedesktop.home1.policy:53
|
||||||
#, fuzzy
|
|
||||||
msgid "Update your home area"
|
msgid "Update your home area"
|
||||||
msgstr "Ev alanını güncelle"
|
msgstr "Ev alanınızı güncelleyin"
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:54
|
#: src/home/org.freedesktop.home1.policy:54
|
||||||
#, fuzzy
|
|
||||||
msgid "Authentication is required to update your home area."
|
msgid "Authentication is required to update your home area."
|
||||||
msgstr "Bir kullanıcının ev alanını güncellemek kimlik doğrulaması gerektirir."
|
msgstr "Ev alanınızı güncellemek kimlik doğrulaması gerektirir."
|
||||||
|
|
||||||
#: src/home/org.freedesktop.home1.policy:63
|
#: src/home/org.freedesktop.home1.policy:63
|
||||||
msgid "Resize a home area"
|
msgid "Resize a home area"
|
||||||
|
@ -1221,14 +1219,11 @@ msgstr ""
|
||||||
|
|
||||||
#: src/sysupdate/org.freedesktop.sysupdate1.policy:75
|
#: src/sysupdate/org.freedesktop.sysupdate1.policy:75
|
||||||
msgid "Manage optional features"
|
msgid "Manage optional features"
|
||||||
msgstr ""
|
msgstr "İsteğe bağlı özellikleri yönet"
|
||||||
|
|
||||||
#: src/sysupdate/org.freedesktop.sysupdate1.policy:76
|
#: src/sysupdate/org.freedesktop.sysupdate1.policy:76
|
||||||
#, fuzzy
|
|
||||||
msgid "Authentication is required to manage optional features"
|
msgid "Authentication is required to manage optional features"
|
||||||
msgstr ""
|
msgstr "İsteğe bağlı özellikleri yönetmek için kimlik doğrulaması gereklidir"
|
||||||
"Aktif oturumları, kullanıcıları ve yuvaları yönetmek için kimlik doğrulaması "
|
|
||||||
"gereklidir."
|
|
||||||
|
|
||||||
#: src/timedate/org.freedesktop.timedate1.policy:22
|
#: src/timedate/org.freedesktop.timedate1.policy:22
|
||||||
msgid "Set system time"
|
msgid "Set system time"
|
||||||
|
|
|
@ -90,7 +90,7 @@ static int parse_argv(int argc, char *argv[]) {
|
||||||
assert(argc >= 0);
|
assert(argc >= 0);
|
||||||
assert(argv);
|
assert(argv);
|
||||||
|
|
||||||
while ((c = getopt_long(argc, argv, "hjc", options, NULL)) >= 0)
|
while ((c = getopt_long(argc, argv, "h", options, NULL)) >= 0)
|
||||||
switch (c) {
|
switch (c) {
|
||||||
|
|
||||||
case 'h':
|
case 'h':
|
||||||
|
|
|
@ -15,14 +15,12 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if SD_BOOT
|
#if SD_BOOT
|
||||||
# include "efi-string.h"
|
|
||||||
# include "util.h"
|
# include "util.h"
|
||||||
#else
|
#else
|
||||||
# include <byteswap.h>
|
# include <byteswap.h>
|
||||||
# include <string.h>
|
# include <string.h>
|
||||||
# include <uchar.h>
|
|
||||||
# include <utf8.h>
|
# include <utf8.h>
|
||||||
#define strsize16(str) ((char16_strlen(str) + 1) * sizeof(char16_t))
|
#define strlen16 char16_strlen
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "chid-fundamental.h"
|
#include "chid-fundamental.h"
|
||||||
|
@ -44,7 +42,7 @@ static void get_chid(const char16_t *const smbios_fields[static _CHID_SMBIOS_FIE
|
||||||
if ((mask >> i) & 1) {
|
if ((mask >> i) & 1) {
|
||||||
if (i > 0)
|
if (i > 0)
|
||||||
sha1_process_bytes(L"&", 2, &ctx);
|
sha1_process_bytes(L"&", 2, &ctx);
|
||||||
sha1_process_bytes(smbios_fields[i], strsize16(smbios_fields[i]), &ctx);
|
sha1_process_bytes(smbios_fields[i], strlen16(smbios_fields[i]) * sizeof(char16_t), &ctx);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t hash[SHA1_DIGEST_SIZE];
|
uint8_t hash[SHA1_DIGEST_SIZE];
|
||||||
|
@ -112,7 +110,8 @@ static const uint32_t chid_smbios_table[CHID_TYPES_MAX] = {
|
||||||
void chid_calculate(const char16_t *const smbios_fields[static _CHID_SMBIOS_FIELDS_MAX], EFI_GUID ret_chids[static CHID_TYPES_MAX]) {
|
void chid_calculate(const char16_t *const smbios_fields[static _CHID_SMBIOS_FIELDS_MAX], EFI_GUID ret_chids[static CHID_TYPES_MAX]) {
|
||||||
assert(smbios_fields);
|
assert(smbios_fields);
|
||||||
assert(ret_chids);
|
assert(ret_chids);
|
||||||
for (size_t i = 0; i < _CHID_SMBIOS_FIELDS_MAX; i++)
|
|
||||||
|
for (size_t i = 0; i < CHID_TYPES_MAX; i++)
|
||||||
if (chid_smbios_table[i] != 0)
|
if (chid_smbios_table[i] != 0)
|
||||||
get_chid(smbios_fields, chid_smbios_table[i], &ret_chids[i]);
|
get_chid(smbios_fields, chid_smbios_table[i], &ret_chids[i]);
|
||||||
else
|
else
|
||||||
|
|
|
@ -2,6 +2,12 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#if SD_BOOT
|
||||||
|
# include "efi-string.h"
|
||||||
|
#else
|
||||||
|
# include <uchar.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "efi-fundamental.h"
|
#include "efi-fundamental.h"
|
||||||
#include "string-util-fundamental.h"
|
#include "string-util-fundamental.h"
|
||||||
|
|
||||||
|
|
|
@ -559,3 +559,22 @@ static inline int run_test_table(void) {
|
||||||
abort(); \
|
abort(); \
|
||||||
} \
|
} \
|
||||||
})
|
})
|
||||||
|
|
||||||
|
#define EFI_GUID_Fmt "%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x"
|
||||||
|
#define EFI_GUID_Arg(guid) (guid).Data1, (guid).Data2, (guid).Data3, \
|
||||||
|
(guid).Data4[0], (guid).Data4[1], (guid).Data4[2], (guid).Data4[3], \
|
||||||
|
(guid).Data4[4], (guid).Data4[5], (guid).Data4[6], (guid).Data4[7] \
|
||||||
|
|
||||||
|
#define ASSERT_EQ_EFI_GUID(expr1, expr2) \
|
||||||
|
({ \
|
||||||
|
typeof(expr1) _expr1 = (expr1); \
|
||||||
|
typeof(expr2) _expr2 = (expr2); \
|
||||||
|
if (!efi_guid_equal(_expr1, _expr2)) { \
|
||||||
|
log_error("%s:%i: Assertion failed: expected \"%s == %s\", but " EFI_GUID_Fmt \
|
||||||
|
" != " EFI_GUID_Fmt, \
|
||||||
|
PROJECT_FILE, __LINE__, \
|
||||||
|
#expr1, #expr2, \
|
||||||
|
EFI_GUID_Arg(*_expr1), EFI_GUID_Arg(*_expr2)); \
|
||||||
|
abort(); \
|
||||||
|
} \
|
||||||
|
})
|
||||||
|
|
|
@ -58,6 +58,7 @@ simple_tests += files(
|
||||||
'test-cgroup-util.c',
|
'test-cgroup-util.c',
|
||||||
'test-cgroup.c',
|
'test-cgroup.c',
|
||||||
'test-chase.c',
|
'test-chase.c',
|
||||||
|
'test-chid.c',
|
||||||
'test-clock.c',
|
'test-clock.c',
|
||||||
'test-color-util.c',
|
'test-color-util.c',
|
||||||
'test-compare-operator.c',
|
'test-compare-operator.c',
|
||||||
|
|
|
@ -0,0 +1,89 @@
|
||||||
|
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||||
|
|
||||||
|
#include "chid-fundamental.h"
|
||||||
|
#include "string-util.h"
|
||||||
|
#include "tests.h"
|
||||||
|
|
||||||
|
const char16_t *const test_fields[_CHID_SMBIOS_FIELDS_MAX] = {
|
||||||
|
[CHID_SMBIOS_MANUFACTURER] = u"Micro-Star International Co., Ltd.",
|
||||||
|
[CHID_SMBIOS_PRODUCT_NAME] = u"MS-7D70",
|
||||||
|
[CHID_SMBIOS_PRODUCT_SKU] = u"To be filled by O.E.M.",
|
||||||
|
[CHID_SMBIOS_FAMILY] = u"To be filled by O.E.M.",
|
||||||
|
[CHID_SMBIOS_BASEBOARD_PRODUCT] = u"MPG X670E CARBON WIFI (MS-7D70)",
|
||||||
|
[CHID_SMBIOS_BASEBOARD_MANUFACTURER] = u"Micro-Star International Co., Ltd.",
|
||||||
|
};
|
||||||
|
|
||||||
|
/* Actual output of `fwupdtool hwids`:
|
||||||
|
BiosVendor: American Megatrends International, LLC.
|
||||||
|
BiosVersion: 1.E5
|
||||||
|
BiosMajorRelease: 5
|
||||||
|
BiosMinorRelease: 32
|
||||||
|
FirmwareMajorRelease: ff
|
||||||
|
FirmwareMinorRelease: ff
|
||||||
|
Manufacturer: Micro-Star International Co., Ltd.
|
||||||
|
Family: To be filled by O.E.M.
|
||||||
|
ProductName: MS-7D70
|
||||||
|
ProductSku: To be filled by O.E.M.
|
||||||
|
EnclosureKind: 3
|
||||||
|
BaseboardManufacturer: Micro-Star International Co., Ltd.
|
||||||
|
BaseboardProduct: MPG X670E CARBON WIFI (MS-7D70)
|
||||||
|
Hardware IDs
|
||||||
|
------------
|
||||||
|
{f59668ca-22bc-52a0-b6b5-1f6ce81b08e0} <- Manufacturer + Family + ProductName + ProductSku + BiosVendor + BiosVersion + BiosMajorRelease + BiosMinorRelease
|
||||||
|
{f735f7a0-40da-5bfe-8ac2-0090532ee6d0} <- Manufacturer + Family + ProductName + BiosVendor + BiosVersion + BiosMajorRelease + BiosMinorRelease
|
||||||
|
{25880e68-e005-5ca7-88b6-650de596604f} <- Manufacturer + ProductName + BiosVendor + BiosVersion + BiosMajorRelease + BiosMinorRelease
|
||||||
|
{01e09b32-de05-56ca-b9d1-9486ad5f381d} <- Manufacturer + Family + ProductName + ProductSku + BaseboardManufacturer + BaseboardProduct
|
||||||
|
{cad87a11-1813-507b-9aab-9a5f457b649c} <- Manufacturer + Family + ProductName + ProductSku
|
||||||
|
{377c823d-60d1-55b0-9678-76cd2af9d086} <- Manufacturer + Family + ProductName
|
||||||
|
{28ac9cf2-5bde-59f7-aebe-4b3d008090fe} <- Manufacturer + ProductSku + BaseboardManufacturer + BaseboardProduct
|
||||||
|
{e821e0e2-e11a-5e94-bf5d-ffe53c5e5048} <- Manufacturer + ProductSku
|
||||||
|
{1c092f1d-dc7b-564f-8a3d-128d7292fab8} <- Manufacturer + ProductName + BaseboardManufacturer + BaseboardProduct
|
||||||
|
{c12c1f4a-332d-5d72-aa36-7a3d413b479a} <- Manufacturer + ProductName
|
||||||
|
{28ac9cf2-5bde-59f7-aebe-4b3d008090fe} <- Manufacturer + Family + BaseboardManufacturer + BaseboardProduct
|
||||||
|
{e821e0e2-e11a-5e94-bf5d-ffe53c5e5048} <- Manufacturer + Family
|
||||||
|
{bdd76d3e-147f-58a9-a0b2-42136454ed07} <- Manufacturer + EnclosureKind
|
||||||
|
{b2e58e8b-fb10-5cd0-8fb0-5bd931f1871a} <- Manufacturer + BaseboardManufacturer + BaseboardProduct
|
||||||
|
{50af5797-a2f2-58b1-9a1a-453bcbb2e025} <- Manufacturer
|
||||||
|
Extra Hardware IDs
|
||||||
|
------------------
|
||||||
|
{e6ff1b45-1955-5701-89ab-04fe2280cb4a} <- Manufacturer + Family + ProductName + ProductSku + BiosVendor
|
||||||
|
{8c4a76b9-e29e-5a3c-9072-9664898ecae6} <- Manufacturer + Family + ProductName + BiosVendor
|
||||||
|
{7b3d90ce-ed79-5951-a48a-764ea9f11146} <- Manufacturer + BiosVendor
|
||||||
|
*/
|
||||||
|
|
||||||
|
static const EFI_GUID actual_chids[] = {
|
||||||
|
{0x00000000, 0x0000, 0x0000, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}},
|
||||||
|
{0x00000000, 0x0000, 0x0000, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}},
|
||||||
|
{0x00000000, 0x0000, 0x0000, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}},
|
||||||
|
{0x01e09b32, 0xde05, 0x56ca, {0xb9, 0xd1, 0x94, 0x86, 0xad, 0x5f, 0x38, 0x1d}},
|
||||||
|
{0xcad87a11, 0x1813, 0x507b, {0x9a, 0xab, 0x9a, 0x5f, 0x45, 0x7b, 0x64, 0x9c}},
|
||||||
|
{0x377c823d, 0x60d1, 0x55b0, {0x96, 0x78, 0x76, 0xcd, 0x2a, 0xf9, 0xd0, 0x86}},
|
||||||
|
{0x28ac9cf2, 0x5bde, 0x59f7, {0xae, 0xbe, 0x4b, 0x3d, 0x00, 0x80, 0x90, 0xfe}},
|
||||||
|
{0xe821e0e2, 0xe11a, 0x5e94, {0xbf, 0x5d, 0xff, 0xe5, 0x3c, 0x5e, 0x50, 0x48}},
|
||||||
|
{0x1c092f1d, 0xdc7b, 0x564f, {0x8a, 0x3d, 0x12, 0x8d, 0x72, 0x92, 0xfa, 0xb8}},
|
||||||
|
{0xc12c1f4a, 0x332d, 0x5d72, {0xaa, 0x36, 0x7a, 0x3d, 0x41, 0x3b, 0x47, 0x9a}},
|
||||||
|
{0x28ac9cf2, 0x5bde, 0x59f7, {0xae, 0xbe, 0x4b, 0x3d, 0x00, 0x80, 0x90, 0xfe}},
|
||||||
|
{0xe821e0e2, 0xe11a, 0x5e94, {0xbf, 0x5d, 0xff, 0xe5, 0x3c, 0x5e, 0x50, 0x48}},
|
||||||
|
{0x00000000, 0x0000, 0x0000, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}},
|
||||||
|
{0xb2e58e8b, 0xfb10, 0x5cd0, {0x8f, 0xb0, 0x5b, 0xd9, 0x31, 0xf1, 0x87, 0x1a}},
|
||||||
|
{0x00000000, 0x0000, 0x0000, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}},
|
||||||
|
};
|
||||||
|
|
||||||
|
TEST(chid) {
|
||||||
|
/* Results compared with output of 'fwupdtool hwids' */
|
||||||
|
EFI_GUID chids[CHID_TYPES_MAX];
|
||||||
|
chid_calculate(test_fields, chids);
|
||||||
|
for (size_t i = 0; i < ELEMENTSOF(chids); i++) {
|
||||||
|
ASSERT_EQ_EFI_GUID(&chids[i], &actual_chids[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
static int intro(void) {
|
||||||
|
#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
|
||||||
|
return EXIT_SUCCESS;
|
||||||
|
#else
|
||||||
|
return log_tests_skipped("cannot run CHID calculation on big-endian machine");
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
DEFINE_TEST_MAIN_WITH_INTRO(LOG_INFO, intro);
|
|
@ -538,7 +538,6 @@ TEST(bind_mount_submounts) {
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(path_is_network_fs_harder) {
|
TEST(path_is_network_fs_harder) {
|
||||||
ASSERT_OK(path_is_network_fs_harder("/"));
|
|
||||||
ASSERT_OK_ZERO(path_is_network_fs_harder("/dev"));
|
ASSERT_OK_ZERO(path_is_network_fs_harder("/dev"));
|
||||||
ASSERT_OK_ZERO(path_is_network_fs_harder("/sys"));
|
ASSERT_OK_ZERO(path_is_network_fs_harder("/sys"));
|
||||||
ASSERT_OK_ZERO(path_is_network_fs_harder("/run"));
|
ASSERT_OK_ZERO(path_is_network_fs_harder("/run"));
|
||||||
|
|
Loading…
Reference in New Issue