1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00
Commit Graph

77977 Commits

Author SHA1 Message Date
Daan De Meyer
157198d9ec test-creds: Migrate to new assertion macros 2024-12-04 11:12:50 +01:00
Luca Boccassi
0a7fda3b45
mkosi: disable Fedora specific drop-in config when running with sanitizers (#35460)
Hopefully fixes #35335.
2024-12-04 10:09:37 +00:00
Zbigniew Jędrzejewski-Szmek
92e43e5c53 TEST-64: use more idiomatic loop syntax 2024-12-04 09:58:52 +01:00
Zbigniew Jędrzejewski-Szmek
f5292d63af mkosi/ci: use a bash array to pass options
This patch initially also changed the configuration, but that'll be done in a
different way, so all that remains is the syntax change.
An array is nicer because the array definition can have inline comments and
doesn't use continuation symbols which are easy to mess up in edits.
2024-12-04 09:57:34 +01:00
Martin Srebotnjak
295a53a1a4 po: Translated using Weblate (Slovenian)
Currently translated at 100.0% (257 of 257 strings)

Co-authored-by: Martin Srebotnjak <miles@filmsi.net>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/sl/
Translation: systemd/main
2024-12-04 16:32:24 +09:00
Geraldo S. Simião Kutz
8da38567c8 po: Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (257 of 257 strings)

Co-authored-by: Geraldo S. Simião Kutz <geraldo.simiao.kutz@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/pt_BR/
Translation: systemd/main
2024-12-04 16:32:24 +09:00
Yu Watanabe
157d5b5c30 mkosi: disable Fedora specific drop-in config when running with sanitizers
Hopefully fixes #35335.
2024-12-04 09:22:26 +09:00
Yu Watanabe
552e5db9ac Revert "mkosi: extend DefaultTimeoutStopSec= when running on sanitizers"
This reverts commit b75befc3c9.

Unfortunately, it does not work. Let's revert.
2024-12-04 09:13:18 +09:00
Luca Boccassi
67bf853b1d
More test coverage (#35451)
Add some simple tests to cover lines reported as not covered by
coveralls.
2024-12-03 22:54:14 +00:00
Antonio Alvarez Feijoo
61cf8472e7 man: remove references to invalid rd.systemd.image_policy option
The option with the `rd.` prefix is not implemented, the image policy is not
applied in the initrd.
2024-12-03 19:36:41 +01:00
Bastien Nocera
e1c6819192 hwdb: Make 3D mice work out-of-the-box
According to https://en.wikipedia.org/wiki/3Dconnexion, 3D mice are:
human interface devices for manipulating and navigating
computer-generated 3D imagery. These devices are often referred to as
3D motion controllers, 3D navigation devices, 6DOF devices (six
degrees of freedom) or a 3D mouse.

Applications that want to support 3D mice on Linux are expected to
either use spacenavd and its library, or consume the HID output
directly.

This patch makes it possible for a number of applications that use 3D
mice directly to work out of the box, such as PrusaSlicer and its
derivatives.
2024-12-03 19:35:53 +01:00
Zbigniew Jędrzejewski-Szmek
116eab8e7a test-format-table: add test for unsetting table name
This should extend coverage to another part that previously wasn't covered.
2024-12-03 15:00:26 +01:00
Zbigniew Jędrzejewski-Szmek
e0be4dc563 test-format-table: add smoke test for int/uint formatting
When looking at coverage data, I noticed that some types of ints have no
coverage whatsoever.
2024-12-03 15:00:26 +01:00
Zbigniew Jędrzejewski-Szmek
5c74c26db9 test-format-table: convert to ASSERT_* macros 2024-12-03 14:57:01 +01:00
Zbigniew Jędrzejewski-Szmek
444e9ba660 shared/tests: adjust error messages
Grammar is improved a bit and some messages are shortened.
2024-12-03 14:30:01 +01:00
dependabot[bot]
13a42b776d build(deps): bump softprops/action-gh-release from 2.0.8 to 2.1.0
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.0.8 to 2.1.0.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](c062e08bd5...01570a1f39)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-03 12:56:21 +00:00
dependabot[bot]
533bdc05aa build(deps): bump github/codeql-action from 3.26.10 to 3.27.5
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.10 to 3.27.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](e2b3eafc8d...f09c1c0a94)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-03 12:55:36 +00:00
dependabot[bot]
a06fed1140 build(deps): bump ninja from 1.11.1.1 to 1.11.1.2 in /.github/workflows
Bumps [ninja](https://github.com/scikit-build/ninja-python-distributions) from 1.11.1.1 to 1.11.1.2.
- [Release notes](https://github.com/scikit-build/ninja-python-distributions/releases)
- [Changelog](https://github.com/scikit-build/ninja-python-distributions/blob/master/HISTORY.rst)
- [Commits](https://github.com/scikit-build/ninja-python-distributions/compare/1.11.1.1...1.11.1.2)

---
updated-dependencies:
- dependency-name: ninja
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-03 12:53:41 +00:00
Luca Boccassi
80ea227191
pid1: assume user namespaces are unavailable if we get -EINVAL from clone (#35440) 2024-12-02 22:03:52 +00:00
Excited-bore
f6749c69a0 Bash completion: no more ANSI colorcode in pathnames
Bash completion: no more ANSI colorcode in pathnames
2024-12-02 16:56:12 +00:00
Zbigniew Jędrzejewski-Szmek
544df97b41 ukify: ellipsize CN to not exceed maximum length
Currently the generation of the certificate fails if len(fqdn) >= 43.
Ellipsize the fqdn to let the tests pass in all cases.

Fixes https://github.com/systemd/systemd/issues/34581.
2024-12-02 16:55:57 +00:00
Zbigniew Jędrzejewski-Szmek
22996a3393 basic/namespace-util: fix double logging after fork failure
[   10.056930] (journald)[104]: Failed to fork off '(sd-mkuserns)': Invalid argument
[   10.063727] systemd[1]: systemd-modules-load.service: About to execute: /usr/lib/systemd/systemd-modules-load
[   10.071148] (journald)[104]: Failed to fork process (sd-mkuserns): Invalid argument

safe_fork_full() already logs at debug level, so the caller shouldn't.
2024-12-02 11:51:23 +01:00
Zbigniew Jędrzejewski-Szmek
afb368951c pid1: assume user namespaces are unavailable if we get -EINVAL from clone()
As reported in https://github.com/systemd/systemd/issues/35400,
on riscv64, with Linux version 6.6.51-linux4microchip+fpga-2024.09, we get:

[   10.063727] systemd[1]: systemd-modules-load.service: About to execute: /usr/lib/systemd/systemd-modules-load
[   10.071148] (journald)[104]: Failed to fork process (sd-mkuserns): Invalid argument

Fixes https://github.com/systemd/systemd/issues/35400.

'r' is used to make the repeated checks shorter. Without that, the long variable
name is distracting.
2024-12-02 11:30:06 +01:00
Mike Yuan
703b1b7f24 core/service: preserve RuntimeDirectory= even if oneshot service exits
Follow-up for c26948c6da

We only want to get rid of cred mount here, and RuntimeDirectory=
is documented to be retained for SERVICE_EXITED state.

Fixes #35427
2024-12-02 10:57:45 +01:00
Zbigniew Jędrzejewski-Szmek
d5df77b474 NEWS: adjust grammar
Follow-up for 1072618023.
2024-12-02 10:48:59 +01:00
Yu Watanabe
472e3cce6e TEST-13-NSPAWN: enable debugging logs by nspawn run by systemd-run
Otherwise, it is hard to debug issue #35209.
2024-12-01 15:40:19 +01:00
Yu Watanabe
1072618023 NEWS: metion changes for networkd 2024-12-01 23:37:32 +09:00
Luca Boccassi
0747e3b60e kernel-install: remove .extra.d/ directory too
When a UKI is removed, the per-UKI .extra.d/ directory (addons,
extensions, etc) is left behind.
2024-12-01 14:05:45 +09:00
Yu Watanabe
a1417e5563 systemctl: skip checking inhibitors when dbus.service is not running
Fixes a bug introduced by 804874d26a.

Fixes #35416.
2024-12-01 14:00:55 +09:00
Daan De Meyer
8eab8f36bb mkosi: update to latest 2024-11-30 13:09:40 +01:00
Luca Boccassi
144d291f18
mkosi: extend DefaultTimeoutStopSec= when running on sanitizers (#35420)
Hopefully fixes #35335.
2024-11-29 21:48:29 +00:00
Yu Watanabe
9c4670db3c mkosi: move setting for journald to mkosi.extra 2024-11-30 04:31:45 +09:00
Yu Watanabe
b75befc3c9 mkosi: extend DefaultTimeoutStopSec= when running on sanitizers
Hopefully fixes #35335.
2024-11-30 04:28:24 +09:00
Matteo Croce
3f3b4959e2 mkosi: install correct package for mypy
Package "mypy" doesn't exist on all distro, install the correct package
depending on the distro.
2024-11-29 18:50:58 +01:00
Luca Boccassi
a414a1891f
Another tweak for the preparation of removal of sysvinit compat (#35414) 2024-11-29 15:34:34 +00:00
Zbigniew Jędrzejewski-Szmek
4ebd6d9a10 meson: install README.logs independently of HAVE_SYSV_COMPAT
That file provides compatiblity (or more precisely the explanation for the lack
of compatibility) with syslog daemons. Those are used quite independently of
sysvinit. For example, RHEL uses rsyslog with systemd. We create
/var/log/journal, so it's no biggie to also provide /var/log/README with the
explanation. Let's keep it, since it might help some confused users, even when
compat with sysvinit is gone.
2024-11-29 14:18:15 +01:00
Zbigniew Jędrzejewski-Szmek
a66a7c412a Revert "link README.logs from tmpfiles.d/legacy.conf only if available"
This reverts commit c946b13575.

The next patch will resolve the issue in a different way.
2024-11-29 14:18:15 +01:00
Temuri Doghonadze
09291cfa1a po: Translated using Weblate (Georgian)
Currently translated at 100.0% (257 of 257 strings)

Co-authored-by: Temuri Doghonadze <temuri.doghonadze@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/ka/
Translation: systemd/main
2024-11-29 21:53:34 +09:00
Yuri Chornoivan
6188c4e919 po: Translated using Weblate (Ukrainian)
Currently translated at 100.0% (257 of 257 strings)

Co-authored-by: Yuri Chornoivan <yurchor@ukr.net>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/uk/
Translation: systemd/main
2024-11-29 21:53:34 +09:00
Oğuz Ersen
dd28bb020a po: Translated using Weblate (Turkish)
Currently translated at 100.0% (257 of 257 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/tr/
Translation: systemd/main
2024-11-29 21:53:34 +09:00
Luna Jernberg
7dfb5e703b po: Translated using Weblate (Swedish)
Currently translated at 100.0% (257 of 257 strings)

Co-authored-by: Luna Jernberg <bittin@reimu.nl>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/sv/
Translation: systemd/main
2024-11-29 21:53:34 +09:00
김인수
726181fb04 po: Translated using Weblate (Korean)
Currently translated at 100.0% (257 of 257 strings)

Co-authored-by: 김인수 <simmon@nplob.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/ko/
Translation: systemd/main
2024-11-29 21:53:34 +09:00
Andika Triwidada
5556d81720 po: Translated using Weblate (Indonesian)
Currently translated at 100.0% (257 of 257 strings)

Co-authored-by: Andika Triwidada <andika@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/id/
Translation: systemd/main
2024-11-29 21:53:34 +09:00
Léane GRASSER
1a1db1072a po: Translated using Weblate (French)
Currently translated at 100.0% (257 of 257 strings)

Co-authored-by: Léane GRASSER <leane.grasser@proton.me>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/fr/
Translation: systemd/main
2024-11-29 21:53:34 +09:00
Daan De Meyer
aed18d7e9a mkosi: Simplify sanitizer setup
Let's get rid of 20-sanitizers.conf and just move it into
mkosi.sanitizers instead.
2024-11-29 00:40:36 +00:00
SuhailAhmedVelorum
27369124e8 Typo fix in man/systemd.resource-control 2024-11-28 17:23:58 +00:00
David Tardon
c3dc460b6c execute: free syscall_log hashmap when done
Fixes #35394
2024-11-28 16:45:02 +01:00
Piotr Drąg
ca10784ac1 catalog: update Polish translation
Includes changes up to e1f9d3c84b
2024-11-28 13:03:31 +01:00
Piotr Drąg
180761d2d0 po: Translated using Weblate (Polish)
Currently translated at 100.0% (257 of 257 strings)

Co-authored-by: Piotr Drąg <piotrdrag@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/pl/
Translation: systemd/main
2024-11-28 20:29:45 +09:00
Luca Boccassi
37d2c5ca25
sysupdate: add missing full stop in the polkit message (#35391)
Follow-up for e55e7a5a61.
2024-11-28 10:58:20 +00:00