summaryrefslogtreecommitdiffstats
path: root/docs/style.css (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-07-11shared/async: prefix process name with sd-Mike Yuan1-1/+1
2023-07-10tree-wide: drop trailing newline from various log callsLennart Poettering7-13/+13
We generate this implicitly, hence we generally don't include it explicitly.
2023-07-10bus-unit-util: add common code for reloading PID 1Lennart Poettering8-63/+40
We have this very similar code in various places, and it#s not entirely obvious (since we want a prolonged timeout for the reload), hence unify this at one place.
2023-07-10test-fstab-generator: use test_envLuca Boccassi1-0/+1
When running from the build directory systemd-detect-virt might not be installed, so tell meson to set up the PATH accordingly to point to the build directory. Fixes https://github.com/systemd/systemd/issues/28316
2023-07-10sd-gpt: add missing SD_GPT_*NATIVE* defines for mips/mips64/pariscLuca Boccassi1-0/+23
We already had the arch-specific UUIDs defined, but they were not wired up
2023-07-10test: reorder the machinectl signal testsFrantisek Sumsal1-2/+3
So the multiple-machines tests run last to avoid a race where the checked signal would get ignored while the stub init is still processing the previous signals: [ 17.380417] testsuite-13.sh[376]: + machinectl reboot long-running long-running long-running [ 17.389888] systemd-nspawn[495]: ++ touch /reboot [ 17.390904] testsuite-13.sh[376]: + rm -f /var/lib/machines/long-running/trap [ 17.393937] testsuite-13.sh[376]: + machinectl kill --signal=SIGTRAP --kill-whom=leader long-running [ 17.408905] testsuite-13.sh[376]: + timeout 10 bash -c 'while ! test -e /var/lib/machines/long-running/trap; do sleep .5; done' [ 27.413210] testsuite-13.sh[376]: + at_exit ... [ 27.993376] testsuite-13.sh[373]: + echo 'Subtest /usr/lib/systemd/tests/testdata/units/testsuite-13.machinectl.sh failed'
2023-07-10mkosi: Add tpm2-tools to the initrdDaan De Meyer3-0/+14
To provide tpm2_eventlog for PCR debugging.
2023-07-10analyze-pcrs: Fix typoDaan De Meyer1-1/+1
2023-07-10tpm2-util: Check for dlopen() when calculating tpm2 supportDaan De Meyer3-3/+10
2023-07-10sleep: fix unused variable warningLuca Boccassi1-3/+2
log_level_ignored is used only inside the ifdef, so declare it there too
2023-07-10process-util: use clone2 on ia64Luca Boccassi2-0/+18
glibc does not provide clone() on ia64, only clone2. But only as a symbol in the shared library, there's no prototype in the gblic headers, so we have to define it, copied from the manpage.
2023-07-10Cast st_dev to dev_t when printingLuca Boccassi1-1/+1
st_dev is not the same as dev_t, and on O32 architectures like mipsel it's an unsigned long, but dev_t is still unsigned long long, so they don't match and compilation fails: ../src/journal/cat.c: In function ‘run’: ../src/basic/format-util.h:46:19: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘long unsigned int’ [-Werror=format=] 46 | # define DEV_FMT "%" PRIu64 | ^~~ ../src/journal/cat.c:168:34: note: in expansion of macro ‘DEV_FMT’ 168 | if (asprintf(&s, DEV_FMT ":" INO_FMT, st.st_dev, st.st_ino) < 0) | ^~~~~~~ In file included from ../src/systemd/sd-journal.h:20, from ../src/journal/cat.c:11: /usr/include/inttypes.h:105:41: note: format string is defined here 105 | # define PRIu64 __PRI64_PREFIX "u"
2023-07-10network-generator: Add missing umask(0022)Daan De Meyer1-0/+2
2023-07-10network-generator: Add missing log_setup()Daan De Meyer1-0/+2
2023-07-10boot: Fix build for x32Jan Janssen3-24/+35
When building on a x32 system we need to explicitly pass `-m64` to get the right ABI as the kernel and EFI are still 64bit. For this to actually work, a suitable multilib compiler, 32bit libc headers and libgcc need to be installed (similar to ia32 builds on x86_64).
2023-07-10Print ssize_t as %zdLuca Boccassi1-1/+1
On some architectures (x32) ssize_t is int, not long int. ../src/basic/confidential-virt.c: In function ‘msr’: ../src/basic/confidential-virt.c:133:27: error: format ‘%ld’ expects argument of type ‘long int’, but argument 7 has type ‘ssize_t’ {aka ‘int’} [-Werror=format=] 133 | log_debug("Short read %ld bytes from MSR device %s (index %" PRIu64 "), ignoring", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 134 | rv, | ~~ | | | ssize_t {aka int} ../src/basic/log.h:214:86: note: in definition of macro ‘log_full_errno_zerook’ 214 | ? log_internal(_level, _e, PROJECT_FILE, __LINE__, __func__, __VA_ARGS__) \ | ^~~~~~~~~~~ ../src/basic/log.h:242:28: note: in expansion of macro ‘log_full’ 242 | #define log_debug(...) log_full(LOG_DEBUG, __VA_ARGS__) | ^~~~~~~~ ../src/basic/confidential-virt.c:133:17: note: in expansion of macro ‘log_debug’ 133 | log_debug("Short read %ld bytes from MSR device %s (index %" PRIu64 "), ignoring", | ^~~~~~~~~ ../src/basic/confidential-virt.c:133:41: note: format string is defined here 133 | log_debug("Short read %ld bytes from MSR device %s (index %" PRIu64 "), ignoring", | ~~^ | | | long int | %d
2023-07-10test: mount_option_supported() returns EAGAIN when new mount API is not ↵Luca Boccassi1-4/+4
supported Don't fail test-mountpoint-util if we get EAGAIN as it's expected on old kernels
2023-07-10efi: skip libefitest if 'bootloader' is explicitly set to falseLuca Boccassi1-0/+3
On x32 efi_arch will be set as the kernel architecture is just x86_64, but there's no userland support to build the EFI ABI. When -Dbootloader=false is set, skip libefitest too.
2023-07-09hibernate-resume: compare device nodes using path_equal_or_inode_sameMike Yuan1-1/+2
Follow-up for 9deeca127520b1098c3dfab9cdfd3b9c6bf983a4
2023-07-09hibernate-resume: add missing newline to the generated unitMike Yuan1-1/+1
2023-07-09hibernate-resume: refuse resume if resume_offset= is set but not resume=Mike Yuan1-0/+8
2023-07-09coccinelle/take-fd: match for -EBADF instead of -1Mike Yuan1-2/+2
Follow-up for 254d1313ae5a69c08c9b93032aaaf3d6083cfc07
2023-07-09LICENSES/README.md: fix syntaxMike Yuan1-1/+1
2023-07-08seccomp: add riscv_hwprobe to @defaultXeonacid1-0/+1
This syscall is for probing hardware capabilities from userspace and should do no harm. Added in https://github.com/torvalds/linux/commit/ea3de9ce8aa280c5175c835bd3e94a3a9b814b74
2023-07-08po: Translated using Weblate (Georgian)Temuri Doghonadze1-7/+9
Currently translated at 100.0% (195 of 195 strings) Co-authored-by: Temuri Doghonadze <temuri.doghonadze@gmail.com> Translate-URL: https://translate.fedoraproject.org/projects/systemd/master/ka/ Translation: systemd/main
2023-07-08po: Translated using Weblate (Ukrainian)Yuri Chornoivan1-8/+11
Currently translated at 100.0% (195 of 195 strings) Co-authored-by: Yuri Chornoivan <yurchor@ukr.net> Translate-URL: https://translate.fedoraproject.org/projects/systemd/master/uk/ Translation: systemd/main
2023-07-08po: Translated using Weblate (Swedish)Luna Jernberg1-8/+10
Currently translated at 100.0% (195 of 195 strings) Co-authored-by: Luna Jernberg <bittin@reimu.nl> Translate-URL: https://translate.fedoraproject.org/projects/systemd/master/sv/ Translation: systemd/main
2023-07-08po: Translated using Weblate (Korean)김인수1-6/+6
Currently translated at 100.0% (195 of 195 strings) Co-authored-by: 김인수 <simmon@nplob.com> Translate-URL: https://translate.fedoraproject.org/projects/systemd/master/ko/ Translation: systemd/main
2023-07-08po: Translated using Weblate (Czech)Pavel Borecki1-8/+12
Currently translated at 100.0% (195 of 195 strings) Co-authored-by: Pavel Borecki <pavel.borecki@gmail.com> Translate-URL: https://translate.fedoraproject.org/projects/systemd/master/cs/ Translation: systemd/main
2023-07-08fuzz: switch fuzz-manager-serialize to MANAGER_TEST_RUN_MINIMALLuca Boccassi1-1/+1
When there is no access to cgroups MANAGER_TEST_RUN_BASIC will fail to set up and assert. This happens on a build system like Debian's. Switch to _MINIMAL which skips cgroup and other machine-wide setups.
2023-07-08test: Add DA lockout handling to TEST-70-TPM2Dan Streetman2-4/+24
Since this test intentionally provides an incorrect PIN, the DA lockout counter is incremented; the test needs to reset it so there is no DA lockout.
2023-07-07test-proc-cmdline: run tests only with efiChristian Hesse1-0/+2
Run these tests only with efi enabled.
2023-07-07dissect: add new verbs to brief version of cmline in --helpLennart Poettering1-2/+4
2023-07-07shell-completion: add show-cache to bashLuca Boccassi1-1/+1
2023-07-07shell-completion: add whoami to bashLuca Boccassi1-1/+1
2023-07-07shell-completion: add soft-reboot to bashLuca Boccassi1-1/+1
2023-07-07shell-completion/zsh/resolvectl: add show-cacheChristian Hesse1-0/+1
Make zsh shell-completion aware of show-cache.
2023-07-07shell-completion/zsh/systemctl: add whoamiChristian Hesse1-0/+1
Make zsh shell-completion aware of whoami.
2023-07-07shell-completion/zsh/systemctl: add soft-rebootChristian Hesse1-0/+1
Make zsh shell-completion aware of soft-reboot.
2023-07-07meson: allow to fallback to use libxcrypt.pc or glibc's libcryptYu Watanabe1-1/+5
Some distributions still use glibc's libcrypt. In that case, libcrypt.pc does not exist and dependency() will fail. Also, even if libxcrypt is used, there may not be a symlink from libcrypt.pc to libxcrypt.pc. So, let's add a secondary name. Follow-up for d625f717db6e151fd78742593c35eaba4cd2841d. Fixes #28289.
2023-07-07test: remove +x from some unitsLuca Boccassi6-0/+0
2023-07-07typo: dont -> don'tLuca Boccassi1-5/+5
2023-07-07test: add +x to generator-utils.shLuca Boccassi1-0/+0
It is marked and named as a script, so add +x otherwise Lintian complains: W: systemd-tests: script-not-executable [usr/lib/systemd/tests/testdata/units/generator-utils.sh]
2023-07-07README: mention that meson 0.60 is now requiredLuca Boccassi1-1/+1
2023-07-07NEWS: mention that meson 0.60 is now requiredLuca Boccassi1-0/+2
2023-07-07NEWS: mention that gnu-efi is no longer requiredLuca Boccassi1-0/+4
2023-07-07test-network: add tests for null addressesYu Watanabe2-0/+42
For issue #26113.
2023-07-07network: make address_get() work for null addressYu Watanabe2-13/+77
When a static null address is requested, e.g. Address=0.0.0.0/24, then the corresponding Address object owned by Network object has null address, and previously it did not match any addresses already assigne to the interface. Let's search matching Address object when originally it is requested as the null address. Then, the address configured with requested as a null address will be kept on reconfigure. Fixes #26113.
2023-07-07network: always copy input address for link_request_address()Yu Watanabe1-52/+25
Then, the code becomes much simpler. This also adds several missing log messages. No functional change, just refactoring.
2023-07-07network: also use address_kernel_{hash,compare}_func() for managing address ↵Yu Watanabe1-28/+8
requests Request may refer Address object owned by Link, but its broadcast address or label may be updated by address_equalify(), hence these fields cannot be used in the hash and compare functions.