summaryrefslogtreecommitdiffstats
path: root/.packit.yml (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-09-18nsresourced: fix build without libbpfAntonio Alvarez Feijoo1-0/+2
``` 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
2024-09-18repart: Drop unprivileged subvolumes logic for btrfsDaan De Meyer1-58/+9
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.
2024-09-18man/repart: use <varname> instead of <variable>Antonio Alvarez Feijoo1-2/+2
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. ```
2024-09-18hwdb: Add accel orientation quirk for the IdeaPad Duet 3 10IGL5-LTEMarius Hoch1-1/+2
Signed-off-by: Marius Hoch <mail@mariushoch.de>
2024-09-18repart: Support specifying multiple directories to ExcludeFiles=Daan De Meyer2-18/+33
2024-09-18systemd: rewatch pids under cgroup v1 when sigchld of processes more than ↵chenjiayi1-1/+1
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.
2024-09-18man: document ShowStatus and SetShowStatus()Jason Yundt3-7/+40
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.
2024-09-18test: quote paths to executablesYu Watanabe5-45/+46
Fixes #34459.
2024-09-18kernel-install: unquote plugin paths in KERNEL_INSTALL_PLUGINSYu Watanabe2-4/+11
To support the case that paths to plugins contain spaces. Prompted by #34459
2024-09-17tmpfiles.d: Remove purge flag from lines that don't support itDaan De Meyer2-5/+5
Fixes db15657dfb8100c3c6cd8cf60fa68521e019d47a
2024-09-17ukify: Remove debug logDaan De Meyer1-3/+0
This prints a python data structure which we shouldn't do during normal operation.
2024-09-17network/dhcp4: use device_get_property_bool() at link_needs_dhcp_broadcast()Yu Watanabe1-12/+19
No functional change, just refactoring.
2024-09-17test: drop unused test.sh for TEST-86-MULTI-PROFILE-UKIYu Watanabe1-10/+0
The test cannot run with the bash test runner, as it requires python. Hence, test.sh is not necessary. Follow-up for a37640653cab108bb2cfdcba7e9422cced925e95.
2024-09-17test: minor coding style fixletsYu Watanabe1-5/+5
Follow-up for a37640653cab108bb2cfdcba7e9422cced925e95.
2024-09-17homed: wait for user input during firstbootMichael Ferrari4-16/+24
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
2024-09-17conf-parser: use hashmap_ensure_put() at one more placeYu Watanabe1-5/+1
2024-09-17conf-parser: log errors in config_parse_many_files() and friendsYu Watanabe1-27/+22
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.
2024-09-17repart: Add tests for supplement partitionsAdrian Vovk1-0/+79
2024-09-17repart: Add SupplementFor= logicAdrian Vovk2-65/+431
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.
2024-09-17repart: Consider existing partitions when placingAdrian Vovk1-2/+10
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".
2024-09-17strv: Fixup STRV_FOREACH_PAIR macroAdrian Vovk1-1/+1
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
2024-09-17log: introduce log_oom_full()Yu Watanabe1-3/+4
2024-09-17network: log loaded .network and .netdev filesYu Watanabe2-1/+2
2024-09-17network: log when no matching .network file foundYu Watanabe1-4/+4
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.
2024-09-17Use correct error code in log message in output_waiting_jobs (#34404)PavlNekrasov1-3/+2
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.
2024-09-17update TODOLennart Poettering1-0/+2
2024-09-17ci: add testcase for multi-profile UKIsLennart Poettering5-0/+108
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
2024-09-17docs: fix typo in filename: REATLIME -> REALTIMEYu Watanabe3-2/+2
2024-09-17test/repart: fix mkfs checkerYu Watanabe1-3/+6
Follow-up for 27cacec939a46f61706d7b48a51b6f5880be4662.
2024-09-17Fix generator loggingDaan De Meyer1-2/+4
log_setup() overrides the previously set log target again so we can't use it in log_setup_generator(). Follow-up for aa976d87889ae22b7347787a1ebd03a31dcc0a9e
2024-09-17CONTROL_GROUP_INTERFACE: fix link to systemd-run codeArian van Putten1-1/+1
2024-09-17network: drop unnecessary BPF related objects from Manager when disabledYu Watanabe2-0/+4
2024-09-17network/sysctl-monitor: do not allocate sysctl_shadow when eBPF is not supportedYu Watanabe5-24/+31
When eBPF is disabled, the hashmap will be never used. Let's not allocate it.
2024-09-16network/sysctl-monitor: fix use-after-freeYu Watanabe1-1/+1
Previously, manager_free() did not assign NULL to Manager.sysctl_shadow, hence sysctl_clear_link_shadows() called by link_free() will causes use-after-free. To fix the issue, this makes Manager.sysctl_shadow will be set to NULL after it is freed, Fixes a bug introduced by 6d9ef22acdeac4b429efb75164341233955484af.
2024-09-16network/sysctl: several cleanups for sysctl_add_monitor()Yu Watanabe1-10/+16
- rename rootcg -> root_cgroup_fd, to emphasize it is a fd, - drop nested function call, and check error code.
2024-09-16bpf-link: introduce bpf_ring_buffer_free() and friendsYu Watanabe4-12/+16
Then, replace rb_free() in networkd. Follow-up for 6d9ef22acdeac4b429efb75164341233955484af.
2024-09-16network/sysctl: use wrapped free functionsYu Watanabe1-16/+3
No functional change, just refactoring. Follow-up for 6d9ef22acdeac4b429efb75164341233955484af.
2024-09-16network/sysctl-monitor: fix sanity check in cut_last()Yu Watanabe1-8/+7
This also adds basic comment about the return code. Follow-up for 6d9ef22acdeac4b429efb75164341233955484af.
2024-09-16NEWS: fix typoYu Watanabe1-2/+2
Follow-up for dcc359010c0a0d8366ade913bad72acb98f4f0ef.
2024-09-16man: fix typoYu Watanabe1-1/+1
Follow-up for a632d8dd9f6cd5cf8e43862f0ea896cc571b1cab.
2024-09-16nspawn: fix typoYu Watanabe1-1/+1
Follow-up for d7a6bb9891ecc38a1bedef9689d00671bb0001ff.
2024-09-16basic/build: also include BTF statusMike Yuan1-1/+7
2024-09-16coredump: use _cleanup_(iovec_done) where appropriateLennart Poettering1-8/+7
2024-09-16bootctl: show whether a PE file is an addon in 'booctl kernel-identify'Lennart Poettering3-1/+14
2024-09-16hwdb: add Kensington SlimBlade Pro trackball (Bluetooth mode)Celeste Liu1-0/+4
Wired and 2.4G dongle connectivity is covered by general trackball rule, but with Bluetooth connectivity Kensington SlimBlade Pro uses the name "SlimBlade Pro" which doesn't contain "[Tt]rack[Bb]all". We need to process it specially. Signed-off-by: Celeste Liu <CoelacanthusHex@gmail.com>
2024-09-15repart: Fix log messages in partition_populate_directory()Daan De Meyer1-2/+2
We're not actually populating a filesystem here, we're preparing to populate a filesystem, so update the log messages accordingly.
2024-09-15tmpfiles.d: add $ flag to all lines which are clearly private to our ↵Lennart Poettering7-16/+16
packages, and should be removed on package removal (This excludes any dirs that contain resources placed there by the user) (I also didn't bother marking resources belonging to components that are really not optional for us)
2024-09-15tmpfiles: introduce an explicit line flag $ for enabling purge logic for a lineLennart Poettering5-7/+48
Let's make the risk of accidental misuse, and mark lines that shall be covered by --purge with an explicit new flag "$". See: #33349
2024-09-15bootctl: also show current/default/oneshot entry literally in outputLennart Poettering1-1/+13
2024-09-15bootctl: add --print-loader-path + --print-stub-pathLennart Poettering2-2/+107
These are inspired by the existing commands that return the path to the boot or ESP partitions. However, these new commands show the path to the boot loader (systemd-boot) or UKI/stub (systemd-stub) that was used on the current boot. This information is derived from EFI variables.