Lennart Poettering
6747d9a13f
cryptsetup: fix whitespace issue
2023-06-01 18:49:16 +02:00
Lennart Poettering
d4ea4ebc39
fstab-util: drop redundant check
...
fstab_test_option() checks this as first thing anyway, hence let's drop
the redundant check.
2023-06-01 17:17:42 +02:00
Yu Watanabe
45a6a2aace
sd-journal: fix assignment of tail entry offset
...
Fixes a bug introduced by 206f0f397edf1144c63a158fb30f496c3e89f256.
2023-06-01 17:04:10 +02:00
dependabot[bot]
7cd4f577e8
build(deps): bump github/codeql-action from 2.2.9 to 2.3.5
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.2.9 to 2.3.5.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](04df1262e6...0225834cc5
)
---
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>
2023-06-01 21:57:36 +08:00
dependabot[bot]
da92fd4612
build(deps): bump meson from 1.1.0 to 1.1.1 in /.github/workflows
...
Bumps [meson](https://github.com/mesonbuild/meson ) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/mesonbuild/meson/releases )
- [Commits](https://github.com/mesonbuild/meson/compare/1.1.0...1.1.1 )
---
updated-dependencies:
- dependency-name: meson
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-01 21:15:21 +09:00
Frantisek Sumsal
57130ca01b
test: make TEST-04 stable once again
...
Wait a bit if necessary for the cursor file to appear.
Follow-up fb35feae97.
2023-06-01 21:11:21 +09:00
Yu Watanabe
17bd68ca74
Merge pull request #27874 from keszybz/test-bus-server-shortening
...
Simplify the code in test-bus-server
2023-06-01 21:10:55 +09:00
Lennart Poettering
614ac89d30
test-sizeof: let's be a tiny bit more careful when using glibc internal types
...
One can argue that internal glibc types (i.e. those starting with __)
are not really part of the glibc API, hence let's at least ifdef them.
2023-06-01 21:10:04 +09:00
dependabot[bot]
9a1ac3a019
build(deps): bump redhat-plumbers-in-action/advanced-issue-labeler
...
Bumps [redhat-plumbers-in-action/advanced-issue-labeler](https://github.com/redhat-plumbers-in-action/advanced-issue-labeler ) from 2.0.4 to 2.0.6.
- [Release notes](https://github.com/redhat-plumbers-in-action/advanced-issue-labeler/releases )
- [Commits](25a1e41826...71bcf99aef
)
---
updated-dependencies:
- dependency-name: redhat-plumbers-in-action/advanced-issue-labeler
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-01 12:22:14 +02:00
dependabot[bot]
c9401e6c6d
build(deps): bump actions/labeler from 4.0.3 to 4.0.4
...
Bumps [actions/labeler](https://github.com/actions/labeler ) from 4.0.3 to 4.0.4.
- [Release notes](https://github.com/actions/labeler/releases )
- [Commits](ba790c862c...0776a67936
)
---
updated-dependencies:
- dependency-name: actions/labeler
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-01 12:21:34 +02:00
dependabot[bot]
6138a85d10
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 4.0.2 to 4.2.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](d24099b9f3...ac4483d8c6
)
---
updated-dependencies:
- dependency-name: redhat-plumbers-in-action/differential-shellcheck
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-01 12:20:55 +02:00
Daan De Meyer
ab645e0a90
repart: Use COPY_TRUNCATE
2023-06-01 12:19:17 +02:00
Daan De Meyer
cc45eb592b
copy: Add COPY_TRUNCATE
...
The file might grow more than the amount of data we end up writing,
so let's add a flag to truncate after writing to make sure the file
is only as large as it needs to be.
2023-06-01 12:16:15 +02:00
Zbigniew Jędrzejewski-Szmek
fcc54d1dfe
Merge pull request #27856 from arianvp/fix-bootctl-status
...
bootctl: Print version number of detected binaries again
2023-06-01 10:25:30 +02:00
Zbigniew Jędrzejewski-Szmek
70b1676578
test-bus-server: simplify return value handling
...
Follow-up for f7794e423ae79325bdbf7b3637b7cb7a1a57e62e.
2023-06-01 09:57:23 +02:00
Zbigniew Jędrzejewski-Szmek
fa18faf1c0
various: remove typo/unusual spelling
...
Wikitionary says that "noone" is known, but not preferred by a large margin.
(It's also an obsolete spelling of "noon".)
2023-06-01 09:56:14 +02:00
Yu Watanabe
041d8ad857
Merge pull request #27796 from yuwata/memstream-util
...
util: introduce memstream-util
2023-06-01 12:07:17 +09:00
Rene Hollander
930133d5df
networkd/dhcpserver: Save and expose the client hostname sent when requesting a DHCP lease.
...
DHCP clients often send their own hostname in option 12. It can be useful
to store it with the lease so it can be shown to a human to easily identify
which lease belongs to which device.
RFC: https://www.rfc-editor.org/rfc/rfc2132#section-3.14
2023-06-01 06:51:45 +09:00
Yu Watanabe
2485b7e2b8
tree-wide: use memstream-util
2023-06-01 06:48:47 +09:00
Yu Watanabe
abe72100cf
util: introduce memstream-util
...
There is many pitfalls in using memstream.
Let's introduce a wrapper to make us safely use it.
2023-06-01 06:48:43 +09:00
Yu Watanabe
24b0c6c2c9
calendarspec: rename arguments
2023-06-01 06:47:48 +09:00
Yu Watanabe
a694747d45
elf-util: rename stack_context_destroy() -> stack_context_done()
2023-06-01 06:47:48 +09:00
Yu Watanabe
3256e2027b
sd-bus: rename introspect_free() -> introspect_done
2023-06-01 06:47:48 +09:00
Yu Watanabe
5d2a48da12
tree-wide: use _cleanup_set_free_ and friends
...
Instead of _cleanup_(set_freep) or so.
2023-06-01 06:47:48 +09:00
Yu Watanabe
64377c6089
oomd: drop unused key
2023-06-01 06:47:48 +09:00
Yu Watanabe
cc4d38b14b
core/cgroup: fix setting SocketBindAllow=/SocketBindDeny= through DBus
2023-06-01 06:47:48 +09:00
Michal Sekletar
89e9df12b3
core/transaction: drop job that has unfulfilled required (Requires, BindsTo) dependencies
...
Resolves : #11338
2023-06-01 06:45:51 +09:00
Mike Yuan
d9689a35f9
man: vconsole.conf: replace the hardcoded keymap with build-time default
...
Follow-up for #26089
2023-06-01 06:33:13 +09:00
Frantisek Sumsal
4c709f3908
test: skip the test early if we're built without systemd-homed
...
We check for homed stuff in the test itself, but this is way too late,
since we already started a unit that Requires=systemd-homed.service
(testsuite-46.service). For now this doesn't matter, but with #27852
the offending transaction is dropped from the job queue, making the test
fail.
Spotted in #27852 in Ubuntu CI.
2023-06-01 06:30:45 +09:00
Yu Watanabe
322bda8241
Merge pull request #27826 from yuwata/network-link-ready-without-ndisc-when-has-static-address
...
network: do not request dynamic addressing protocols finished when at…
2023-06-01 06:29:55 +09:00
Daan De Meyer
7d52bf16e7
Merge pull request #27628 from ddstreet/tpm2_header_cleanup
...
Tpm2 header cleanup
2023-05-31 23:06:14 +02:00
Daan De Meyer
c4b7e0f812
Merge pull request #27844 from DaanDeMeyer/repart-arch
...
repart: Add --architecture option
2023-05-31 23:00:19 +02:00
Yu Watanabe
2f96a29c2c
wait-online: request that at least one managed online interface exists
...
Fixes a regression caused by ab3aed4a0349bbaa26f53340770c1b59b463e05d.
I thought the commit does not cause any severe regression. However,
drivers for network interfaces may be loaded later. So, we should wait
if no network interface is found.
Fixes #27822 .
2023-05-31 22:12:03 +02:00
Times-Z
505c501c67
hwdb: add support for Elgato Stream Deck mini (gen 2)
2023-06-01 02:36:49 +09:00
Zbigniew Jędrzejewski-Szmek
bec89355c5
units: pull in local-fs-pre.target from systemd-tmpfiles-setup-dev.service
...
local-fs-pre.target is a passive unit, which means that it is supposed to be
pulled in by everything that is ordered before it. We had
Before=local-fs-pre.target, so add Wants= too.
I don't expect this to change anything. Instead, just make things follow the
docs so it's easier to reason about the dependency set.
2023-05-31 15:44:44 +02:00
Lennart Poettering
38c86ce329
Merge pull request #27861 from poettering/find-esp-tweaks
...
minor tweaks to find-esp.c
2023-05-31 15:42:05 +02:00
Daan De Meyer
edabe6fc11
Merge pull request #27806 from DaanDeMeyer/fix-mkosi-check
...
mkosi: Use proper check to detect whether we're in a VM
2023-05-31 15:26:05 +02:00
Dan Streetman
ba723ea260
tpm2: sort tpm2 symbol list
...
Only cosmetic, no functional change.
2023-05-31 09:23:22 -04:00
Dan Streetman
b57a7b3d9b
tpm2: remove all extern tpm2-tss symbols
...
These library syms should be restricted to use only in tpm2-util.c,
and all other code should use simpler functions exported in tpm2-util.h.
Also move the Esys_Freep() cleanup function into tpm-util.c, and make
tpm2-tss symbols static.
2023-05-31 09:23:22 -04:00
Dan Streetman
9944909e68
tpm: remove external calls to dlopen_tpm2()
...
The calls outside tpm2-util.c are redundant, as tpm2_context_new()
is always called immediately after, which then calls dlopen_tpm2().
2023-05-31 09:23:21 -04:00
Daan De Meyer
2533fdd0fb
Merge pull request #27766 from rphibel/cleanup-cgroups-before-cleaning-units
...
Don't GC unit if it is in cgroup_empty_queue
2023-05-31 14:48:42 +02:00
Daan De Meyer
05d1cbb33c
Merge pull request #26969 from DaanDeMeyer/xopenat-label
...
fs-util: Add labelling support to xopenat()
2023-05-31 14:35:50 +02:00
Arian van Putten
a680d4fb87
bootctl: also print efi files not owned by systemd in status
...
We should not skip over unknown entries in EFI/BOOT/ but
also print them out in status so people are aware that they are there.
2023-05-31 14:30:31 +02:00
Daan De Meyer
df4835c897
mkosi: Check for failures by mounting again
...
We rely on vsock to communicate the exit status back to us from the
VM but vsock in Github Actions is broken so let's switch back to
mounting for now.
2023-05-31 14:22:58 +02:00
Daan De Meyer
84c7929cd4
mkosi: Don't fail on systemd-vconsole-setup.service failure for now
...
Let's make CI green again and dig into this failure later
2023-05-31 14:22:48 +02:00
Daan De Meyer
e167a8283d
mkosi: Disable cmdline addon test for now
...
This fails but we didn't notice until now because error reporting
from the mkosi VM was broken. Let's disable it for now to get CI
green again.
2023-05-31 14:19:25 +02:00
Daan De Meyer
4dfb458f42
mkosi: Use proper check to detect whether we're in a VM
2023-05-31 14:19:25 +02:00
Daan De Meyer
fdeed78a71
mkosi: Blacklist vmw_vmci to avoid issues with vsock in Github Actions
...
If this module is loaded, sending readiness notifications from the
VM will fail with "no route to host" so let's blacklist the module
to prevent that from happening.
2023-05-31 14:19:25 +02:00
Daan De Meyer
86605eed9a
mkosi: Enforce usage of vsock with qemu in CI
2023-05-31 14:19:25 +02:00
Daan De Meyer
401027075a
mkosi: Update to latest
2023-05-31 14:19:25 +02:00