summaryrefslogtreecommitdiffstats
path: root/test/TEST-35-LOGIN (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-03-18man: explicitly list three command syntax at the beginningYu Watanabe1-1/+12
2023-03-18units: Order user@.service after systemd-oomd.serviceDaan De Meyer1-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-17sleep: fix default values unmatched with manualMike Yuan2-2/+5
2023-03-17po: Translated using Weblate (Bulgarian)Velislav Ivanov1-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-17kernel-install: check all entry candidates first, then check existence of ↵Yu Watanabe1-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-17Revert "kernel-install: also try to find $BOOT by partition GUID"Yu Watanabe1-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-17uki-util: move functions for inspecting kernel to uki-util.[ch]Yu Watanabe4-300/+320
2023-03-17bootctl: introduce inspect_kernel()Yu Watanabe1-39/+87
Then, now verb_kernel_identify() and verb_kernel_inspect() can share most of the code.
2023-03-17bootctl: introduce uki_read_pretty_name()Yu Watanabe1-11/+36
No functional change, just prepration for later commits.
2023-03-17bootctl: find matching section in read_pe_section()Yu Watanabe1-11/+33
No functional change, just refactoring.
2023-03-17bootctl: return 0 instead of EXIT_SUCCESSYu Watanabe3-4/+4
2023-03-17bootctl: move verb_kernel_identity()Yu Watanabe1-24/+24
No functional change, just for making beautify later diffs.
2023-03-17os-util: add missing headersYu Watanabe1-0/+3
For 'bool' and 'usec_t'.
2023-03-17exec-util: introduce EXEC_DIR_SKIP_REMAINING flagYu Watanabe2-3/+22
Will be used in later commits.
2023-03-17exec-util: extract the core logic of execute_directories() as execute_strv()Yu Watanabe2-16/+48
Then, we can use it with a custom enumerator of executables. No functional change, preparation for later commits.
2023-03-17exec-util: enumerate executables earlierYu Watanabe1-10/+13
Then, return earlier if no executable found.
2023-03-17exec-util: drop meaningless castsYu Watanabe1-7/+6
2023-03-17exec-util: tighten variable scope a bitYu Watanabe1-5/+6
2023-03-17boot: Add undefined sanitizer supportJan Janssen4-5/+62
Sadly, no stack traces, but this is better than nothing.
2023-03-17meson: Share more C flagsJan Janssen5-10/+18
2023-03-17boot: Add support for -ftrapvJan Janssen2-1/+6
2023-03-17boot: Add support for -fstack-protectorJan Janssen5-6/+51
2023-03-17boot: Detect nested assertionsJan Janssen1-5/+18
2023-03-17test: add a testcase that dir_fd_is_root() is not confused by bind mountYu Watanabe1-0/+33
See the comment in dir_fd_is_root() and https://github.com/systemd/systemd/pull/26820#issuecomment-1469554966.
2023-03-17mkosi: Enable some debugging options by defaultDaan De Meyer2-9/+12
2023-03-17man: fix misspelled executable name (#26858)Addison Snelling1-2/+2
2023-03-16repart: Report better errors if partition sizes are too smallDaan De Meyer1-1/+22
2023-03-16repart: Zero full verity signature partition sizeDaan De Meyer1-7/+4
systemd-dissect requires the entirety of the partition following the signature to be zeroed, so let's do just that.
2023-03-16repart: Make sure we seek to beginning of partition target before copyDaan De Meyer1-0/+3
2023-03-16mkosi: Use default timeout of 10sDaan De Meyer2-0/+3
Let's override the default timeout to something more reasonable for mkosi builds.
2023-03-16test: wrap mkfs.*/mksquashfs/mkswap binaries when running w/ ASanFrantisek Sumsal1-5/+7
2023-03-16journald-console: Add colors when forwarding to consoleDaan De Meyer2-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-16terminal-util: Don't assume terminal is dumb if connected to /dev/nullDaan De Meyer1-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-16doc: update ELF_PACKAGE_METADATA to use linker flag instead of manual scriptLuca Boccassi1-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-16test: add tests for summary output of udevadm verifyYu Watanabe1-11/+50
2023-03-16test: reindent testsuite-17.11.shYu Watanabe1-35/+36
2023-03-16udevadm-verify: add a short summaryYu Watanabe1-2/+18
2023-03-16sd-journal: fix segfaultYu Watanabe1-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-15updated usage of SD_BUS_METHOD_WITH_NAMES macros to SD_BUS_METHOD_WIT… ↵OMOJOLA JOSHUA1-27/+15
(#26840) * localed: update usage of SD_BUS_METHOD_WITH_NAMES macros to SD_BUS_METHOD_WITH_ARGS
2023-03-15github: update default and example in templateYu Watanabe2-5/+5
2023-03-15manager: fix scope for environment generatorsLudwig Nussel1-1/+1
fixes regression introduced by 4870133bfa
2023-03-15test: fix testsuite-17.10.shDmitry V. Levin1-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-15udev-rules: check for conflicting and duplicate expressionsDmitry V. Levin2-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-15Update github issue template to include systemd-dissectCornelius Hoffmann3-0/+5
2023-03-15userdbd: make static const what we can make soLennart Poettering1-1/+1
2023-03-15userdbd: rework to use sd_event_add_child() instead of manual SIGCHLDLennart Poettering1-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-15userdbd: make use of FORK_CLOSE_ALL_FDS + FORK_REOPEN_LOG where we canLennart Poettering1-11/+6
2023-03-15userdbd: modernize signal handlingLennart Poettering3-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-15fs-util: Drop unlink_noerrno()Daan De Meyer6-36/+12
2023-03-15test: add testsuite-74.machinectlMike Yuan2-0/+47