dependabot[bot]
42a5f47fbe
build(deps): bump pkg/arch from dd7aff4 to b13e94a
...
Bumps pkg/arch from `dd7aff4` to `b13e94a`.
---
updated-dependencies:
- dependency-name: pkg/arch
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-02 14:38:22 +02:00
Antonio Alvarez Feijoo
fb17510ede
importctl: fix flag checking against wrong variable
...
Fixes 67c7ee11af
2024-05-02 13:58:20 +02:00
Luca Boccassi
afb1c42f5a
Merge pull request #32592 from yuwata/journal-timestamp
...
journal: several timestamp cleanups and improvements
2024-05-02 13:57:40 +02:00
Frantisek Sumsal
57188d1467
Merge pull request #32609 from systemd/dependabot/github_actions/github/super-linter-6
...
build(deps): bump github/super-linter from 5.0.0 to 6
2024-05-02 10:16:40 +02:00
Frantisek Sumsal
109780a35e
ci: point Super-Linter to the new upstream
...
Looks like since [0] the Super-Linter repo was moved to
super-linter/super-linter and github/super-linter is just a fork, so
let's update the reference accordingly.
[0] https://github.com/github/super-linter/commit/59fac7946c4891bb4867ebb4ffdb05c32fac3cf4
2024-05-02 09:53:43 +02:00
Frantisek Sumsal
b160ac9c12
ci: explicitly disable multi status for Super-Linter
...
The multi status feature requires $GITHUB_TOKEN, and since [0] it
defaults to true. Since we don't need it, let's explicitly disable the
feature.
[0] https://github.com/super-linter/super-linter/commit/e6e6e1fa5f60e15d7e9b89248bb0809bea1c17e9
2024-05-02 09:46:44 +02:00
Daniele Medri
5ac4380f44
po: update Italian translation ( #32621 )
2024-05-02 15:55:17 +09:00
Mike Yuan
89ad0a7117
Merge pull request #32617 from yuwata/journal-sync
...
journald: wait for journal files fsync()ed on Synchronize() varlink method
2024-05-02 13:39:16 +08:00
Mike Yuan
8bd2f9415c
core/selinux-access: use empty_to_na where appropriate
2024-05-02 13:36:52 +08:00
Yu Watanabe
affde1d7e7
logs-show: adjust source timestamp with header timestamp
...
Previously, _SOURCE_REALTIME_TIMESTAMP was only used for realtime
timestamp, and _SOURCE_MONOTONIC_TIMESTAMP was for monotonic.
This make these journal field used more aggressively. If we need
realtime timestamp, but an entry has only _SOURCE_MONOTONIC_TIMESTAMP,
then now realtime timestamp is calculated based on
_SOURCE_MONOTONIC_TIMESTAMP and the header dual timestamp.
Similary, monotonic timestamp is obtained from
_SOURCE_REALTIME_TIMESTAMP and the header dual timestamp.
This should change shown timestamps not so much in most cases, but may
be improve the situation such as #32492 .
2024-05-02 06:34:01 +09:00
Yu Watanabe
6ed286d2cf
logs-show: make output_timestamp_realtime() only take realtime timestamp
...
No functional change, just refactoring and preparation for later
commits.
2024-05-02 06:34:01 +09:00
Yu Watanabe
c9df471428
sd-journal: verify monotonic timestamp before assigning result
...
Previously, ret_boot_id was assigned even when the function failed due
to an invalid monotonic timestamp stored for a journal entry.
2024-05-02 06:34:01 +09:00
Yu Watanabe
fbecb1fd8d
journal: use STRLEN() and xsprintf()
...
No functional change, just refactoring.
2024-05-02 06:34:01 +09:00
Yu Watanabe
3cd7783e56
journald-audit: set _SOURCE_REALTIME_TIMESTAMP= field in server_dispatch_message()
...
No functional change, just refactoring.
2024-05-02 06:34:01 +09:00
Saliba-san
a6ab3053aa
hwdb: Add mapping for Samsung GalaxyBook - 550X ( #32616 )
...
- Kernel: linux-6.8.8-arch
- systemd: 255.5-3-arch
- Laptop: Samsung GalaxyBook - NP550XDA-KF1BR
This is the solution to a problem with the Samsung GalaxyBook in which some Media keys,
when pressed and released, get stuck as if they are hold.
2024-05-02 04:54:32 +09:00
Mike Yuan
49a4badb7d
Merge pull request #32595 from bluca/old_docs
...
Remove outdated documents
2024-05-02 03:45:00 +08:00
Yu Watanabe
12d63b2ea0
journald: wait for journal files fsync()ed on Synchronize() varlink method
...
Otherwise, we may not be able to read newer journal entries even after
'journalctl --sync' is called.
Closing #32539 .
2024-05-02 04:15:21 +09:00
Yu Watanabe
73cd8a94e8
journald: make several functions static
2024-05-02 04:15:21 +09:00
Ronan Pigott
414a9b8e5e
resolved: validate authentic insecure delegation to CNAME
...
If the parent zone uses a non-opt-out method that provides authenticated
negative DS replies, we still can't expect signatures from the child
zone. sd-resolved was using the authenticated status of the DS reply to
require signatures for CNAMEs, even though it had already proved that no
signature exists.
Fixes: 47690634f1 ("resolved: don't request the SOA for every dns label")
2024-05-01 20:34:08 +02:00
Ronan Pigott
5237ffdf2b
resolved: probe for dnssec support in allow-downgrade mode
...
Previously, sd-resolved unnecessarily requested SOA records for each dns
label in the query, even though they are not needed for the chain of
trust. Since 47690634f1 , only the necessary records are queried when
validating.
This is actually a problem in allow-downgrade mode, since we will no
longer attempt a query for a record that we know is signed a priori, and
will therefore never update our belief about the state of dnssec support
in the recursive resolver.
Rectify this by reintroducing a query for the root zone SOA in the
allow-downgrade case, specifically to test that the resolver attaches
the RRSIGs which we know must exist.
Fixes: 47690634f1 ("resolved: don't request the SOA for every dns label")
2024-05-01 20:32:30 +02:00
Luca Boccassi
dafcba5940
Merge pull request #32613 from arthurzam/bash-v256
...
More shell-completions work
2024-05-01 20:27:32 +02:00
Arthur Zamarin
3b18a8795d
shell-completion: add bash completion for systemd-vmspawn
...
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org >
2024-05-01 20:47:59 +03:00
Arthur Zamarin
5db2bf1b30
shell-completion: add missing args to zsh resolvectl
...
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org >
2024-05-01 19:17:59 +03:00
Arthur Zamarin
4a06acda25
shell-completion: add missing args to bash resolvectl
...
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org >
2024-05-01 19:17:59 +03:00
Arthur Zamarin
84de79e829
shell-completion: add missing args to bash systemd-analyze
...
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org >
2024-05-01 19:17:59 +03:00
Daan De Meyer
b7ad477879
reboot-util: Add some basic validation on reboot arguments
...
Let's only accept valid ASCII and put a size limit on reboot arguments.
2024-05-02 00:52:06 +09:00
Yu Watanabe
8bf27cd010
Merge pull request #32611 from DaanDeMeyer/qdisc
...
network/tc: Avoid concurrent set modification in tclass_drop()/qdisc_drop()
2024-05-02 00:51:31 +09:00
Daan De Meyer
ee8f605ded
network/tc: Avoid concurrent set modification in tclass_drop()/qdisc_drop()
...
With the current algorithm, we can end up removing entries from the
qdisc/tclass sets while having multiple open iterators over the sets at
various positions which leads to assertion failures in the hashmap logic
as it's only safe to remove the "current" entry.
To avoid the problem, let's split up marking and dropping of tclasses
and qdiscs. First, we recursively iterate tclasses/qdiscs and mark all
that need to be removed. Next, we iterate once over tclasses and qdiscs
and remove all marked entries.
Fixes 632d321050
2024-05-01 16:15:20 +02:00
Daan De Meyer
f2adc1de89
test-network: Make source directory optional
2024-05-01 16:15:20 +02:00
Daan De Meyer
e9b066ff92
test: Follow symlinks when copying with rsync
...
We have e.g. 25-default.link in test-network/ which becomes a broken
symlink when installed so let's not copy the symlinks but follow them
instead so they don't become broken.
2024-05-01 16:15:20 +02:00
dependabot[bot]
6a8bffbc6c
build(deps): bump redhat-plumbers-in-action/differential-shellcheck
...
Bumps [redhat-plumbers-in-action/differential-shellcheck](https://github.com/redhat-plumbers-in-action/differential-shellcheck ) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/redhat-plumbers-in-action/differential-shellcheck/releases )
- [Changelog](https://github.com/redhat-plumbers-in-action/differential-shellcheck/blob/main/docs/CHANGELOG.md )
- [Commits](https://github.com/redhat-plumbers-in-action/differential-shellcheck/compare/c15070885a82a2c93db8a765d332c38c50dde8b3...52bab0caa5249d6acd8bcd5bc7a68e69ac9319f9 )
---
updated-dependencies:
- dependency-name: redhat-plumbers-in-action/differential-shellcheck
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-01 16:01:22 +02:00
dependabot[bot]
916102ab89
build(deps): bump redhat-plumbers-in-action/gather-pull-request-metadata
...
Bumps [redhat-plumbers-in-action/gather-pull-request-metadata](https://github.com/redhat-plumbers-in-action/gather-pull-request-metadata ) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/redhat-plumbers-in-action/gather-pull-request-metadata/releases )
- [Commits](https://github.com/redhat-plumbers-in-action/gather-pull-request-metadata/compare/69c703f376018c1a41c8ccce21dc2e16a79f3324...17821d3bc27c1efed339595898c2e622accc5a1b )
---
updated-dependencies:
- dependency-name: redhat-plumbers-in-action/gather-pull-request-metadata
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-01 16:00:48 +02:00
Luca Boccassi
943f3ea117
Merge pull request #32610 from YHNdnzj/install-have-modification
...
core/dbus-manager: mark unit file state as outdated only if some changes succeeded
2024-05-01 14:58:43 +02:00
Mike Yuan
d69cba3bff
core/dbus-manager: mark unit file state as outdated only if
...
some changes succeeded
Follow-up for a82b8b3dc8
We don't need to invalidate the unit file state
if all operations failed.
Also, emit UnitFilesChanged signal as long as
some operations succeeded.
2024-05-01 18:22:02 +08:00
dependabot[bot]
cafc0751b5
build(deps): bump pkg/arch from 6a2bc57 to dd7aff4
...
Bumps pkg/arch from `6a2bc57` to `dd7aff4`.
---
updated-dependencies:
- dependency-name: pkg/arch
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-01 12:09:36 +02:00
Mike Yuan
80a3600210
shared/install: use FOREACH_ARRAY for install_changes_have_modification
2024-05-01 18:04:55 +08:00
dependabot[bot]
8fb796a423
build(deps): bump github/super-linter from 5.0.0 to 6
...
Bumps [github/super-linter](https://github.com/github/super-linter ) from 5.0.0 to 6.
- [Release notes](https://github.com/github/super-linter/releases )
- [Changelog](https://github.com/github/super-linter/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/super-linter/compare/45fc0d88288beee4701c62761281edfee85655d7...4e51915f4a812abf59fed160bb14595c0a38a9e7 )
---
updated-dependencies:
- dependency-name: github/super-linter
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-05-01 09:42:38 +00:00
Mike Yuan
a4d733db9f
shared/install: reduce variable scope
2024-05-01 17:35:20 +08:00
Yu Watanabe
1cca93f7f3
systemctl: fix log message when glob patterns passed to disable command and friends
...
Fixes #32599 .
2024-05-01 17:13:10 +09:00
Daan De Meyer
6be4dab095
systemctl: Implement --wait for kill command
...
TEST-26-SYSTEMCTL is racy as we call systemctl is-active immediately
after systemctl kill. Let's implement --wait for systemctl kill and
use it in TEST-26-SYSTEMCTL to avoid the race.
2024-05-01 09:40:32 +02:00
Daan De Meyer
0e7e84cbb1
Merge pull request #32540 from DaanDeMeyer/mkosi
...
mkosi: Enable more integration tests
2024-05-01 09:04:49 +02:00
Yu Watanabe
9d3d6c1e07
core/exec-credential: update comment
2024-05-01 15:58:20 +09:00
Mike Yuan
13e380b054
man/run0: fix typo (missing "by")
2024-05-01 14:43:32 +08:00
Daan De Meyer
5bcf0881a3
core: Fix file descriptor leak
2024-05-01 11:52:13 +09:00
Luca Boccassi
c8de1a8c56
docs: move information from AUTOPKGTEST.md to test/README.testsuite and delete it
...
This is not information that needs to be published on systemd.io as it's
purely internal, so the README is enough
2024-05-01 01:30:12 +01:00
Luca Boccassi
a8fa9f32e6
docs: drop outdated documents about os-release and cgroupsv1
...
cgroupv1 is deprecated, and os-release has a fully fledged manpage
2024-05-01 01:30:12 +01:00
Martin Srebotnjak
582cda44c7
po: Translated using Weblate (Slovenian)
...
Currently translated at 14.8% (35 of 235 strings)
Co-authored-by: Martin Srebotnjak <miles@filmsi.net >
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/sl/
Translation: systemd/main
2024-05-01 00:52:39 +02:00
Daan De Meyer
4b1edf5cc6
test: Add disabled mkosi tests to meson.build
...
Makes it easier to track which ones still need to be fixed.
2024-04-30 22:10:05 +02:00
Richard Maw
f2018d060f
test: Enable more mkosi integration tests
2024-04-30 22:10:05 +02:00
Daan De Meyer
51273281cd
test: Bump mkosi integration test timeout to 1800 seconds
...
Same timeout as the bash framework.
2024-04-30 22:10:05 +02:00