summaryrefslogtreecommitdiffstats
path: root/docs (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-04-30network-generator: add missing return on error after the logging refactorAntonio Alvarez Feijoo1-1/+1
Fixes 3cb618084a1bd5c7cb42822b4ce3dbd048e6bd24
2024-04-30po: add a false positive to POTFILES.skipPiotr Drąg1-0/+1
Scripts used to detect files that should be in POTFILES.in, like intltool-update -m used on https://l10n.gnome.org/module/systemd/, falsely detect this file as containing translations. Avoid this behavior by putting the file in POTFILES.skip.
2024-04-30docs: autopkgtest: refresh the docs with up-to-date informationSkia1-8/+8
@iainlane doesn't work on Ubuntu infrastructure anymore, and `bionic` is still ESM, but not really supported anymore either. `noble`, which is the latest Ubuntu, probably is better for testing `systemd` in 2024, and pinging `qa-help` on IRC is the current official way to contact the team behind Ubuntu's infrastructure.
2024-04-30test: exclude gperf files from captured coverageFrantisek Sumsal1-2/+2
Recent lcov started complaining loudly about unknown lines in gperf files: ... Found gcov version: 13.2.1 Using intermediate gcov format Recording 'internal' directories: ... Finished processing 1634 GCNO files Apply filtering.. Message summary: 1 error message: range: 1 28 warning messages: gcov: 27 usage: 1 geninfo: ERROR: (range) unknown line '33' in /build/src/home/homed-gperf.gperf: there are only 22 lines in the file. Use 'geninfo --filter range' to remove out-of-range lines. (use "geninfo --ignore-errors range ..." to bypass this error) Since we drop the coverage of built files from the final report anyway, let's do it also when capturing both initial and real coverage to avoid this error.
2024-04-30test: Don't persist journal in mkosi image if we're not debugging testsDaan De Meyer3-8/+2
If we're not debugging tests, there's no point in persisting the journal, so let's use the volatile journal storage mode in that case to avoid doing unnecessary work. We don't disable journal storage alltogether since various tests check that stuff is written to the journal.
2024-04-30journal: Add journal.storage credentialDaan De Meyer5-9/+68
In mkosi CI, we want persistent journals when running interactively and runtime journals when running in CI, so let's add a credential that allows us to configure which one to use.
2024-04-30build(deps): bump pkg/debian from `640ff73` to `9a5adf2`dependabot[bot]1-0/+0
Bumps pkg/debian from `640ff73` to `9a5adf2`. --- updated-dependencies: - dependency-name: pkg/debian dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
2024-04-30mkosi: Make sure we create an image without /var/log/journalDaan De Meyer1-0/+4
This allows journald to create the directory itself with the right chattr settings on first boot.
2024-04-30mkosi: Simplify rpm build scriptsDaan De Meyer2-12/+7
2024-04-30test-journal-flush: use archived journal if possibleYu Watanabe1-2/+84
Workaround for #32436. The test may fail if the journal is vacuumed or rotated during the test is running. Let's use the newest archive file for safety.
2024-04-30mkosi: Introduce particle profileDaan De Meyer22-66/+71
Unfortunately the current mkosi partitioning setup is a bit too avant-garde for the integration tests. Both in that distributions aren't ready for it yet (some more than others), and that software which we depend on in the integration tests isn't ready for it yet (e.g. libselinux does not read its configuration from /usr). Let's switch back to a more boring partioning setup by default but keep the fancy stuff around as a mkosi profile. This means that it can still be used for manually testing stuff by running "mkosi --profile particle -f qemu".
2024-04-30TEST-81-GENERATORS: Use SYSTEMD_PROC_CMDLINE moreDaan De Meyer1-8/+2
Makes the test more robust as the command line the image is booted won't influence the test result.
2024-04-30meson: bump libbpf dependency to 1.4.0 when using gccLuca Boccassi1-1/+1
bpf_core_type_id_kernel() needs libbpf 1.4.0 when building with gcc rather than clang, so bump the dependency accordingly. More precisely, the following change is needed: https://github.com/libbpf/libbpf/commit/b19fdbf1be21a28f88740375a575ebd9dfbea68f Related to: https://github.com/systemd/systemd/issues/31869 Follow-up for 8aee931e7ae1adb01eeac0e1e4c0aef6ed3969ec
2024-04-29machine: Add PIDFDs= fallbackDaan De Meyer1-5/+14
In some environments, systemd-machined might not be restarted on downgrade. For safety, let's add the usual PIDFDs= fallback here as well.
2024-04-29resolved: always progress DS queriesRonan Pigott1-0/+4
If we request a DS and the resolver offers an unsigned SOA, a new auxiliary transaction for the DS will be rejected as a loop, and we might not make any progress toward finding the DS we need. Let's ensure that we at least always check the parent in this case. Fixes: 47690634f157 ("resolved: don't request the SOA for every dns label")
2024-04-29meson: copy prefix mapping CFLAGS when building BPF objectsLuca Boccassi1-0/+18
Otherwise the filenames will contain variable paths and break reproducibility
2024-04-29shared: create inaccessible files with correct security labelChristian Göttsche1-2/+2
2024-04-29basic: add open_mkdir_at_full()Christian Göttsche2-6/+9
Add helper for open_mkdir_at() which accepts xopen flags, e.g. to pass XO_LABEL to create the target with the correct security context.
2024-04-29basic: add mknodat_label()Christian Göttsche2-5/+10
Add helper for mknodat(2) which creates the destination with the correct security label.
2024-04-29meson: define 's390' for 's390x' when building BPF objectsLuca Boccassi1-0/+1
The kernel headers match on __s390__ so the build fails ../src/nsresourced/bpf/userns_restrict/userns-restrict.bpf.c:159:6: error: Must specify a BPF target arch via __TARGET_ARCH_xxx void BPF_KPROBE(userns_restrict_free_user_ns, struct work_struct *work) { ^ /usr/include/bpf/bpf_tracing.h:817:20: note: expanded from macro 'BPF_KPROBE' return ____##name(___bpf_kprobe_args(args)); \ ^ /usr/include/bpf/bpf_tracing.h:797:41: note: expanded from macro '___bpf_kprobe_args' ^ /usr/include/bpf/bpf_helpers.h:195:29: note: expanded from macro '___bpf_apply' ^ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/include/bpf/bpf_tracing.h:789:72: note: expanded from macro '___bpf_kprobe_args1' ^ /usr/include/bpf/bpf_tracing.h:563:29: note: expanded from macro 'PT_REGS_PARM1' ^ <scratch space>:125:6: note: expanded from here GCC error "Must specify a BPF target arch via __TARGET_ARCH_xxx"
2024-04-29boot: fix argument name mismatch in two functionsAntonio Alvarez Feijoo2-2/+2
2024-04-29core: Add systemd.crash_action= kernel command line argumentDaan De Meyer10-23/+115
Required for integration tests to power off on PID 1 crashes. We deprecate systemd.crash_reboot and related options by removing them from the documentation but still parsing them.
2024-04-29journalctl: also check arg_file_stdin with other journal locationMike Yuan1-1/+1
options Prompted by #32491
2024-04-29docs/DEBUGGING.md: use an underscore in the kernel command line optionnl67201-1/+1
systemd-debug-generator(8) lists it as `systemd.debug_shell`. According to 1d84ad944520fc3e062ef518c4db4e1d3a1866af, kernel command line options should use an underscore instead of a dash.
2024-04-29core: Pass NULL error in dump_impl()Daan De Meyer4-8/+6
If mac_selinux_access_check() or bus_verify_bypass_dump_ratelimit_async() fail, we goto "ratelimited" where we set a custom D-BUS error. In "ratelimited", we call sd_bus_error_setf() which eventually hits an assert_return(!bus_error_is_dirty()). Avoid hitting this assertion by passing NULL as the error to mac_selinux_access_check() and bus_verify_bypass_dump_ratelimit_async() since we will override the error immediately anyway if either fails. We modify both functions as well to allow passing a NULL error and fix the argument name as well while we're at it.
2024-04-29build(deps): bump pkg/debian from `4b1f868` to `640ff73`dependabot[bot]1-0/+0
Bumps pkg/debian from `4b1f868` to `640ff73`. --- updated-dependencies: - dependency-name: pkg/debian dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29development-freeze: suppress warning for some labelsMike Yuan1-0/+2
2024-04-29labeler: add l10n 🌍Mike Yuan1-0/+3
2024-04-29pam: Setup logging to syslogDaan De Meyer5-0/+26
We already log to syslog using pam_syslog() for logs generated directly within our pam plugins. However, any logs generated by our generic logging macros that are invoked within a pam plugin will log to the console. Let's make sure our generic logging macros are set up to log to syslog as well.
2024-04-29po: Translated using Weblate (French)Pierre GRASSER1-2/+6
Currently translated at 100.0% (233 of 233 strings) Co-authored-by: Pierre GRASSER <pierre.grasser@proton.me> Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/fr/ Translation: systemd/main
2024-04-29NEWS: fix minimum dracut version required for systemd v256Antonio Alvarez Feijoo1-3/+3
Follow-up for d4e9be97a3
2024-04-29fs-util: modernize touch_file a bitMike Yuan1-8/+5
2024-04-29fs-util: try AT_EMPTY_PATH first for futimens_opathMike Yuan1-2/+12
2024-04-29efivars: drop unneeded UTIME_NOWMike Yuan1-4/+1
futimens(2) defaults to current time if 'times' is NULL.
2024-04-29pam_systemd_loadkey: add missing PAM_EXTERNMike Yuan1-2/+2
2024-04-28mkosi: Ignore version from versioned dependencies in .SRCINFODaan De Meyer2-1/+1
Dependencies in .SRCINFO can be versioned. Let's make sure we ignore any specified versions when grepping it for dependencies. Also update the arch submodule to the latest to make sure the change works.
2024-04-28various: drop unnecessary DISABLE_WARNING_FORMAT_NONLITERALMike Yuan2-5/+1
We use _printf_ for these functions, so there shouldn't be a warning in the first place.
2024-04-28hwdb: Add a common Logitech M185/M225 mouse variantMaciej S. Szmigiero1-0/+1
Measured/tested on a Logitech N1901 mouse that apparently identifies as one.
2024-04-28docs: update link for SUSE whitepaperspdfnet1-1/+1
Signed-off-by: spdfnet <32593931+spdfnet@users.noreply.github.com>
2024-04-28network: DHCP version logging typosSebastian Pucilowski4-18/+18
Some DHCP client log messages report "DHCP4" or "DHCP6" instead of "DHCPv4" or "DHCPv6" as used within the rest of the codebase. Typos fixed.
2024-04-27NEWS: add warnings about read-only fs and libkmod being dlopen'edZbigniew Jędrzejewski-Szmek1-0/+10
Closes https://github.com/systemd/systemd/issues/32511.
2024-04-27sd-daemon: downgrade log level for library code, use correct errnoMike Yuan1-6/+6
Follow-up for 13b67b61b3b4a5356f5d1b29b51137b8e336aa55
2024-04-27sd-daemon: minor modernization, use assert_returnMike Yuan1-11/+9
2024-04-27networkd: Correct documentation for LinkLocalAddressingMathias Lang1-7/+6
LinkLocalAddressing accepts a boolean. This can be seen by looking at `link_local_address_family_from_strong(cont char *s)` in `src/network/netword-util.c#L102-108` which falls back to `address_family_from_string`, defined two lines above (L100) using `DEFINE_STRING_TABLE_LOOKUP_WITH_BOOLEAN`.
2024-04-27po: Translated using Weblate (Polish)Piotr Drąg1-1/+5
Currently translated at 100.0% (233 of 233 strings) Co-authored-by: Piotr Drąg <piotrdrag@gmail.com> Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/pl/ Translation: systemd/main
2024-04-27treewide: fix a few typos in NEWS, docs, comments, and log messagesDmitry V. Levin24-27/+27
2024-04-27core/namespace: modernize mount_private_devMike Yuan1-60/+41
2024-04-27core/namespace: modernize clone_device_nodeMike Yuan1-21/+20
2024-04-27Fix spelling errors found by LintianLuca Boccassi2-4/+4
2024-04-27core/namespace: use FOREACH_ARRAY at one more placeMike Yuan1-3/+3