Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2023-03-18 | man: explicitly list three command syntax at the beginning | Yu Watanabe | 1 | -1/+12 | |
2023-03-18 | units: Order user@.service after systemd-oomd.service | Daan De Meyer | 1 | -1/+1 | |
The user manager connects to oomd over varlink. Currently, during shutdown, if oomd is stopped before any user manager, the user manager will try to reconnect to the socket, leading to a warning from pid 1 about a conflicting transaction. Let's fix this by ordering user@.service after systemd-oomd.service, so that user sessions are stopped before systemd-oomd is stopped, which makes sure that the user sessions won't try to start oomd via its socket after systemd-oomd is stopped. | |||||
2023-03-17 | sleep: fix default values unmatched with manual | Mike Yuan | 2 | -2/+5 | |
2023-03-17 | po: Translated using Weblate (Bulgarian) | Velislav Ivanov | 1 | -12/+11 | |
Currently translated at 100.0% (193 of 193 strings) Co-authored-by: Velislav Ivanov <velislav.bg@gmail.com> Translate-URL: https://translate.fedoraproject.org/projects/systemd/master/bg/ Translation: systemd/main | |||||
2023-03-17 | kernel-install: check all entry candidates first, then check existence of ↵ | Yu Watanabe | 1 | -8/+8 | |
$pref/loader/entries only once If we have multiple entries in $ENTRY_TOKEN_SEARCH, and $pref/loader/entries exists, then previously we would always exit after the first candidate and ignore the second and later candidates. Follow-up for 1b43f868934e971480249a6e0fa2f45da906ea2e. | |||||
2023-03-17 | Revert "kernel-install: also try to find $BOOT by partition GUID" | Yu Watanabe | 1 | -20/+0 | |
This reverts commit 41f39e2144c935868059e894c1a1e13803e3568f. From the post merge comment in #26648: > Hmm, this is highly problematic, no? if I boot from my ssd and then > plug in a fedora live usb stick, then there will be two ESPs around, > the one from my ssd and the one from the live usb one, and this code > might find the wrong one and bad things will happen | |||||
2023-03-17 | uki-util: move functions for inspecting kernel to uki-util.[ch] | Yu Watanabe | 4 | -300/+320 | |
2023-03-17 | bootctl: introduce inspect_kernel() | Yu Watanabe | 1 | -39/+87 | |
Then, now verb_kernel_identify() and verb_kernel_inspect() can share most of the code. | |||||
2023-03-17 | bootctl: introduce uki_read_pretty_name() | Yu Watanabe | 1 | -11/+36 | |
No functional change, just prepration for later commits. | |||||
2023-03-17 | bootctl: find matching section in read_pe_section() | Yu Watanabe | 1 | -11/+33 | |
No functional change, just refactoring. | |||||
2023-03-17 | bootctl: return 0 instead of EXIT_SUCCESS | Yu Watanabe | 3 | -4/+4 | |
2023-03-17 | bootctl: move verb_kernel_identity() | Yu Watanabe | 1 | -24/+24 | |
No functional change, just for making beautify later diffs. | |||||
2023-03-17 | os-util: add missing headers | Yu Watanabe | 1 | -0/+3 | |
For 'bool' and 'usec_t'. | |||||
2023-03-17 | exec-util: introduce EXEC_DIR_SKIP_REMAINING flag | Yu Watanabe | 2 | -3/+22 | |
Will be used in later commits. | |||||
2023-03-17 | exec-util: extract the core logic of execute_directories() as execute_strv() | Yu Watanabe | 2 | -16/+48 | |
Then, we can use it with a custom enumerator of executables. No functional change, preparation for later commits. | |||||
2023-03-17 | exec-util: enumerate executables earlier | Yu Watanabe | 1 | -10/+13 | |
Then, return earlier if no executable found. | |||||
2023-03-17 | exec-util: drop meaningless casts | Yu Watanabe | 1 | -7/+6 | |
2023-03-17 | exec-util: tighten variable scope a bit | Yu Watanabe | 1 | -5/+6 | |
2023-03-17 | boot: Add undefined sanitizer support | Jan Janssen | 4 | -5/+62 | |
Sadly, no stack traces, but this is better than nothing. | |||||
2023-03-17 | meson: Share more C flags | Jan Janssen | 5 | -10/+18 | |
2023-03-17 | boot: Add support for -ftrapv | Jan Janssen | 2 | -1/+6 | |
2023-03-17 | boot: Add support for -fstack-protector | Jan Janssen | 5 | -6/+51 | |
2023-03-17 | boot: Detect nested assertions | Jan Janssen | 1 | -5/+18 | |
2023-03-17 | test: add a testcase that dir_fd_is_root() is not confused by bind mount | Yu Watanabe | 1 | -0/+33 | |
See the comment in dir_fd_is_root() and https://github.com/systemd/systemd/pull/26820#issuecomment-1469554966. | |||||
2023-03-17 | mkosi: Enable some debugging options by default | Daan De Meyer | 2 | -9/+12 | |
2023-03-17 | man: fix misspelled executable name (#26858) | Addison Snelling | 1 | -2/+2 | |
2023-03-16 | repart: Report better errors if partition sizes are too small | Daan De Meyer | 1 | -1/+22 | |
2023-03-16 | repart: Zero full verity signature partition size | Daan De Meyer | 1 | -7/+4 | |
systemd-dissect requires the entirety of the partition following the signature to be zeroed, so let's do just that. | |||||
2023-03-16 | repart: Make sure we seek to beginning of partition target before copy | Daan De Meyer | 1 | -0/+3 | |
2023-03-16 | mkosi: Use default timeout of 10s | Daan De Meyer | 2 | -0/+3 | |
Let's override the default timeout to something more reasonable for mkosi builds. | |||||
2023-03-16 | test: wrap mkfs.*/mksquashfs/mkswap binaries when running w/ ASan | Frantisek Sumsal | 1 | -5/+7 | |
2023-03-16 | journald-console: Add colors when forwarding to console | Daan De Meyer | 2 | -2/+7 | |
Let's color output when we're forwarding to the console. To make this work, we inherit TERM from pid 1 and use it to decide whether we should output colors or not. | |||||
2023-03-16 | terminal-util: Don't assume terminal is dumb if connected to /dev/null | Daan De Meyer | 1 | -1/+17 | |
If we're connected to /dev/null, we're likely going to be writing colors to something that's not stdout/stderr, so let's fall back to checking TERM if that's the case. | |||||
2023-03-16 | doc: update ELF_PACKAGE_METADATA to use linker flag instead of manual script | Luca Boccassi | 1 | -49/+5 | |
bfd/gold/mold/lld support this flag, so document it explicitly, and drop the manually written linker script which is no longer necessary | |||||
2023-03-16 | test: add tests for summary output of udevadm verify | Yu Watanabe | 1 | -11/+50 | |
2023-03-16 | test: reindent testsuite-17.11.sh | Yu Watanabe | 1 | -35/+36 | |
2023-03-16 | udevadm-verify: add a short summary | Yu Watanabe | 1 | -2/+18 | |
2023-03-16 | sd-journal: fix segfault | Yu Watanabe | 1 | -0/+2 | |
Unfortunately, journal_file_next_entry() returns 0 when the next entry not found. The commit cc938e4a0ab67707e489cc3970a8557ad89801ca adds FIXME comment about that. We should really fix that, but the function and its return value are used in many place, hence checking all usecases is not easy. So, let's workaround that here, and handle the 0 return value by the caller. Follow-up for 34af74946e8853411f18120007ebaca6549b2a52. Fixes #26822. | |||||
2023-03-15 | updated usage of SD_BUS_METHOD_WITH_NAMES macros to SD_BUS_METHOD_WIT… ↵ | OMOJOLA JOSHUA | 1 | -27/+15 | |
(#26840) * localed: update usage of SD_BUS_METHOD_WITH_NAMES macros to SD_BUS_METHOD_WITH_ARGS | |||||
2023-03-15 | github: update default and example in template | Yu Watanabe | 2 | -5/+5 | |
2023-03-15 | manager: fix scope for environment generators | Ludwig Nussel | 1 | -1/+1 | |
fixes regression introduced by 4870133bfa | |||||
2023-03-15 | test: fix testsuite-17.10.sh | Dmitry V. Levin | 1 | -0/+1 | |
Make sure /etc/udev/hwdb.d/ exists before creating a file inside it. Fixes: 95cf8cae77f7 ("test: add coverage test for udevadm") | |||||
2023-03-15 | udev-rules: check for conflicting and duplicate expressions | Dmitry V. Levin | 2 | -4/+102 | |
Log an error when a rule line contains conflicting match expressions, e.g. NAME=="value", NAME!="value" Log a warning when a rule line contains duplicate expressions, e.g. NAME=="value", NAME=="value" | |||||
2023-03-15 | Update github issue template to include systemd-dissect | Cornelius Hoffmann | 3 | -0/+5 | |
2023-03-15 | userdbd: make static const what we can make so | Lennart Poettering | 1 | -1/+1 | |
2023-03-15 | userdbd: rework to use sd_event_add_child() instead of manual SIGCHLD | Lennart Poettering | 1 | -50/+32 | |
Let's modernize userdbd furzer, and use the common child handling we nowadays have in sd-event, instead of rolling our own. This also means we'll start using pidfds where we can. | |||||
2023-03-15 | userdbd: make use of FORK_CLOSE_ALL_FDS + FORK_REOPEN_LOG where we can | Lennart Poettering | 1 | -11/+6 | |
2023-03-15 | userdbd: modernize signal handling | Lennart Poettering | 3 | -16/+8 | |
Let's make use of SD_EVENT_SIGNAL_PROCMASK so that we don't have to mask the signals manually. Let's use sd_event_set_exit_signal() instead of rolling our own SIGTERM/SIGINT handling. Let's use "floating" event sources instead of keeping references on our own. Let's also debug log if we can't enable watchdog handling. | |||||
2023-03-15 | fs-util: Drop unlink_noerrno() | Daan De Meyer | 6 | -36/+12 | |
2023-03-15 | test: add testsuite-74.machinectl | Mike Yuan | 2 | -0/+47 | |