| Commit message (Collapse) | Author | Files | Lines |
|
|
|
has-tpm2 command is moved to systemd-analyze.
Follow-up for 58e359604ffdca12bb4d2c5807b96e070611c0f6.
|
|
of the libraries
For example, 'bootctl status' only interested in if the efi has TPM2
support and a TPM2 driver is loaded. Hence, not necessary to load
libtss2.
|
|
|
|
Various tests skip themselves when running in a container so make
sure the test runs in a virtual machine so we get full coverage.
|
|
Previously, when the test ran on mkosi, then networkd was not masked, and
might be already started. In that case, the interface test2 would be created
soon after the .netdev file is created, and the .link file would not be
applied to the interface. Hence, the later test case for
'networkctl cat @test2:link' would fail.
This make networkd always started at the beginning of the test, and
.netdev file created after .link file is created. So, .link file is
always applied to the interface created by the .netdev file.
|
|
Follow-up for 8aee931e7ae1adb01eeac0e1e4c0aef6ed3969ec.
|
|
Follow-up for f4e081051d950a09ce9331ba55eaf604dac72652.
|
|
This breaks TEST-74-AUX-UTILS when run in a VM as the user gets access
to journal files that the test expects it can't access.
|
|
This feature has been deprecated since QEMU 5.0 and finally removed in
QEMU 9.1 [0] which now causes issues when running the storage tests on
latest Arch:
------ testcase_long_sysfs_path: BEGIN ------
...
qemu-system-x86_64: -device virtio-blk-pci,drive=drive0,scsi=off,bus=pci_bridge25: Property 'virtio-blk-pci.scsi' not found
E: qemu failed with exit code 1
[0] https://github.com/qemu/qemu/commit/a271b8d7b2f39275a05e49deb7c8edc20b7a8279
|
|
|
|
This also adds missing error check of sd_json_dispatch().
Follow-up for 54452c7b2aa03536331fc1ec04439c89d0320b57.
|
|
|
|
|
|
|
|
This also fixes memory leak of Version object on failure.
Follow-up for ec15bb71c2ccd57702325a6e6626053a343f3511.
|
|
|
|
|
|
|
|
```
In file included from ../src/nsresourced/nsresourced-manager.c:9:
../src/shared/bpf-link.h:5:10: fatal error: bpf/libbpf.h: No such file or directory
5 | #include <bpf/libbpf.h>
| ^~~~~~~~~~~~~~
```
Follow-up for 46718d344fdaaaf523d854a0c728197e7406a55a
|
|
The functionality was explicitly not included in 6.11 for some
unknown reason so drop the logic from systemd-repart as well so
we don't release v257 with it included.
|
|
Otherwise, `<variable>$BOOT</variable>` is rendered:
```
[2548/2992] Generating man/repart.d.5 with a custom command
Element variable in namespace '' encountered in para, but no template matches.
Element variable in namespace '' encountered in para, but no template matches.
```
|
|
Signed-off-by: Marius Hoch <mail@mariushoch.de>
|
|
|
|
main pid and control pid is captured
If `Delegate` is configured in service, cgroup agent will never send out
any datagram as .control subcgroup is generated. Thus systemd will watch
all processes on the cgroup hierarchy for SIGCHLD to deal with unreliable
cgroup notifications.
In this way, systemd should rewatch all processes when any SIGCHLD is
captured, more than the control pid or main pid.
|
|
SetShowStatus() was added in order to fix #11447. Recently, I ran into
the exact same problem that OP was experiencing in #11447. I wasn’t able
to figure out how to deal with the problem until I found #11447, and it
took me a while to find #11447.
This commit takes what I learned from reading #11447 and adds it to the
documentation. Hopefully, this will make it easier for other people who
run into the same problem in the future.
|
|
Fixes #34459.
|
|
To support the case that paths to plugins contain spaces.
Prompted by #34459
|
|
Fixes db15657dfb8100c3c6cd8cf60fa68521e019d47a
|
|
This prints a python data structure which we shouldn't do during
normal operation.
|
|
No functional change, just refactoring.
|
|
The test cannot run with the bash test runner, as it requires python.
Hence, test.sh is not necessary.
Follow-up for a37640653cab108bb2cfdcba7e9422cced925e95.
|
|
Follow-up for a37640653cab108bb2cfdcba7e9422cced925e95.
|
|
This mirrors the behavior of `systemd-firstboot` and allows bootup
messages to settle down before user input is actually processed.
See: https://github.com/systemd/systemd/issues/34448
|
|
|
|
Previously, if an file cannot be opened, e.g. due to its permission,
config_parse_many() or so did not log the error even if CONFIG_PARSE_WARN
flag is set. This makes all error paths in these functions are logged,
and the log level is controlled by the flag.
Prompted by #34436.
|
|
|
|
This was designed to deal with $BOOT, as defined by the Boot Loader
Specification, but it was made a generic mechanism because it is useful
elsewhere too. See the updated man page for usage examples, motivation,
and an explanation of how this works.
|
|
Fixes an oversight in `context_allocate_partitions` that makes it
succeed in cases where it should fail. Essentially, there was nothing
actually enforcing SizeMinBytes= and PaddingMinBytes= for partitions
that exist, only for new partitions. This behavior is inconsistent with
the docs, which state that existing partitions will be grown to at least
the specified minimum size, and that "If the backing device does not
provide enough space to fulfill the constraints placing the partition
will fail".
|
|
The macro didn't properly parenthesize a caller-controlled argument.
For example: `STRV_FOREACH_PAIR(a, b, something ?: something_else)`
would expand to `typeof(*something ?: something_else)`, which would
cause compile failures
|
|
|
|
|
|
When an interface enters unmanaged state, there are two possibilities:
- no matching .network file found,
- found a matching .network with Unmanaged=yes.
When a matching .network file is found, networkd logs the filename.
Let's also log when no matching .network file is found.
This also slightly adjust the log message when a matching .network file
found.
Closes #34436.
|
|
The error code `r` from the read function is being logged, but the error code `rc` from the table data insertion function should be logged instead.
|
|
|
|
This tests the whole shebang:
1. That ukify can generate them properly
2. That systemd-boot can dissect them properly
3. That systemd-stub can accept profile selection propery
4. That the profile information ends up in /run/systemd/stub/ properly
5. That systemd-measure correctly calculates the expected PCR 11 values
for each profile and that we can unlock a public-key bound LUKS
volume with it
|
|
|
|
Follow-up for 27cacec939a46f61706d7b48a51b6f5880be4662.
|
|
log_setup() overrides the previously set log target again so we
can't use it in log_setup_generator().
Follow-up for aa976d87889ae22b7347787a1ebd03a31dcc0a9e
|
|
|