]> git.ipfire.org Git - thirdparty/systemd.git/log
thirdparty/systemd.git
17 months agomkosi: Stop using tools tree 33241/head
Daan De Meyer [Fri, 7 Jun 2024 16:54:17 +0000 (18:54 +0200)] 
mkosi: Stop using tools tree

Noble has all the tooling we need so let's stop using a tools tree
and just install the dependencies we need on the host system.

17 months agomkosi: Replace sysusers.d with useradd for test user
Daan De Meyer [Fri, 7 Jun 2024 20:32:08 +0000 (22:32 +0200)] 
mkosi: Replace sysusers.d with useradd for test user

sysusers.d is not intended for regular users, so let's use useradd
instead.

17 months agoci: Switch to Ubuntu 24.04
Daan De Meyer [Fri, 7 Jun 2024 08:55:53 +0000 (10:55 +0200)] 
ci: Switch to Ubuntu 24.04

17 months agomkosi: Update to latest
Daan De Meyer [Fri, 7 Jun 2024 16:50:54 +0000 (18:50 +0200)] 
mkosi: Update to latest

17 months agoman: note that templated surviving units need a drop-in for their slice
Luca Boccassi [Thu, 6 Jun 2024 21:10:23 +0000 (22:10 +0100)] 
man: note that templated surviving units need a drop-in for their slice

As reported on the mailing list, this is non-obvious, so document it.

https://lists.freedesktop.org/archives/systemd-devel/2024-June/050351.html

17 months agoMerge pull request #33237 from bluca/dlopen_deps
Luca Boccassi [Fri, 7 Jun 2024 10:18:26 +0000 (11:18 +0100)] 
Merge pull request #33237 from bluca/dlopen_deps

mkosi: enable noble-backports for ubuntu and update debian packaging commit

17 months agomkosi: update debian packaging commit id 33237/head
Luca Boccassi [Thu, 6 Jun 2024 22:01:10 +0000 (23:01 +0100)] 
mkosi: update debian packaging commit id

17 months agomkosi: enable noble-backports for ubuntu
Luca Boccassi [Thu, 6 Jun 2024 22:00:44 +0000 (23:00 +0100)] 
mkosi: enable noble-backports for ubuntu

Required to get the new dh-dlopenlibdeps package

17 months agoUpdate version and finalize NEWS for 256~rc4 v256-rc4
Luca Boccassi [Thu, 6 Jun 2024 19:39:50 +0000 (20:39 +0100)] 
Update version and finalize NEWS for 256~rc4

17 months agorun: do not pass the pty slave fd to transient service in a machine
Zbigniew Jędrzejewski-Szmek [Thu, 6 Jun 2024 11:30:09 +0000 (13:30 +0200)] 
run: do not pass the pty slave fd to transient service in a machine

Follow-up for 28459ba1f4df824d5ef7f7d1a9acb6953ea24045

The pty path returned by OpenMachinePTY() cannot be opened from outside
the machine, hence let's use the plain Standard{Input,Output,Error}=tty
in such a case. This means if --machine= is specified, #32916 would occur.
A comprehensive fix requires a new dbus method in machined, which shall
be material for v257.

See also: https://github.com/systemd/systemd/pull/33216#discussion_r1628020429

Replaces #33216

Co-authored-by: Mike Yuan <me@yhndnzj.com>
17 months agoMerge pull request #33232 from bluca/chores
Luca Boccassi [Thu, 6 Jun 2024 19:37:11 +0000 (20:37 +0100)] 
Merge pull request #33232 from bluca/chores

Chores for RC4

17 months agomkosi: Stop skipping pkcs11 test on opensuse
Daan De Meyer [Thu, 6 Jun 2024 15:29:51 +0000 (17:29 +0200)] 
mkosi: Stop skipping pkcs11 test on opensuse

A fix was made to the softhsm package so the test now passes.

17 months agoNEWS: update contributors 33232/head
Luca Boccassi [Thu, 6 Jun 2024 16:57:47 +0000 (17:57 +0100)] 
NEWS: update contributors

17 months agoUpdate syscalls tables
Luca Boccassi [Thu, 6 Jun 2024 16:56:12 +0000 (17:56 +0100)] 
Update syscalls tables

ninja -C build update-syscall-tables update-syscall-header

17 months agoUpdate hwdb
Luca Boccassi [Thu, 6 Jun 2024 16:54:03 +0000 (17:54 +0100)] 
Update hwdb

ninja -C build update-hwdb

17 months agoRevert "network: add "mac" to alternatives name policy by default" (#33227)
Zbigniew Jędrzejewski-Szmek [Thu, 6 Jun 2024 16:35:46 +0000 (18:35 +0200)] 
Revert "network: add "mac" to alternatives name policy by default" (#33227)

This reverts commit 0f5a529217f1327f020ab54deed09e6fae1f1fef.

As discussed in https://github.com/systemd/systemd/issues/33104,
that patch caused problems in Debian which has a udev drop-in with

  [Match]
  Path=*-usb-*

  [Link]
  NamePolicy=mac

The rename fails:
   eth0: Policy *mac* yields "enx00*".
   eth0: /usr/lib/udev/rules.d/80-net-setup-link.rules:11 NAME 'enx00*'
   eth0: /usr/lib/udev/rules.d/99-systemd.rules:69 RUN '/usr/lib/systemd/systemd-sysctl --prefix=/net/ipv4/conf/$name --prefix=/net/ipv4/neigh/$
   eth0: sd-device: Created database file '/run/udev/data/n9' for '/devices/pci0000:00/0000:00:1c.4/0000:02:00.0/0000:03:01.0/0000:05:00.0/0000:
   eth0: Failed to rename network interface 9 from 'eth0' to 'enx00*': File exists
   eth0: sd-device: Created database file '/run/udev/data/n9' for '/devices/pci0000:00/0000:00:1c.4/0000:02:00.0/0000:03:01.0/0000:05:00.0/0000:
   eth0: Failed to process device, ignoring: File exists

Two network interfaces have the same MAC and it's not marked NET_ADDR_STOLEN.
In this case the conflict is very visible because it causes the rename to fail,
but it would also occur in other cases, for alternative names.

A patch has been submitted for r8152 to properly set NET_ADDR_STOLEN:
https://lore.kernel.org/linux-usb/20240605153340.25694-1-gmazyland@gmail.com/T/#u

Let's revert this now to avoid a regression. We can try again after the kernel
issue is resolved.

Closes https://github.com/systemd/systemd/issues/33104.

17 months agoMerge pull request #33218 from DaanDeMeyer/initrd-modules
Daan De Meyer [Thu, 6 Jun 2024 16:01:00 +0000 (18:01 +0200)] 
Merge pull request #33218 from DaanDeMeyer/initrd-modules

mkosi: Include fewer modules in the initramfs

17 months agoMerge pull request #33189 from bluca/fscrypt_flush
Luca Boccassi [Thu, 6 Jun 2024 15:34:20 +0000 (16:34 +0100)] 
Merge pull request #33189 from bluca/fscrypt_flush

homed: flush fscrypt key on lock/deactivate

17 months agomkosi: Include fewer modules in the initramfs 33218/head
Daan De Meyer [Wed, 5 Jun 2024 16:22:22 +0000 (18:22 +0200)] 
mkosi: Include fewer modules in the initramfs

Let's only use mkosi's default list of modules instead of all of
them.

17 months agomkosi: Update to latest
Daan De Meyer [Wed, 5 Jun 2024 16:57:31 +0000 (18:57 +0200)] 
mkosi: Update to latest

17 months agohomed: flush fscrypt key on lock/deactivate 33189/head
Luca Boccassi [Tue, 4 Jun 2024 02:17:42 +0000 (03:17 +0100)] 
homed: flush fscrypt key on lock/deactivate

The fscrypt key is added to the user keyring, and needs to be flushed out too.

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

17 months agomkosi: do a sparse checkout of debian/ubuntu packaging repo
Luca Boccassi [Wed, 5 Jun 2024 23:14:37 +0000 (00:14 +0100)] 
mkosi: do a sparse checkout of debian/ubuntu packaging repo

The repository on Salsa includes the full upstream sources, which means
they are duplicated, taking extra space and showing duplicated grep results.
But we only need the debian/ subfolder, so do a sparse clone and checkout.

17 months agoutil: add keyring_describe helper and move to basic
Luca Boccassi [Tue, 4 Jun 2024 12:23:30 +0000 (13:23 +0100)] 
util: add keyring_describe helper and move to basic

So that it can be used from libsystemd. No external dependencies.

17 months agonetwork/ndisc: use router lifetime as one for redirect route
Yu Watanabe [Mon, 3 Jun 2024 20:29:59 +0000 (05:29 +0900)] 
network/ndisc: use router lifetime as one for redirect route

Previously, we did not set lifetime for redirect route, and redirect
routes were removed only when received a RA from the target address.
Thus, routes that redirect on-link addresses were never removed.

RFCs mention nothing about the lifetime of redirection. But the previous
implementation does not pass the IPv6 Core Conformance Tests.

This makes
- remember all received RAs and manage them by the sender address
  (previously, remembered only one with the highest preference),
- then use the router lifetime as one for redirect route,
- remove redirect route also when the router corresponds to the sender
  address is dropped (previously, considered only target address).

Note, even if we recieve a new RA, we do not update existing redirect
routes. The lifetime of the redirect route is updated only when a new
Redirect message is received.

Closes #32527.

17 months agoman: document /usr/local/lib in search paths
Jörg Behrmann [Wed, 5 Jun 2024 15:08:57 +0000 (17:08 +0200)] 
man: document /usr/local/lib in search paths

17 months agoMerge pull request #33198 from keszybz/update-distro-hash
Luca Boccassi [Thu, 6 Jun 2024 09:22:15 +0000 (10:22 +0100)] 
Merge pull request #33198 from keszybz/update-distro-hash

Add helper script to update distro packaging hashes

17 months agomkosi: update fedora commit reference 33198/head
Zbigniew Jędrzejewski-Szmek [Thu, 6 Jun 2024 08:01:46 +0000 (10:01 +0200)] 
mkosi: update fedora commit reference

1f94b56cee Partially backport PR #33016 to fix crashes in KDE 6.3.0

17 months agomkosi: update debian commit reference
Zbigniew Jędrzejewski-Szmek [Thu, 6 Jun 2024 08:01:43 +0000 (10:01 +0200)] 
mkosi: update debian commit reference

5b9607385d debian/tests/storage: without scsi_debug, skip test
8a195a6327 debian/extra: use a dropin to configure Nice=-1 on systemd-journald.service
5436d49288 debian/extra: use a drop-in resolved.conf to configure Cache=no-negative
596a99d2d3 debian/extra: set ManagedOOMSwap=auto on -.slice
07ba81b14d LimitCORE: restore default hard limit to infinity
df3a9a91e8 Restart managers on libc-upgrade dpkg trigger

17 months agomkosi: set -o nounset for scripts
Zbigniew Jędrzejewski-Szmek [Tue, 4 Jun 2024 13:25:03 +0000 (15:25 +0200)] 
mkosi: set -o nounset for scripts

Those scripts are written with the expectation that all input variables are set
and will not behave correctly if something is ommitted. In particular, the
non-chrooted scripts (mkosi.clean, mkosi.sync) might wreak havoc if called
without the full environment.

17 months agotools/update-distro-hash: add a helper script to sync submodule
Zbigniew Jędrzejewski-Szmek [Tue, 4 Jun 2024 13:10:15 +0000 (15:10 +0200)] 
tools/update-distro-hash: add a helper script to sync submodule

17 months agopo: update and correction translation (Chinese (Traditional) (zh_TW))
hanjinpeng [Wed, 5 Jun 2024 17:25:28 +0000 (01:25 +0800)] 
po: update and correction translation (Chinese (Traditional) (zh_TW))

17 months agoRevert "mkosi: Don't install wireguard-tools on Debian"
Daan De Meyer [Wed, 5 Jun 2024 17:01:27 +0000 (19:01 +0200)] 
Revert "mkosi: Don't install wireguard-tools on Debian"

wireguard-tools was added back to debian testing.

This reverts commit 8c335463d9fe6c2e2f3d9584d7c26871800065e2.

17 months agomkosi: Disable scratch device by default
Daan De Meyer [Wed, 5 Jun 2024 15:51:57 +0000 (17:51 +0200)] 
mkosi: Disable scratch device by default

We include scratch space in the rootfs image itself so we don't have
need for the scratch device so let's disable it by default.

17 months agoMerge pull request #33197 from poettering/cryptsetup-fallback-tweak
Luca Boccassi [Wed, 5 Jun 2024 16:41:55 +0000 (17:41 +0100)] 
Merge pull request #33197 from poettering/cryptsetup-fallback-tweak

cryptsetup: unset an unlock path on each unlock retry

17 months agocore: Fix CPUQuotaPerSecUSec unit file serialization
Daan De Meyer [Mon, 3 Jun 2024 08:40:35 +0000 (10:40 +0200)] 
core: Fix CPUQuotaPerSecUSec unit file serialization

CPUQuota= can deal with float percentages perfectly fine these days
(up to two places after the dot), so let's take that into account
when serializing the value to the transient unit file so we don't lose
precision when specifying e.g. "CPUQuota=0.5%".

17 months agojson: use secure un{base64,hex}mem for sensitive variants
Kamil Szczęk [Wed, 5 Jun 2024 09:21:23 +0000 (11:21 +0200)] 
json: use secure un{base64,hex}mem for sensitive variants

While tracing a LUKS code path in homework, I've noticed that we don't
erase buffers when doing unbase64 or unhex on JSON variants, even if the
variant is marked as sensitive.

17 months agonetwork/route: fix condition in route_can_update()
Yu Watanabe [Wed, 5 Jun 2024 08:59:28 +0000 (17:59 +0900)] 
network/route: fix condition in route_can_update()

An existing route with lifetime can be always updated with a new
finite lifetime. As the comment in the code says, we cannot disable the
lifetime. So, the condition must be '==', rather than '!='.

Fixes #33210.

17 months agopo: Translated using Weblate (Chinese (Simplified) (zh_CN))
hanjinpeng [Wed, 5 Jun 2024 07:44:40 +0000 (09:44 +0200)] 
po: Translated using Weblate (Chinese (Simplified) (zh_CN))

Currently translated at 100.0% (233 of 233 strings)

Co-authored-by: hanjinpeng <hanjinpeng127@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/zh_CN/
Translation: systemd/main

17 months agocryptsetup: check keyring cache passphrase at least once 33197/head
Luca Boccassi [Tue, 4 Jun 2024 22:06:27 +0000 (23:06 +0100)] 
cryptsetup: check keyring cache passphrase at least once

The first try will be on the TPM2, so in practice this was always skipped
as it happens only on the first try. Use a different bool to track this.

17 months agocryptsetup: unset an unlock path on each unlock retry
Lennart Poettering [Tue, 4 Jun 2024 11:53:55 +0000 (13:53 +0200)] 
cryptsetup: unset an unlock path on each unlock retry

If we couldn't unlock a device with the chosen unlock path, let's not
fall back to the lowest one right away, but only flush out one path, and
try the next.

Fixes: #30425
Follow-up-for: #30185
Alternative-to: #33183
17 months agolibpasswdqc: add missing `#include "dlfcn-util.h"`
David Seifert [Tue, 4 Jun 2024 15:15:14 +0000 (17:15 +0200)] 
libpasswdqc: add missing `#include "dlfcn-util.h"`

17 months agoMerge pull request #33199 from DaanDeMeyer/optimization
Luca Boccassi [Tue, 4 Jun 2024 15:37:53 +0000 (16:37 +0100)] 
Merge pull request #33199 from DaanDeMeyer/optimization

mkosi: Build with -O0 by default

17 months agoFix key toggle touchpad and programmable buttom for Positivo N14AP7
Edson Juliano Drosdeck [Tue, 4 Jun 2024 11:35:14 +0000 (08:35 -0300)] 
Fix key toggle touchpad and programmable buttom for Positivo N14AP7

17 months agomkosi: Stop sourcing /etc/makepkg.conf 33199/head
Daan De Meyer [Tue, 4 Jun 2024 14:03:45 +0000 (16:03 +0200)] 
mkosi: Stop sourcing /etc/makepkg.conf

We don't need this anymore since we now just do delayed evaluation
of $CFLAGS in /etc/makepkg.conf and it imports $CFLAGS into the
script environment which messes everything up.

17 months agomkosi: Build with -O0 by default
Daan De Meyer [Tue, 4 Jun 2024 13:53:06 +0000 (15:53 +0200)] 
mkosi: Build with -O0 by default

This was accidentally removed in https://github.com/systemd/systemd/pull/33193

17 months agoMerge pull request #33193 from DaanDeMeyer/fortify
Luca Boccassi [Tue, 4 Jun 2024 12:38:00 +0000 (13:38 +0100)] 
Merge pull request #33193 from DaanDeMeyer/fortify

mkosi: Disable FORTIFY_SOURCE when building without optimizations or with sanitizers

17 months agoMerge pull request #33192 from DaanDeMeyer/packaging
Luca Boccassi [Tue, 4 Jun 2024 10:32:27 +0000 (11:32 +0100)] 
Merge pull request #33192 from DaanDeMeyer/packaging

mkosi: Various opensuse improvements

17 months agomkosi: Build Arch Linux image with -D_FORTIFY_SOURCE=3 33193/head
Daan De Meyer [Tue, 4 Jun 2024 10:27:29 +0000 (12:27 +0200)] 
mkosi: Build Arch Linux image with -D_FORTIFY_SOURCE=3

_FORTIFY_SOURCE requires optimizations to be enabled so we set -O2
as well.

17 months agomkosi: Drop $OPTIMIZATION variable
Daan De Meyer [Sat, 1 Jun 2024 10:54:49 +0000 (12:54 +0200)] 
mkosi: Drop $OPTIMIZATION variable

Let's instead just use $CFLAGS to override the optimization level.

17 months agomkosi: Use __meson_verbose in opensuse build script 33192/head
Daan De Meyer [Tue, 4 Jun 2024 09:04:05 +0000 (11:04 +0200)] 
mkosi: Use __meson_verbose in opensuse build script

OpenSUSE Tumbleweed now ships meson 1.4.0 which ships the new
__meson_verbose macro.

17 months agomkosi: Use meson_extra_configure_options for opensuse
Daan De Meyer [Tue, 4 Jun 2024 09:00:53 +0000 (11:00 +0200)] 
mkosi: Use meson_extra_configure_options for opensuse

This is now available so let's use it.

17 months agomkosi: Update opensuse commit to latest
Daan De Meyer [Tue, 4 Jun 2024 09:00:38 +0000 (11:00 +0200)] 
mkosi: Update opensuse commit to latest

17 months agopo: Translated using Weblate (Swedish)
Luna Jernberg [Tue, 4 Jun 2024 05:35:58 +0000 (07:35 +0200)] 
po: Translated using Weblate (Swedish)

Currently translated at 100.0% (233 of 233 strings)

Co-authored-by: Luna Jernberg <bittin@reimu.nl>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/sv/
Translation: systemd/main

17 months agopo: Translated using Weblate (French)
Pierre GRASSER [Tue, 4 Jun 2024 05:35:58 +0000 (07:35 +0200)] 
po: Translated using Weblate (French)

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

17 months agoMerge pull request #33173 from yuwata/test-network
Luca Boccassi [Mon, 3 Jun 2024 21:48:11 +0000 (22:48 +0100)] 
Merge pull request #33173 from yuwata/test-network

test-network: several  cleanups

17 months agotest-network: introduce a .network file to protect existing interfaces 33173/head
Yu Watanabe [Mon, 3 Jun 2024 09:04:55 +0000 (18:04 +0900)] 
test-network: introduce a .network file to protect existing interfaces

17 months agotest-network: show PID and Invocation ID of networkd
Yu Watanabe [Mon, 3 Jun 2024 08:49:26 +0000 (17:49 +0900)] 
test-network: show PID and Invocation ID of networkd

Then, we can easily find relevant journal entry on failure.
This is especially useful when the test is running with --no-journal.

17 months agotest-network: flush stream buffer and journals before/after running test
Yu Watanabe [Mon, 3 Jun 2024 08:43:43 +0000 (17:43 +0900)] 
test-network: flush stream buffer and journals before/after running test

17 months agotest-network: generate debugging logs of networkd-persistent-storage.service
Yu Watanabe [Mon, 3 Jun 2024 08:24:23 +0000 (17:24 +0900)] 
test-network: generate debugging logs of networkd-persistent-storage.service

17 months agotest: disable TEST-21-DFUZZER in mkosi, as it is very flacky
Luca Boccassi [Mon, 3 Jun 2024 16:15:08 +0000 (17:15 +0100)] 
test: disable TEST-21-DFUZZER in mkosi, as it is very flacky

Can be re-enabled once https://github.com/systemd/systemd/issues/33156
is solved

17 months agojournald: enable persistent FD Store to fix logging during soft-reboot
Luca Boccassi [Fri, 31 May 2024 15:40:12 +0000 (16:40 +0100)] 
journald: enable persistent FD Store to fix logging during soft-reboot

A unit with StandardOutput=journal (the default) will get its stdout/stderr sockets
disconnected when journald stops, as the file descriptors on journald's side are
not preserved (it works on restart, as the FD Store keeps them open during restarts).
Set FileDescriptorStorePreserve=yes so that the journal FD's stay open during a soft
reboot, and applications don't get broken stdout/stderr.

17 months agodocs: fix escaped $ in CGroup Interface
Heran Yang [Mon, 3 Jun 2024 12:51:54 +0000 (20:51 +0800)] 
docs: fix escaped $ in CGroup Interface

17 months agoRevert "test: Run end.sh when running integration tests with mkosi"
Luca Boccassi [Mon, 3 Jun 2024 13:51:15 +0000 (14:51 +0100)] 
Revert "test: Run end.sh when running integration tests with mkosi"

It seems this introduced a regression in the CentOS CI;

14:25:58 FAILED TASKS:14:25:58 -------------
14:25:58 TEST-03-JOBS
14:25:58 TEST-52-HONORFIRSTSHUTDOWN
14:25:58 TEST-63-PATH

Revert for now.

This reverts commit da3c6fc55363af2163b4d2613c9951bdaea24810.

17 months agoMerge pull request #33146 from DaanDeMeyer/clang
Daan De Meyer [Mon, 3 Jun 2024 13:43:31 +0000 (15:43 +0200)] 
Merge pull request #33146 from DaanDeMeyer/clang

mkosi: Add support for building with LLVM

17 months agomkosi: Allow using $MESON_VERBOSE to enable verbose meson output 33146/head
Daan De Meyer [Mon, 3 Jun 2024 07:47:33 +0000 (09:47 +0200)] 
mkosi: Allow using $MESON_VERBOSE to enable verbose meson output

17 months agomkosi: Build Fedora Rawhide sanitizers job with LLVM
Daan De Meyer [Sat, 1 Jun 2024 13:14:08 +0000 (15:14 +0200)] 
mkosi: Build Fedora Rawhide sanitizers job with LLVM

More coverage and clang tends to be better at sanitizers than gcc.

17 months agomkosi: Build with --werror in CI
Daan De Meyer [Sat, 1 Jun 2024 11:01:03 +0000 (13:01 +0200)] 
mkosi: Build with --werror in CI

17 months agomkosi: Allow clearing meson cache with WIPE=1
Daan De Meyer [Sat, 1 Jun 2024 12:45:22 +0000 (14:45 +0200)] 
mkosi: Allow clearing meson cache with WIPE=1

meson does not support changing compilation flags on the fly, when
doing so, the entire build directory has to be cleared explicitly, so
let's add a way to do that by setting WIPE=1.

Let's also allow developers to specify their own meson options via
$MESON_OPTIONS.

17 months agobuild(deps): bump redhat-plumbers-in-action/differential-shellcheck
dependabot[bot] [Sat, 1 Jun 2024 09:13:38 +0000 (09:13 +0000)] 
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.2 to 5.3.0.
- [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/52bab0caa5249d6acd8bcd5bc7a68e69ac9319f9...60c9f2b924a9c5a2ddbb25e7b23e8e11b56faab9)

---
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>
17 months agobuild(deps): bump ossf/scorecard-action from 2.3.1 to 2.3.3
dependabot[bot] [Sat, 1 Jun 2024 09:13:45 +0000 (09:13 +0000)] 
build(deps): bump ossf/scorecard-action from 2.3.1 to 2.3.3

Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.3.1 to 2.3.3.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](https://github.com/ossf/scorecard-action/compare/0864cf19026789058feabb7e87baa5f140aac736...dc50aa9510b46c811795eb24b2f1ba02a914e534)

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

Signed-off-by: dependabot[bot] <support@github.com>
17 months agobuild(deps): bump softprops/action-gh-release from 2.0.4 to 2.0.5
dependabot[bot] [Sat, 1 Jun 2024 09:13:45 +0000 (09:13 +0000)] 
build(deps): bump softprops/action-gh-release from 2.0.4 to 2.0.5

Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/9d7c94cfd0a1f3ed45544c887983e9fa900f0564...69320dbe05506a9a39fc8ae11030b214ec2d1f87)

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

Signed-off-by: dependabot[bot] <support@github.com>
17 months agobuild(deps): bump actions/checkout from 4.1.2 to 4.1.6
dependabot[bot] [Sat, 1 Jun 2024 09:13:51 +0000 (09:13 +0000)] 
build(deps): bump actions/checkout from 4.1.2 to 4.1.6

Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.2 to 4.1.6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/9bb56186c3b09b4f86b1c65136769dd318469633...a5ac7e51b41094c92402da3b24376905380afc29)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
17 months agomkosi: Allow setting custom CFLAGS and LDFLAGS
Daan De Meyer [Sat, 1 Jun 2024 10:58:29 +0000 (12:58 +0200)] 
mkosi: Allow setting custom CFLAGS and LDFLAGS

17 months agomkosi: Fix comment
Daan De Meyer [Mon, 3 Jun 2024 10:57:57 +0000 (12:57 +0200)] 
mkosi: Fix comment

17 months agomkosi: Add support for building with LLVM
Daan De Meyer [Sat, 1 Jun 2024 10:27:45 +0000 (12:27 +0200)] 
mkosi: Add support for building with LLVM

Now you can do mkosi -E LLVM=1 to build with clang+lld. This includes
support for building with sanitizers.

17 months agomkosi: Make sure initrd coredumps are also stored in the journal
Daan De Meyer [Sun, 2 Jun 2024 08:26:20 +0000 (10:26 +0200)] 
mkosi: Make sure initrd coredumps are also stored in the journal

Let's also translate the coredump config into a dropin so we don't
accidentally override any existing configuration.

17 months agomkosi: Update debian packaging to latest
Daan De Meyer [Sat, 1 Jun 2024 11:18:35 +0000 (13:18 +0200)] 
mkosi: Update debian packaging to latest

17 months agomkosi: Disable iscsiuio.socket as well
Daan De Meyer [Sun, 2 Jun 2024 15:54:41 +0000 (17:54 +0200)] 
mkosi: Disable iscsiuio.socket as well

17 months agomkosi: Use env where appropriate
Daan De Meyer [Sun, 2 Jun 2024 15:07:53 +0000 (17:07 +0200)] 
mkosi: Use env where appropriate

17 months agomeson: Pass -Wno-deprecated-declarations when detecting libcryptsetup functions
Daan De Meyer [Mon, 3 Jun 2024 07:31:26 +0000 (09:31 +0200)] 
meson: Pass -Wno-deprecated-declarations when detecting libcryptsetup functions

Otherwise we fail to detect crypt_reencrypt() if -Werror is used.

17 months agomkosi: drop Debian /tmp hack
Daan De Meyer [Mon, 3 Jun 2024 09:49:34 +0000 (11:49 +0200)] 
mkosi: drop Debian /tmp hack

/tmp is now a tmpfs in debian testing so let's drop our workaround.

17 months agomkosi: Add missing [Content] section
Daan De Meyer [Mon, 3 Jun 2024 09:53:00 +0000 (11:53 +0200)] 
mkosi: Add missing [Content] section

17 months agomkosi: Make system dependencies conditional on format
Daan De Meyer [Mon, 3 Jun 2024 09:17:48 +0000 (11:17 +0200)] 
mkosi: Make system dependencies conditional on format

If the none format is specified, we don't use the extra trees at all
so let's make the dependencies on the subimages conditional on Format=
not being set to "none".

This speeds up builds when using Format=none.

17 months agodocs: fix typo in CGroup Interface
Heran Yang [Mon, 3 Jun 2024 08:56:56 +0000 (16:56 +0800)] 
docs: fix typo in CGroup Interface

17 months agodocs/DAEMON_SOCKET_ACTIVATION
Arian van Putten [Sun, 2 Jun 2024 19:44:33 +0000 (21:44 +0200)] 
docs/DAEMON_SOCKET_ACTIVATION

Remove non-sensical network.target dependencies

There is no need to have these dependencies on socket units as far as I am aware.

17 months agoimportctl: Fix 0 flags argument in sd_bus_message_append()
Daan De Meyer [Sun, 2 Jun 2024 20:19:16 +0000 (22:19 +0200)] 
importctl: Fix 0 flags argument in sd_bus_message_append()

17 months agorepart: Fix unused variable warning
Daan De Meyer [Sun, 2 Jun 2024 17:57:39 +0000 (19:57 +0200)] 
repart: Fix unused variable warning

17 months agoMerge pull request #33168 from weblate/weblate-systemd-main
Yu Watanabe [Mon, 3 Jun 2024 06:10:37 +0000 (15:10 +0900)] 
Merge pull request #33168 from weblate/weblate-systemd-main

Translations update from Fedora Weblate

17 months agopo: Translated using Weblate (Hindi) 33168/head
Scrambled 777 [Mon, 3 Jun 2024 00:35:59 +0000 (02:35 +0200)] 
po: Translated using Weblate (Hindi)

Currently translated at 100.0% (233 of 233 strings)

Co-authored-by: Scrambled 777 <weblate.scrambled777@simplelogin.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/hi/
Translation: systemd/main

17 months agopo: Translated using Weblate (Georgian)
Temuri Doghonadze [Mon, 3 Jun 2024 00:35:59 +0000 (02:35 +0200)] 
po: Translated using Weblate (Georgian)

Currently translated at 100.0% (233 of 233 strings)

Co-authored-by: Temuri Doghonadze <temuri.doghonadze@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/ka/
Translation: systemd/main

17 months agopo: Translated using Weblate (Ukrainian)
Yuri Chornoivan [Mon, 3 Jun 2024 00:35:59 +0000 (02:35 +0200)] 
po: Translated using Weblate (Ukrainian)

Currently translated at 100.0% (233 of 233 strings)

Co-authored-by: Yuri Chornoivan <yurchor@ukr.net>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/uk/
Translation: systemd/main

17 months agopo: Translated using Weblate (Russian)
Sergey A [Mon, 3 Jun 2024 00:35:58 +0000 (02:35 +0200)] 
po: Translated using Weblate (Russian)

Currently translated at 100.0% (233 of 233 strings)

Co-authored-by: Sergey A <sw@atrus.ru>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/ru/
Translation: systemd/main

17 months agoMerge pull request #33157 from DaanDeMeyer/end
Daan De Meyer [Sun, 2 Jun 2024 19:04:56 +0000 (21:04 +0200)] 
Merge pull request #33157 from DaanDeMeyer/end

test: Run end.sh when running integration tests with mkosi

17 months agotest: Run end.sh when running integration tests with mkosi 33157/head
Daan De Meyer [Sun, 2 Jun 2024 08:59:09 +0000 (10:59 +0200)] 
test: Run end.sh when running integration tests with mkosi

17 months agoTEST-16-EXTEND-TIMEOUT: Convert to oneshot service
Daan De Meyer [Sun, 2 Jun 2024 14:43:00 +0000 (16:43 +0200)] 
TEST-16-EXTEND-TIMEOUT: Convert to oneshot service

To match the other service units more and allow adding more
ExecStart= lines via dropins.

17 months agoresolved: Add missing nullable annotation for ifindex in ResolvedRecord
Daan De Meyer [Sun, 2 Jun 2024 17:14:43 +0000 (19:14 +0200)] 
resolved: Add missing nullable annotation for ifindex in ResolvedRecord

17 months agohostnamed: Add missing VSockCID varlink introspection data
Daan De Meyer [Sun, 2 Jun 2024 14:37:56 +0000 (16:37 +0200)] 
hostnamed: Add missing VSockCID varlink introspection data

17 months agopcrlock: Fix ReadEventLog() interface definition
Daan De Meyer [Sun, 2 Jun 2024 14:33:47 +0000 (16:33 +0200)] 
pcrlock: Fix ReadEventLog() interface definition

17 months agoMerge pull request #33154 from yuwata/test-async
Daan De Meyer [Sun, 2 Jun 2024 06:49:44 +0000 (08:49 +0200)] 
Merge pull request #33154 from yuwata/test-async

test-async: wait a while for fd to be closed

17 months agoman: mention that ExecCondition= in COMMAND LINES section for systemd.service
hanjinpeng [Sat, 1 Jun 2024 13:58:36 +0000 (21:58 +0800)] 
man: mention that ExecCondition= in COMMAND LINES section for systemd.service