Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
a7d4e7f
ci: drop clang-13, add clang-16
mrc0mmand Mar 19, 2023
6bb2dfb
mkosi: install libgcrypt20 and libcryptsetup12 manually in debian
bluca Aug 15, 2024
ea39c11
Drop log level of header limits log message
daandemeyer Apr 24, 2023
dfbb1a5
serialize: don#t allocate 1M on the stack just like that
poettering Sep 11, 2023
2884678
core: drop unnecessary auto_fs4.h inclusion
yuwata May 28, 2024
3e01da7
linux: import input.h and friends
poettering Oct 1, 2024
5b5b6ad
boot: Improve log message
daandemeyer Jan 25, 2025
0dbdf54
efivars: deal with uncommitted efi variables
wrvsrx Dec 7, 2024
a572f2e
core/device: do not drop backslashes in SYSTEMD_WANTS=/SYSTEMD_USER_W…
yuwata Jan 6, 2025
dfbb087
stub: drop PE sections parsing cap
bluca Jan 10, 2025
7874f9d
bus-wait-for-jobs: fix service result table
poettering Jan 14, 2025
37224b5
man: also fix documentation of start-limit-hit
poettering Jan 14, 2025
4926d1a
core/job: never consider reload jobs redundant
YHNdnzj Jan 22, 2025
936b637
systemctl: fix memleak
yuwata Jan 26, 2025
41a6a23
random-util: fix compilation error
yuwata Jan 15, 2025
1b1e3cb
kbd-model-map: add a georgian mapping
AdamWill Jan 10, 2025
c2be258
core: add trigger to path unit debug log
bluca Jan 27, 2025
4878c3a
man: Update nss-myhostname.xml to reflect files
AndreFerreiraMsc Jan 28, 2025
3b211af
meson: generate keyboard-keys-list from local input.h
Hello71 Jan 28, 2025
51d922e
Fix tense in SD_MESSAGE_SHUTDOWN_STR
andrew-sayers Jan 29, 2025
e86ee35
sysupdate: Update example mode to 644 instead of 444
daandemeyer Feb 4, 2025
72e3eae
homectl: fix typo in help text
Matthieu-LAURENT39 Feb 5, 2025
786c4d9
homectl: fix typo in man page
Matthieu-LAURENT39 Feb 5, 2025
cac844d
resolved: fix DNSSEC `missing-key` error
B4dM4n Jan 22, 2025
3a058cd
meson: Skip getent when it's not found
UVV-gh Feb 5, 2025
572e907
userdb: reset errno before getpwent()
poettering Jan 22, 2025
d20b02d
test-network: add test case for requesting routing policy rules by mu…
yuwata Feb 4, 2025
87f7ec1
hwdb: Make remote controllable lights work out-of-the-box
hadess Dec 12, 2024
98939ec
hwdb: update to main@{2025-02-07}
bluca Feb 7, 2025
dc72f2c
missing_sched: add CLONE_PIDFD
michaelolbrich Feb 9, 2025
ba1a588
stub: Mention that VirtualSize should be <= SizeOfRawData
daandemeyer Feb 4, 2025
a6c0e3a
import-pubring.gpg: add openSUSE build key
thkukuk Feb 7, 2025
11b53c5
import: update to current fedora keyring
poettering Feb 7, 2025
9712d80
tmpfiles: fix copypasta in create_symlink() (FIFO -> symlink)
YHNdnzj Feb 9, 2025
68babcd
udev-watch: mention that the failure is ignored
yuwata Feb 12, 2025
66c5507
udev-watch: do not try to remove invalid watch handle
yuwata Feb 12, 2025
a4bb941
core/condition: fix segfault when key not found in os-release
keszybz Feb 13, 2025
7cce537
sysupdate: Don't use compression extension for UKIs in manpage
daandemeyer Feb 13, 2025
4bea08f
dissect: fix log_debug_errno assert due to r=0
bluca Feb 17, 2025
320fc23
tools/dbus_exporter: set LD_ORIGIN_PATH if procfs is not available
bluca Nov 8, 2024
a39c968
docs: Fix some confusing wording in various D-Bus docs
pwithnall Feb 20, 2025
fec78b6
docs: Clarify that login1 signals are not emitted for convenience obj…
pwithnall Feb 20, 2025
e9e9a32
fuzz: decompress_startswith() may return zero
yuwata Feb 22, 2025
0dabb8e
copy: Invoke hardlink context cleanup before restoring timestamps
Trundle Feb 25, 2025
0634d35
import/pull-tar: fix flag set
aafeijoo-suse Feb 26, 2025
2806f9a
meson: Add missing dbus_programs dependency on update-dbus-docs
daandemeyer Feb 26, 2025
a7a4bd2
libfido2-util: accept cached pin in fido2_generate_hmac_hash()
mwilck Feb 17, 2025
ced7937
machine-id-setup: bhyve also provides a uuid
dankm Feb 27, 2025
a7622b5
recurse-dir: fix wrong assertion and error code in log
yuwata Feb 28, 2025
e41c302
sd-id128: gracefully handle systems where kernel keyring access is bl…
poettering Mar 2, 2025
fb089f2
hwdb-util: drop unused value assignment
yuwata Feb 18, 2025
d65e997
resolved: pick up new DNSSEC KSC from 2024
poettering Mar 3, 2025
4e1fd8b
dns-stream: only read DNS packet data if we identified the peer properly
poettering Mar 3, 2025
c331c6e
ci: Switch to Ubuntu 24.04
daandemeyer Jun 7, 2024
1a9d005
GHA: install makepkg manually
bluca Mar 5, 2025
323b9af
mkosi: add login to packages list on debian/ubuntu
bluca Mar 5, 2025
1f1b62b
mkosi: add libz1 to packages list on opensuse
bluca Mar 5, 2025
323fe4d
timedate: handle gracefully if RTC lost time because of power loss
poettering Apr 19, 2024
58cac98
github: drop workaround for mold and LTO
yuwata Oct 24, 2024
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
40 changes: 23 additions & 17 deletions .github/workflows/build_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ PACKAGES=(
expect
fdisk
gettext
gnu-efi
iputils-ping
isc-dhcp-client
itstool
Expand Down Expand Up @@ -77,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 @@ -91,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 @@ -103,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 @@ -127,20 +142,11 @@ for args in "${ARGS[@]}"; do
# It can be safely removed from the CI since it isn't actually used anywhere to test anything.
find . -type f -name meson.build -exec sed -i '/install_tag/d' '{}' '+'

# 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 -Dtests=unsafe -Dslow-tests=true -Dfuzz-tests=true --werror \
-Dnobody-group=nogroup -Dcryptolib="${CRYPTOLIB:?}" \
$args build; then
Expand Down
8 changes: 4 additions & 4 deletions .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 All @@ -27,9 +27,9 @@ jobs:
env:
- { COMPILER: "gcc", COMPILER_VERSION: "11", LINKER: "bfd", CRYPTOLIB: "gcrypt" }
- { COMPILER: "gcc", COMPILER_VERSION: "12", LINKER: "gold", CRYPTOLIB: "openssl" }
- { COMPILER: "clang", COMPILER_VERSION: "13", LINKER: "mold", CRYPTOLIB: "gcrypt" }
- { COMPILER: "clang", COMPILER_VERSION: "14", LINKER: "lld", CRYPTOLIB: "openssl" }
- { COMPILER: "clang", COMPILER_VERSION: "15", LINKER: "bfd", CRYPTOLIB: "auto" }
- { COMPILER: "clang", COMPILER_VERSION: "14", LINKER: "mold", CRYPTOLIB: "gcrypt" }
- { COMPILER: "clang", COMPILER_VERSION: "15", LINKER: "lld", CRYPTOLIB: "openssl" }
- { COMPILER: "clang", COMPILER_VERSION: "16", LINKER: "bfd", CRYPTOLIB: "auto" }
env: ${{ matrix.env }}
steps:
- name: Repository checkout
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 @@ -26,7 +26,7 @@ permissions:
jobs:
analyze:
name: Analyze
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/differential-shellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,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/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/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
15 changes: 5 additions & 10 deletions .github/workflows/mkosi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ env:

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 All @@ -45,6 +45,9 @@ jobs:
release: 9-stream

steps:
- name: mkosi dependencies
run: sudo apt-get install --assume-yes --no-install-recommends python3-pyelftools makepkg python3-pexpect python3-jinja2

- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
- uses: systemd/mkosi@792cbc60eb2dc4a58d66bb3c212bf92f8d50f6ea

Expand All @@ -53,15 +56,7 @@ jobs:
# (should be done by the end of 2022).
- name: Fix C9S/EPEL9
if: ${{ matrix.release == '9-stream' }}
run: sudo sed -i '/add_packages/s/systemd-boot/systemd/g' /usr/local/lib/python3.10/dist-packages/mkosi/__init__.py

# FIXME: temporary workaround for debootstrap issue of Debian testing/sid on Jammy
- name: Fix Debian testing/sid
if: ${{ matrix.distro == 'debian' && matrix.release == 'testing' }}
run: sudo sed -i 's/merged-usr/no-merged-usr/g' /usr/local/lib/python3.10/dist-packages/mkosi/__init__.py

- name: Install
run: sudo apt-get update && sudo apt-get install --no-install-recommends python3-pexpect python3-jinja2
run: sudo sed -i '/add_packages/s/systemd-boot/systemd/g' /usr/local/lib/python3.12/dist-packages/mkosi/__init__.py

- name: Configure
run: |
Expand Down
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:
# Needed to upload the results to code-scanning dashboard.
security-events: write
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
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
Loading