Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
5c6d6ea
serialize: don#t allocate 1M on the stack just like that
poettering Sep 11, 2023
b218bec
repart: Fix unused variable warning
daandemeyer Jun 2, 2024
ff07b81
core: drop unnecessary auto_fs4.h inclusion
yuwata May 28, 2024
1739e87
linux: import input.h and friends
poettering Oct 1, 2024
cc4058b
man: Clarify systemd-notify and sd_notify() PID documentation
daandemeyer Jan 14, 2025
aa13569
boot: Improve log message
daandemeyer Jan 25, 2025
9eb21c6
efivars: deal with uncommitted efi variables
wrvsrx Dec 7, 2024
2257869
core/device: do not drop backslashes in SYSTEMD_WANTS=/SYSTEMD_USER_W…
yuwata Jan 6, 2025
736ddef
stub: drop PE sections parsing cap
bluca Jan 10, 2025
fb3c45b
bus-wait-for-jobs: fix service result table
poettering Jan 14, 2025
f63fdec
man: also fix documentation of start-limit-hit
poettering Jan 14, 2025
c6bd5db
core/job: never consider reload jobs redundant
YHNdnzj Jan 22, 2025
641ce01
ukify: add loongarch64 to --efi-arch
bluca Jan 25, 2025
d5b4e87
ukify: add riscv32 to --efi-arch
bluca Jan 25, 2025
54cd52a
tools: add loongarch64 to debug-sd-boot script
bluca Jan 25, 2025
5eab616
systemctl: fix memleak
yuwata Jan 26, 2025
bc65838
random-util: fix compilation error
yuwata Jan 15, 2025
217e125
kbd-model-map: add a georgian mapping
AdamWill Jan 10, 2025
a2b758d
core: add trigger to path unit debug log
bluca Jan 27, 2025
6a7350c
man: Update nss-myhostname.xml to reflect files
AndreFerreiraMsc Jan 28, 2025
2c929f2
meson: generate keyboard-keys-list from local input.h
Hello71 Jan 28, 2025
447ffb4
Fix tense in SD_MESSAGE_SHUTDOWN_STR
andrew-sayers Jan 29, 2025
65b263d
sysupdate: Update example mode to 644 instead of 444
daandemeyer Feb 4, 2025
0cabebd
homectl: fix typo in help text
Matthieu-LAURENT39 Feb 5, 2025
a2d8e88
homectl: fix typo in man page
Matthieu-LAURENT39 Feb 5, 2025
c2ad8e3
resolved: fix DNSSEC `missing-key` error
B4dM4n Jan 22, 2025
112cfd5
meson: Skip getent when it's not found
UVV-gh Feb 5, 2025
861cac1
userdb: reset errno before getpwent()
poettering Jan 22, 2025
c7cc9a1
test-network: add test case for requesting routing policy rules by mu…
yuwata Feb 4, 2025
0895849
hwdb: Make remote controllable lights work out-of-the-box
hadess Dec 12, 2024
e9af9e8
hwdb: update to main@{2025-02-07}
bluca Feb 7, 2025
db17da7
missing_sched: add CLONE_PIDFD
michaelolbrich Feb 9, 2025
0d9c52a
stub: Mention that VirtualSize should be <= SizeOfRawData
daandemeyer Feb 4, 2025
d6e7d33
import-pubring.gpg: add openSUSE build key
thkukuk Feb 7, 2025
0d07118
import: update to current fedora keyring
poettering Feb 7, 2025
d244a5f
ukify: do not fail if pefile complains about hardcoded 256MB limit
bluca Jan 30, 2025
54808aa
tmpfiles: fix copypasta in create_symlink() (FIFO -> symlink)
YHNdnzj Feb 9, 2025
eeb3267
udev-watch: mention that the failure is ignored
yuwata Feb 12, 2025
f83f113
udev-watch: do not try to remove invalid watch handle
yuwata Feb 12, 2025
2b1fe1e
core/condition: fix segfault when key not found in os-release
keszybz Feb 13, 2025
358d379
sysupdate: Don't use compression extension for UKIs in manpage
daandemeyer Feb 13, 2025
72443da
ukify: switch from zstd to zstandard
bluca Feb 13, 2025
6892ecc
ukify: fix zboot parsing with zstd
bluca Feb 13, 2025
d64feb8
dissect: fix log_debug_errno assert due to r=0
bluca Feb 17, 2025
cf11f2e
Update footer.html to 2025
aavina Feb 17, 2025
c241427
shell completion: add kernel-identify/inspect verbs for bootctl
bluca Feb 18, 2025
1a33bd9
tools/dbus_exporter: set LD_ORIGIN_PATH if procfs is not available
bluca Nov 8, 2024
01baf9d
docs: Fix some confusing wording in various D-Bus docs
pwithnall Feb 20, 2025
2bfcbee
docs: Clarify that login1 signals are not emitted for convenience obj…
pwithnall Feb 20, 2025
bdf3c7f
fuzz: decompress_startswith() may return zero
yuwata Feb 22, 2025
be00a13
fuzz: tentatively disable fuzz-compress on oss-fuzz
yuwata Feb 22, 2025
d03a7a0
copy: Invoke hardlink context cleanup before restoring timestamps
Trundle Feb 25, 2025
4e9ab79
import/pull-tar: fix flag set
aafeijoo-suse Feb 26, 2025
5184b30
core/service: do not propagate reload for combined RELOADING=1 + READ…
YHNdnzj Feb 26, 2025
5855e7e
meson: Add missing dbus_programs dependency on update-dbus-docs
daandemeyer Feb 26, 2025
43c04de
libfido2-util: accept cached pin in fido2_generate_hmac_hash()
mwilck Feb 17, 2025
65d39c2
machine-id-setup: bhyve also provides a uuid
dankm Feb 27, 2025
0c8ce28
recurse-dir: fix wrong assertion and error code in log
yuwata Feb 28, 2025
ff15173
sd-id128: gracefully handle systems where kernel keyring access is bl…
poettering Mar 2, 2025
ca16ca1
TEST-13-NSPAWN.nss-mymachines: Use negative matching switch
Werkov Feb 25, 2025
15a25b5
async: voidify call of fsync()
yuwata Feb 18, 2025
6393340
hwdb-util: drop unused value assignment
yuwata Feb 18, 2025
2e132bf
resolved: pick up new DNSSEC KSC from 2024
poettering Mar 3, 2025
ddcd975
dns-stream: only read DNS packet data if we identified the peer properly
poettering Mar 3, 2025
eafc84e
ci: Switch to Ubuntu 24.04
daandemeyer Jun 7, 2024
e2fadb9
GHA: install makepkg manually
bluca Mar 5, 2025
64f3282
GHA: run mkosi with sudo
bluca Mar 5, 2025
d719be7
mkosi: add login to packages list on debian/ubuntu
bluca Mar 5, 2025
654e9ed
mkosi: disable secure boot check as GHA cannot enable it due to hyper…
bluca Mar 5, 2025
3b1e14d
mkosi: add libz1 to packages list on opensuse
bluca Mar 5, 2025
b13fe59
mkosi: skip repo keys checks
bluca Mar 5, 2025
ca7d636
timedate: handle gracefully if RTC lost time because of power loss
poettering Apr 19, 2024
d0c5fbd
github: drop workaround for mold and LTO
yuwata Oct 24, 2024
37fe9e1
GHA: unset SUDO env vars when calling mkosi build
bluca Mar 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 22 additions & 17 deletions .github/workflows/build_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,14 @@ if [[ "$COMPILER" == clang ]]; then
CXX="clang++-$COMPILER_VERSION"
AR="llvm-ar-$COMPILER_VERSION"

if systemd-analyze compare-versions "$COMPILER_VERSION" ge 17; then
CFLAGS="-fno-sanitize=function"
CXXFLAGS="-fno-sanitize=function"
else
CFLAGS=""
CXXFLAGS=""
fi

# Prefer the distro version if available
if ! apt install --dry-run "llvm-$COMPILER_VERSION" >/dev/null; then
# Latest LLVM stack deb packages provided by https://apt.llvm.org/
Expand All @@ -92,6 +100,8 @@ elif [[ "$COMPILER" == gcc ]]; then
CC="gcc-$COMPILER_VERSION"
CXX="g++-$COMPILER_VERSION"
AR="gcc-ar-$COMPILER_VERSION"
CFLAGS=""
CXXFLAGS=""

if ! apt install --dry-run "gcc-$COMPILER_VERSION" >/dev/null; then
# Latest gcc stack deb packages provided by
Expand All @@ -104,16 +114,20 @@ else
fatal "Unknown compiler: $COMPILER"
fi

# PPA with some newer build dependencies (like zstd)
add-apt-repository -y ppa:upstream-systemd-ci/systemd-ci
apt-get -y update
apt-get -y build-dep systemd
apt-get -y install "${PACKAGES[@]}"
# This is added by default, and it is often broken, but we don't need anything from it
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.{list,sources}
# add-apt-repository --enable-source does not work on deb822 style sources.
for f in /etc/apt/sources.list.d/*.sources; do
sudo sed -i "s/Types: deb/Types: deb deb-src/g" "$f"
done
sudo apt-get -y update
sudo apt-get -y build-dep systemd
sudo apt-get -y install "${PACKAGES[@]}"
# Install more or less recent meson and ninja with pip, since the distro versions don't
# always support all the features we need (like --optimization=). Since the build-dep
# command above installs the distro versions, let's install the pip ones just
# locally and add the local bin directory to the $PATH.
pip3 install --user -r .github/workflows/requirements.txt --require-hashes
pip3 install --user -r .github/workflows/requirements.txt --require-hashes --break-system-packages
export PATH="$HOME/.local/bin:$PATH"

$CC --version
Expand All @@ -123,20 +137,11 @@ ninja --version
for args in "${ARGS[@]}"; do
SECONDS=0

# mold < 1.1 does not support LTO.
if dpkg --compare-versions "$(dpkg-query --showformat='${Version}' --show mold)" ge 1.1; then
fatal "Newer mold version detected, please remove this workaround."
elif [[ "$args" == *"-Db_lto=true"* ]]; then
LD="gold"
else
LD="$LINKER"
fi

info "Checking build with $args"
# shellcheck disable=SC2086
if ! AR="$AR" \
CC="$CC" CC_LD="$LD" CFLAGS="-Werror" \
CXX="$CXX" CXX_LD="$LD" CXXFLAGS="-Werror" \
CC="$CC" CC_LD="$LINKER" CFLAGS="$CFLAGS" \
CXX="$CXX" CXX_LD="$LINKER" CXXFLAGS="$CXXFLAGS" \
meson setup \
-Dtests=unsafe -Dslow-tests=true -Dfuzz-tests=true --werror \
-Dnobody-group=nogroup -Dcryptolib="${CRYPTOLIB:?}" \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ permissions:

jobs:
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
concurrency:
group: ${{ github.workflow }}-${{ toJSON(matrix.env) }}-${{ github.ref }}
cancel-in-progress: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cflite_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions: read-all

jobs:
PR:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: github.repository != 'systemd/systemd' || github.event.pull_request.user.login == 'dependabot[bot]'
concurrency:
group: ${{ github.workflow }}-${{ matrix.sanitizer }}-${{ github.ref }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cifuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ on:
- main
jobs:
Fuzzing:
runs-on: ubuntu-latest
# FIXME: Figure out why 32-bit applications fail to run in docker on Ubuntu 24.04.
runs-on: ubuntu-22.04
if: github.repository == 'systemd/systemd'
concurrency:
group: ${{ github.workflow }}-${{ matrix.sanitizer }}-${{ matrix.architecture }}-${{ github.ref }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
analyze:
name: Analyze
if: github.repository != 'systemd/systemd-security'
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
concurrency:
group: ${{ github.workflow }}-${{ matrix.language }}-${{ github.ref }}
cancel-in-progress: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions:

jobs:
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: github.repository == 'systemd/systemd'
env:
# Set in repo settings -> secrets -> actions
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/development_freeze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.conclusion == 'success' &&
github.repository == 'systemd/systemd'
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

permissions:
pull-requests: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/differential-shellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ permissions:
jobs:
lint:
if: github.event.repository.name != 'systemd-security'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

permissions:
security-events: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gather-pr-metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ permissions:
jobs:
gather-metadata:
if: github.repository == 'systemd/systemd'
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- name: Repository checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issue_labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:

jobs:
label-component:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

permissions:
issues: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ permissions:
jobs:
triage:
if: github.repository == 'systemd/systemd'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
pull-requests: write

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ permissions:
jobs:
build:
name: Lint Code Base
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand All @@ -29,7 +29,7 @@ jobs:
fetch-depth: 0

- name: Lint Code Base
uses: github/super-linter/slim@45fc0d88288beee4701c62761281edfee85655d7
uses: super-linter/super-linter/slim@88ea3923a7e1f89dd485d079f6eb5f5e8f937589
env:
DEFAULT_BRANCH: main
VALIDATE_ALL_CODEBASE: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/make_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:
jobs:
release:
if: github.repository == 'systemd/systemd' || github.repository == 'systemd/systemd-stable'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

permissions:
contents: write
Expand Down
14 changes: 9 additions & 5 deletions .github/workflows/mkosi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ permissions:

jobs:
ci:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
concurrency:
group: ${{ github.workflow }}-${{ matrix.distro }}-${{ matrix.release }}-${{ github.ref }}
cancel-in-progress: true
Expand Down Expand Up @@ -74,6 +74,10 @@ jobs:

steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9

- name: Build dependencies
run: sudo apt install --yes makepkg

- uses: systemd/mkosi@5866c0ff3b36d350c943016e5a3b115f7a95d37f

- name: Configure
Expand Down Expand Up @@ -138,16 +142,16 @@ jobs:
/usr/lib/systemd/systemd-keyutil --version

- name: Generate secure boot key
run: mkosi --debug genkey
run: sudo mkosi --debug genkey

- name: Show ${{ matrix.distro }} image summary
run: mkosi summary
run: sudo mkosi summary

- name: Build ${{ matrix.distro }}
run: mkosi --debug
run: sudo env -u SUDO_USER -u SUDO_UID -u SUDO_GID mkosi --debug --repository-key-check=false

- name: Boot ${{ matrix.distro }} systemd-nspawn
run: test "$(sudo mkosi --debug boot 1>&2; echo $?)" -eq 123

- name: Boot ${{ matrix.distro }} QEMU
run: timeout -k 30 10m test "$(mkosi --debug qemu 1>&2; echo $?)" -eq 123
run: timeout -k 30 10m test "$(sudo mkosi --debug qemu 1>&2; echo $?)" -eq 123
2 changes: 1 addition & 1 deletion .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
analysis:
name: Scorecards analysis
if: github.repository == 'systemd/systemd'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
id-token: write # Used to receive a badge.

Expand Down
2 changes: 1 addition & 1 deletion catalog/systemd.catalog.in
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ Defined-By: systemd
Support: %SUPPORT_URL%

System shutdown has been initiated. The shutdown has now begun and
all system services are terminated and all file systems unmounted.
all system services will be terminated and all file systems will be unmounted.

-- c14aaf76ec284a5fa1f105f88dfb061c
Subject: System factory reset initiated
Expand Down
2 changes: 1 addition & 1 deletion docs/_includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->

<footer class="site-footer">
<p>&copy; systemd, 2023</p>
<p>&copy; systemd, 2025</p>

<p><a href="https://github.com/systemd/systemd/tree/main/docs">Website source</a></p>
</footer>
4 changes: 4 additions & 0 deletions hwdb.d/20-net-ifname.hwdb
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@
# Dell iDRAC Virtual USB NIC
usb:v413CpA102*
ID_NET_NAME_FROM_DATABASE=idrac

# Disable inclusion of PCI domain in interface names on Azure MANA
pci:v00001414d000000BA*
ID_NET_NAME_INCLUDE_DOMAIN=0
6 changes: 6 additions & 0 deletions hwdb.d/60-evdev.hwdb
Original file line number Diff line number Diff line change
Expand Up @@ -933,6 +933,12 @@ evdev:input:b0003v172Fp0031*
EVDEV_ABS_00=0:10000:400
EVDEV_ABS_01=0:6250:400

# WALTOP International Corp. Slim Tablet Stylus
evdev:input:b0003v172Fp0034*
EVDEV_ABS_00=0:20000:80
EVDEV_ABS_01=0:12500:80
EVDEV_ABS_24=0:1023:500

# WALTOP International Corp. Graphics Tablet
evdev:input:b0003v172Fp0047*
EVDEV_ABS_00=0:20000:80
Expand Down
4 changes: 4 additions & 0 deletions hwdb.d/60-input-id.hwdb
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@
id-input:modalias:input:b0003v28bdp0078*
ID_INPUT_TABLET=1

# XBox Series Elite controller
id-input:modalias:input:b0005v045Ep0B22e0517*
ID_INPUT_JOYSTICK=1

# Lite-On Tech IBM USB Travel Keyboard with Ultra Nav Mouse
id-input:modalias:input:b0003v04B3p301Ee0100-e0,1,2,4*
ID_INPUT_POINTINGSTICK=1
Expand Down
Loading