1
0
mirror of https://github.com/systemd/systemd synced 2025-10-06 00:13:24 +02:00
Commit Graph

83952 Commits

Author SHA1 Message Date
val4oss
b8efd65975 TEST-74-AUX-UTILS: use sshd_config.d
* From the TEST-74-AUX-UTILS.ssh.sh writing directly into
  /etc/ssh/sshd_config can hide config from distro using /usr/etc.
* Using directory configuration /etc/ssh/sshd_config.d/* suits for all
  cases.

Signed-off-by: val4oss <val4oss@pm.me>
2025-10-04 23:00:31 +02:00
Yu Watanabe
273cb33b61 man: fix typo
Follow-up for 91214a37ef.
Fixes #39203.
2025-10-05 05:45:21 +09:00
Yu Watanabe
9ce3ef1304 meson: add man and html targets (#39207) 2025-10-04 22:41:58 +02:00
Oğuz Ersen
5fd9939789 po: Translated using Weblate (Turkish)
Currently translated at 100.0% (264 of 264 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/tr/
Translation: systemd/main
2025-10-04 22:39:07 +02:00
Zbigniew Jędrzejewski-Szmek
1e737d44d1 meson: add target aliases 'man' and 'html'
Previously we would need to say 'ninja -C build man/man man/html', now
just 'ninja -C build man html'.
2025-10-04 18:13:27 +02:00
Zbigniew Jędrzejewski-Szmek
29832663dc meson: drop remaining target names
Most of those were dropped in 7d247d3cb8. I left
behind the few cases where the 'output' name was different from the target name.
But we actually don't need those either, so get rid of those. (And one case
where I missed the name argument.)

No functional change, except that e.g. 'ninja -C build update-man-rules-impl'
doesn't work, but I hope nobody was using that.
2025-10-04 18:13:27 +02:00
Zbigniew Jędrzejewski-Szmek
675bfef837 Stop specifying license for generated file, instead mark as generated
I exclude generated files from license check, and I noticed
that this file was marked with a license header, which doesn't
make much sense, it is not copyrightable.
2025-10-04 18:13:27 +02:00
Zbigniew Jędrzejewski-Szmek
ea44302b29 meson: using f-strings in meson
Those were added before 0.61 which is our minimum version.

Dots were dropped from the end of some messages. Most messages did not have the
trailing dot.

0.63 added support for multi-line f-strings. We can't use those yet.
2025-10-03 21:21:52 +02:00
n0099
613f7f26aa nspawn: correct the option name --private-users-ownership= when it's not expected value 2025-10-02 16:06:55 +02:00
Lucas Adriano Salles
f8646b9a2e hwdb: fix calibrate rotation sensor for Positivo K116J (#39189)
Fixes #39188.
2025-10-02 22:50:04 +09:00
Managor
b0fe317d14 Update systemctl.xml 2025-10-02 11:28:40 +02:00
Managor
9f4f7f0372 Update systemctl.xml 2025-10-02 11:28:40 +02:00
dependabot[bot]
0712a94006 build(deps): bump ossf/scorecard-action from 2.4.2 to 2.4.3
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.4.2 to 2.4.3.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](05b42c6244...4eaacf0543)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-version: 2.4.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-02 10:25:58 +02:00
dependabot[bot]
db555fedf2 build(deps): bump meson from 1.8.3 to 1.9.1 in /.github/workflows
Bumps [meson](https://github.com/mesonbuild/meson) from 1.8.3 to 1.9.1.
- [Release notes](https://github.com/mesonbuild/meson/releases)
- [Commits](https://github.com/mesonbuild/meson/compare/1.8.3...1.9.1)

---
updated-dependencies:
- dependency-name: meson
  dependency-version: 1.9.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-02 10:25:16 +02:00
Yu Watanabe
9fe0b90005 units/systemd-battery-check.service: minor cleanup (#39178) 2025-09-30 20:54:00 +02:00
Mike Yuan
e8d5badc5f units/systemd-battery-check.service: split [Unit] options into groups 2025-09-30 16:34:54 +02:00
Mike Yuan
997717e274 units/systemd-battery-check.service: prettify Description=
Addresses https://github.com/systemd/systemd/pull/39170#issuecomment-3348997894
2025-09-30 16:34:44 +02:00
Mike Yuan
817929a14e Several more timezone related cleanups (#39160)
Continuation of #38876.
2025-09-30 15:40:40 +02:00
Frantisek Sumsal
0cb252d50f test: store and compare just the property value
Follow-up for 5730a400fd.
2025-09-29 23:01:24 +02:00
Yu Watanabe
2c883d7591 units: move FailureAction= to the correct section
FailureAction= in [Service] is still supported but deprecated.

Follow-up for e3d4148d50.
2025-09-29 22:47:24 +02:00
Lennart Poettering
0c3639d0f5 homectl firstboot tweaks (#39137)
This adds what #39101 and #39070 did for the regular firstboot wizard
but for the homectl firstboot part: i.e. port to the generic prompt
loop, show the "chrome" bars, and mute the console.

And then it also makes querying for aux groups and shells optional,
because quite frankly, i am not sure what to answer there.
2025-09-29 10:56:27 +02:00
Luca Boccassi
054e542c54 vmspawn: enable qemu guest agent with --console=gui
For auto resolution scaling, etc
2025-09-29 10:53:14 +02:00
kanitha chim
0c0a99599c po: Translated using Weblate (Khmer (Central))
Currently translated at 100.0% (264 of 264 strings)

Co-authored-by: kanitha chim <kchim@redhat.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/km/
Translation: systemd/main
2025-09-28 20:03:38 +09:00
Yu Watanabe
8431368668 tree-wide: stop assigning colon prefixed timezone to $TZ
glibc (and also musl, though we do not officially support it yet)
silently ignores colon prefix in $TZ. Let's always not prefix the
timezone.

tzset(3) states:
> A nonempty value of TZ can be one of two formats, either of which can
> be preceded by a colon which is ignored.

Addresses https://github.com/systemd/systemd/pull/38876#discussion_r2384347594.
2025-09-28 11:14:00 +09:00
Yu Watanabe
7d6f1d695c timedatectl,test: use SAVE_TIMEZONE at more places 2025-09-28 10:10:47 +09:00
Yu Watanabe
672924356f calendar-spec: use SAVE_TIMEZONE
Then, we can avoid heavy fork() operation.
2025-09-28 10:09:47 +09:00
Felix Pehla
39179ac5fe sd-boot: fix indentation of status output
64376936c7 missed some printf()s when
adjusting indentation.
2025-09-28 09:50:19 +09:00
Yu Watanabe
3e843e9513 time-util: fix using wrong timezone when parsing timestamp (#38876)
This mostly fixes issues workarounded several times, e.g. #28472 and
#35471.
2025-09-28 09:49:10 +09:00
Yu Watanabe
2e966a7c0a bash-completion: systemd-sysext/systemd-confext missing options (#38948) 2025-09-28 09:48:13 +09:00
Luca Boccassi
dbcbe4aa04 vmspawn: try to set up swtpm state for 4K RSA keys support
The next version of swtpm will support RSA4096, but it needs to be called
with a new parameter in order to do so. Try with it first, and if
execution fails, fallback to running without it.

This is especially needed for OBS builds, as the signing key is RSA4096
and cannot be changed by users, so the generated UKIs have RSA4096 signatures
for the pcrsig sections, and swtpm refuses them without the new support.
2025-09-28 00:25:03 +09:00
Mike Yuan
fb10ffc4f4 Various small cleanups (#39155) 2025-09-27 17:22:57 +02:00
Luca Boccassi
463f0a027a Revert "Bump required minimum version of libfido2 to 1.5.0" and add missing def instead
It helps nobody to break compatibility for a missing definition
for printing an error.
Just add the missing definition if not present, as it is already
done for thousands of others from the kernel, glibc, etc.

This partially reverts commit d8b60944f5.
2025-09-27 15:46:13 +02:00
Zbigniew Jędrzejewski-Szmek
4705b7adb8 man/udev_enumerate_new: fix style
Follow-up for 4f4641799e.
2025-09-27 16:28:18 +03:00
Zbigniew Jędrzejewski-Szmek
c3473fdbec ssh-generator: adjust formatting 2025-09-27 16:13:29 +03:00
Zbigniew Jędrzejewski-Szmek
dd80c4a7f6 core/varlink: drop duplicated check
Those are static functions that are only called from manager_varlink_init
which already does the same check.
2025-09-27 16:12:54 +03:00
Zbigniew Jędrzejewski-Szmek
aab2fef516 shared/generator: fix grammar in comment 2025-09-27 16:12:54 +03:00
Zbigniew Jędrzejewski-Szmek
89983335b3 core/cgroup: drop useless wrapper 2025-09-27 16:12:45 +03:00
Daan De Meyer
d15343d561 ethtool-util: several cleanups for applying link settings (#38879) 2025-09-27 14:31:11 +02:00
Yu Watanabe
514fa9d39a time-util: fix issues in parse_timestamp() and optimize performance
Previously, an input string ends with short timezone spec e.g. WET,
was parsed by setting $TZ environment variable to the timezone.
But the timezone might be different from the original local timezone,
thus the result might not follow the timezone change in the original
local timezone.

This makes the check of the short timezone spec with tzname[] earlier,
then it is not necessary to load another timezone file for e.g. WET,
and provides expected time.

This also make it use SAVE_TIMEZONE macro and drop use of forking
process. This makes greatly improve performance when parsing string
that contains timezone different from the current local timezone.

Unfortunately, there is still one corner case that our test fails.
When tzdata is built with rearguard enabled, then at least
Africa/Windhoek timezone does not provide correct time, but time shifted
1 hour from the original.
2025-09-27 11:52:24 +09:00
Yu Watanabe
23407c1806 time-util: introduce parse_gmtoff() helper function 2025-09-27 11:52:24 +09:00
Yu Watanabe
e3f561a624 time-util: introduce SAVE_TIMEZONE macro 2025-09-27 11:51:06 +09:00
Mike Yuan
cb19dbb97f pam_systemd: correct alignment
Follow-up for cf2630acaa
2025-09-27 01:00:50 +02:00
Xarblu
a3ad821b4c shared: add missing alloc-util.h include
Needed for _cleanup_free_
2025-09-26 23:56:11 +01:00
Osama Abdelkader
4f4641799e man: add missing description for udev_enumerate_new functions
Add proper description section for udev_enumerate_new(), udev_enumerate_ref(),
and udev_enumerate_unref() functions. The description matches the source code
comments for consistency.

Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
2025-09-27 04:06:26 +09:00
Michal Sekletar
cf2630acaa pam_systemd: honor session class provided via PAM environment
Replaces #38638

Co-authored-by: Lennart Poettering <lennart@poettering.net>
2025-09-27 04:05:51 +09:00
Pascal Bachor
9b5f1a6112 bash-completion: update systemd-sysext, systemd-confext 2025-09-26 20:20:49 +02:00
Pascal Bachor
b85887ead1 sysext: support --mutable=help 2025-09-26 20:20:31 +02:00
Le_Futuriste
83b5dabb40 docs(boot): fix typo in code block 2025-09-27 00:21:53 +09:00
Yu Watanabe
0f8706915a TEST-64-UDEV-STORAGE: do not use -f/--force option for wipefs
When -f/--force is used, wipefs does not call ioctl(BLKRRPART), hence
the partitions will remain in sysfs. Let's not use the option.

This also makes it use 'udevadm lock' for safety.
2025-09-27 00:18:53 +09:00
Lennart Poettering
372f3159fd firstboot: don't talk about any 'new' installation
The firstboot interface might pop-up also during live mode (because it's
just very useful to have the right kbd mapping applied), and that's
hardly a "new installation". Hence use more generic terms
2025-09-26 16:40:14 +02:00