Commit Graph

84927 Commits

Author SHA1 Message Date
Pranay Pawar
7e8f6ece84 hwdb: Fix keyboard backlight keys on Acer Nitro 5 AN515-58 (#39769)
Pressing Fn+F10 on Acer Nitro 5 AN515-58 incorrectly triggers display
brightness down (scancode 0xef) instead of keyboard backlight control,
causing the screen to go completely dark. Similarly, Fn+F9 (scancode
0xf0) has no function explictily stated in hwdb causing unknown keycode
debug messages.

Both keys should control the keyboard backlight as labeled on the
keyboard. Map scancodes 0xef and 0xf0 to kbdillumup and kbdillumdown
respectively to enable proper keyboard backlight control.
2025-11-18 00:33:42 +09:00
Yu Watanabe
d42db35a7c Drop remaining CGroup v1 specific code (#38969) 2025-11-17 23:48:29 +09:00
Yu Watanabe
0bb71aea62 NEWS: insert hyphen 2025-11-17 23:37:19 +09:00
Yu Watanabe
c1568778d1 repart: fix typo
Follow-up for cfb6c54324.
2025-11-17 23:34:42 +09:00
Zbigniew Jędrzejewski-Szmek
652dc1125a NEWS: cleanups and rewordings, extend the section about musl
I think we should make it clear that the "incomplete musl support" does not
mean that it'll for certain be completed later. The feedback from users will be
an important consideration.
2025-11-17 15:21:54 +01:00
Zbigniew Jędrzejewski-Szmek
cfb6c54324 repart: adjust "partno" column
In a typical output from systemd-repart, the output is very wide any any wasted
space is bad because it pushes the interesting information even further to the
right. We usually need at most one or two digits to express the partition
numbers, so let's shorten the title of the column to effectively remove two
columns in the output.

In JSON output, the old field name is retained. This follows the pattern
already used for field "drop-in_files".

Also right-align the columns with numbers always to the right. I doesn't make
sense to align the columns which are only used for JSON output, so stop setting
alignment for those.
2025-11-17 22:36:27 +09:00
Lennart Poettering
1006b7e5ba coredumpctl: remove unnecessary line break 2025-11-17 22:35:03 +09:00
Charlie Le
7e337327e9 hwdb: Add Elecom IST Pro trackball (#39762)
Added entries for the Elecom IST Pro via its three connection methods- a
USB cable, the included G1000 USB receiver, and Bluetooth.

The G1000 USB receiver _may_ have to be removed in the future depending
on the input devices that can connect to it. According to Elecom, the
receiver can have up to three different input devices connected such as
trackballs, mice, keyboards, etc. That said, as far as I can tell, the
IST Pro is the only released Elecom device that uses the receiver. The
non-pro model and the upcoming Elecom Huge Plus might use the same
receiver, but that should not matter as both devices are trackballs.
2025-11-17 22:34:03 +09:00
Jörg Behrmann
ba50b57e65 NEWS: fix typos 2025-11-17 13:25:39 +00:00
Luca Boccassi
355dd4b098 NEWS: more adjustments for v259~rc1 2025-11-17 12:38:05 +00:00
Yu Watanabe
d32ec01223 shell-completion: drop deprecated cgroup controller suggestion 2025-11-17 21:31:51 +09:00
Yu Watanabe
44440ea658 cgroup-util: drop outdated comments 2025-11-17 21:31:51 +09:00
Yu Watanabe
4434fd76f1 cgroup-util: drop unused SYSTEMD_CGROUP_CONTROLLER_{LEGACY,HYBRID} 2025-11-17 21:31:51 +09:00
Yu Watanabe
b9e612e070 cgroup-util: do not check validity of controller in cg_split_spec()
Now the controller part is always ignored, hence let's skip check for
the controller part of the spec. This also make it acceppt unnormalized
path. Previously paths were checked by path_is_normalized(), but now
checked by path_is_safe(). Also, now this mapps an empty path to NULL.
2025-11-17 21:31:51 +09:00
Yu Watanabe
6a8ab5f062 cgroup-show: drop unnecessary call of cg_mangle_path()
As the caller already dropped controller part.
2025-11-17 21:31:51 +09:00
Yu Watanabe
a8156588fa cgroup-util: drop 'controller' argument from cg_get_path()
The argument is not used anymore. Let's drop it.
2025-11-17 21:31:50 +09:00
Yu Watanabe
5d397dc7f4 cgroup-util: drop 'controller' argument from cg_get_keyed_attribute() and cg_is_empty()
The argument is completely unused. Let's drop it.
2025-11-17 21:31:50 +09:00
Yu Watanabe
3454b160e4 cgroup-util: drop unused cg_unified() and friends 2025-11-17 21:31:50 +09:00
Yu Watanabe
90ee92b073 cgls: drop cgroup v1 support and warn when cgroup v1 controller is specified 2025-11-17 21:31:44 +09:00
Yu Watanabe
2fe89e3b0f limits-util: drop cgroup v1 support from physical_memory() 2025-11-17 21:30:29 +09:00
Yu Watanabe
2d6dd692be cgroup-util: drop cgroup v1 support in cg_get_path()
We have dropped cgroup v1 support in v258. Let's assume we are running
on cgroup v2 and drop unused legacy code.
2025-11-17 21:30:29 +09:00
Yu Watanabe
f5a48af34b cgroup-util: use cg_is_available() in cg_kill_supported() 2025-11-17 21:30:29 +09:00
Yu Watanabe
57c16d344b cgroup-util: drop cgroup v1 support from cg_mask_supported_subtree()
We have dropped cgroup v1 support in v258. Let's drop unused legacy code.
2025-11-17 21:30:29 +09:00
Yu Watanabe
0ab90015e0 tree-wide: replace cg_get_path_and_check() with cg_get_path()
We have dropped cgroup v1 support in v258. When running on cgroup v2,
cg_get_path_and_check() with SYSTEMD_CGROUP_CONTROLLER as controller is
equivalent with checking if we are running on cgroup v2 and then
cg_get_path(). As we can assume we are running on cgroup v2, then the
check is not necessary anymore, thus we can replace
cg_get_path_and_check() with cg_get_path().
2025-11-17 21:30:29 +09:00
Yu Watanabe
b525a72f7b cgroup-util: drop cgroup v1 support from cg_pid_get_path()
We have dropped cgroup v1 support in v258. Let's drop legacy code.
Then, we can drop 'controller' argument from cg_pid_get_path() and
cg_pidref_get_path().
2025-11-17 21:30:29 +09:00
Yu Watanabe
6475926a59 cgroup-util: drop 'controller' argument from cg_path_open()
Nowadays it always takes SYSTEMD_CGROUP_CONTROLLER as controller.
Let's drop it.

No functional change, just refactoring.
2025-11-17 21:30:29 +09:00
Yu Watanabe
4dbf06bd85 cgroup-util: drop 'controller' argument from cg_set_attribute(), cg_get_attribute() and friends
Non-null controller arguments are always ignored when running on cgroup v2.
Let's drop the argument.

No functional change, just refactoring.
2025-11-17 21:30:29 +09:00
Yu Watanabe
4d1badbbc4 cgroup-util: drop 'controller' argument from cg_enumerate_subgroups()
Nowadays it always takes SYSTEMD_CGROUP_CONTROLLER as controller.
Let's drop it.

No functional change, just refactoring.
2025-11-17 21:30:29 +09:00
Yu Watanabe
f8de2107a7 cgroup-util: drop 'controller' argument from cg_enumerate_processes()
Nowadays it always takes SYSTEMD_CGROUP_CONTROLLER as controller.
Let's drop it.

No functional change, just refactoring.
2025-11-17 21:30:29 +09:00
Yu Watanabe
5169b1c5a7 cgroup-show: drop 'controller' argument from show_cgroup() and show_cgroup_and_extra()
Nowadays these always take SYSTEMD_CGROUP_CONTROLLER as controller.
Let's drop it.

No functional change, just refactoring.
2025-11-17 21:30:29 +09:00
Yu Watanabe
4365351b93 cgroup-util: introduce cg_is_available() and check it in tests
Now most of our code does not support cgroup v1. Let's skip test cases
if we are running on cgroup v1.
2025-11-17 21:29:51 +09:00
Luca Boccassi
bc154d4c3e test: skip TEST-64-UDEV-STORAGE-simultaneous_events on Debian
It consistently fails with the new 6.17 kernel and nobody can
figure out why, so just disable it for now as it's just noise

Fixes https://github.com/systemd/systemd/issues/39552
2025-11-17 12:17:24 +00:00
Lennart Poettering
43939a5bbe NEWS: first prep for v259 2025-11-17 12:57:37 +01:00
Luca Boccassi
b186ce49de Chores for RC1 (#39757) 2025-11-17 10:53:15 +00:00
Zbigniew Jędrzejewski-Szmek
651fdde1cd Add experimental musl support (#38825)
This adds experimental support of building systemd with musl. This
allows to build systemd with musl and run most of the unit tests.
Running integration tests is not yet supported, however. Hopefully, this
should be a good starting point to support musl.

This requires musl-1.2.5 with
fde29c04ad.
The patch is already backported to Alpine/postmarketOS's musl package
since musl-1.2.5-r11. See
333e50c205.
2025-11-17 11:14:47 +01:00
Luca Boccassi
b4fb69d1d7 man: regenerate man/rules/meson.build
ninja -C build update-man-rules
2025-11-17 08:59:53 +00:00
Luca Boccassi
79ce4f577f Translations: update systemd-po
ninja -C build systemd-update-po
2025-11-17 08:58:51 +00:00
Luca Boccassi
6006b55e8a Translations: update systemd-pot
ninja -C build systemd-pot
2025-11-17 08:57:57 +00:00
Luca Boccassi
5b81a76313 Update syscalls table
ninja -C build update-syscall-tables update-syscall-header
2025-11-17 08:56:39 +00:00
Luca Boccassi
8ae29e3fea NEWS: update contributors list 2025-11-17 08:55:28 +00:00
Luca Boccassi
0c34bec7bb Update hwdb
ninja -C build update-hwdb
2025-11-17 08:54:08 +00:00
Lennart Poettering
e9ce56c6e6 update TODO 2025-11-17 08:54:06 +01:00
Armin Wolf
2fc4278b96 keymap: Ignore brightness keys on Dell Inspiron 3505 to avoid double events
On the Dell Inspiron 3505 both the atkbd and acpi-video input devices report
an event for pressing the brightness up / down keys, resulting in user
space seeing double events and increasing / decreasing the brightness 2 steps
for each keypress.

Fix this by adding the device to the already existing list of Dell
devices that suffer from the same problem.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
2025-11-17 13:37:26 +09:00
Yu Watanabe
f115763f19 musl: ci: add build test and unit tests 2025-11-17 12:19:22 +09:00
Yu Watanabe
07e437f569 musl: glob-util: filter out . and .. even if GLOB_ALTDIRFUNC is not supported
musl neither support GLOB_ALTDIRFUNC nor GLOB_BRACE.
Let's make safe_glob() work even when GLOB_ALTDIRFUNC is not supported.
Currently, GLOB_BRACE is simply ignored when it is not supported.
2025-11-17 12:19:22 +09:00
Emil Renner Berthing
3bc03c67f0 musl: add fallback parse_printf_format() implementation
musl does not provide parse_printf_format(). Let's introduce a fallback
method.

Co-authored-by: Yu Watanabe <watanabe.yu+github@gmail.com>
2025-11-17 12:19:22 +09:00
Yu Watanabe
bf9bc5beb0 musl: meson: add libutmps support
musl only provides fake functions, hence even with -Dutmp=true,
utmp/wtmp functionalities do not work. Let's allow to build with
libutmps.
2025-11-17 12:18:44 +09:00
Yu Watanabe
3ae7d8fd87 musl: utmpx: add several missing definitions 2025-11-17 11:27:07 +09:00
Lennart Poettering
1240ba1807 iovec-util: drop redundant () 2025-11-16 23:36:11 +01:00
Lennart Poettering
08d75cfb99 dissect-image,execute: switch root hash/root hash sig storage to struct iovec
let's go one step further on our iovec'ification journey.

No change in behaviour, just rework to make struct iovec used
everywhere.
2025-11-16 23:36:11 +01:00