Mike Yuan [Sat, 13 Jul 2024 20:27:07 +0000 (22:27 +0200)]
core/main: merge second RUNTIME_SCOPE_SYSTEM block into switch above
Mike Yuan [Sat, 13 Jul 2024 17:04:23 +0000 (19:04 +0200)]
core/main: modernize setup_os_release() a bit
Mike Yuan [Sat, 13 Jul 2024 16:17:44 +0000 (18:17 +0200)]
core/main: cast ignored retval of machine_id_setup() to void
Mike Yuan [Sat, 13 Jul 2024 16:47:41 +0000 (18:47 +0200)]
core/import-creds: use proc_cmdline_get_bool()
Mike Yuan [Sat, 13 Jul 2024 16:46:10 +0000 (18:46 +0200)]
core/import-creds: use FOREACH_ARRAY and RET_GATHER where appropriate
Mike Yuan [Sat, 13 Jul 2024 16:54:36 +0000 (18:54 +0200)]
basic/mkdir: merge two if blocks, return more accurate errno
Merlin Jehli [Sat, 13 Jul 2024 16:00:16 +0000 (18:00 +0200)]
machine-id: Add cmdline argument to use VM behaviour on bare metal (#32086)
Closes #30707
Luca Boccassi [Sat, 13 Jul 2024 12:22:05 +0000 (14:22 +0200)]
Merge pull request #33711 from dtardon/masked-unit-NeedDaemonReload
Fix `NeedDaemonReload=` for masked units with drop-ins
Mike Yuan [Fri, 12 Jul 2024 13:44:23 +0000 (15:44 +0200)]
core/execute-serialize: fix deserialization for apparmor_profile_ignore
Follow-up for
99a1cdc9510ac8b4865d8d403b66bc82335a6520
Lennart Poettering [Fri, 12 Jul 2024 17:12:41 +0000 (19:12 +0200)]
Merge pull request #33520 from tomcoldrick-ct/coldtom/sysupdate-improvements
sysupdate: Add --offline mode, notifications, JSON output and additional metadata
Mike Yuan [Sat, 6 Jul 2024 17:05:57 +0000 (19:05 +0200)]
logind-user: take gc_mode into account when reporting user state
Prompted by #33650
Previously, if a user manually starts user@.service (which is
something we support), we'd track it as 'manager' session.
However, since user_get_state() ignores all non-pinning sessions,
if lingering is not enabled, the user state would always be
reported as 'closing', which is spurious.
Let's instead take gc_mode into consideration, and ignore
non-pinning sessions only if USER_GC_BY_PIN.
Mike Yuan [Mon, 8 Jul 2024 15:12:20 +0000 (17:12 +0200)]
core/unit: ignore dropins for masked units completely when checking need_reload
Follow-up for
19a44dfe4525ab01caf593a9c2beada4b412910d
If a drop-in is set from upper level, e.g. global unit_type.d/,
even if a unit is masked, its dropin_paths would still be partially
populated. However, unit_need_daemon_reload() would always
compare u->dropin_paths with empty strv in case of masked units,
resulting in it always returning true. Instead, let's ignore
dropins entirely here.
Fixes #33672
David Tardon [Fri, 12 Jul 2024 12:38:08 +0000 (14:38 +0200)]
test: add a reproducer for #33672
Lennart Poettering [Fri, 12 Jul 2024 13:55:15 +0000 (15:55 +0200)]
update TODO
Adrian Vovk [Wed, 19 Jul 2023 21:55:18 +0000 (17:55 -0400)]
sysupdate: Split reboot_now into utils
This will let us reuse reboot_now in updatectl
Adrian Vovk [Thu, 13 Jul 2023 18:47:30 +0000 (14:47 -0400)]
sysupdate: Split UpdateSetFlags out from UpdateSet
This will let us reuse UpdateSetFlags in updatectl
Tom Coldrick [Thu, 27 Jun 2024 11:45:17 +0000 (12:45 +0100)]
sysupdate: Use FOREACH_ARRAY where possible
Replace simple loops over arrays with the FOREACH_ARRAY macro.
Adrian Vovk [Wed, 19 Jul 2023 18:43:58 +0000 (14:43 -0400)]
sysupdate: Support changelogs & appstream metadata
Makes it possible to specify URLs to a changelog and an appstream
catalog XML in the sysupdate.d/*.conf files. This will be passed along
to the clients of systemd-sysupdated, which can then present this data.
Adrian Vovk [Tue, 11 Jul 2023 22:46:11 +0000 (18:46 -0400)]
sysupdate: Implement JSON output
Previously, the JSON output happened mostly as an accident (i.e. just
dumped tables intended for viewing). Now we have more complete JSON
output.
Adrian Vovk [Tue, 11 Jul 2023 22:35:54 +0000 (18:35 -0400)]
sysupdate: Add --offline mode
This prevents sysupdate from going out to the network to enumerate
available instances. When combined with the list command, this lets us
query installed instances
Adrian Vovk [Thu, 22 Jun 2023 23:47:20 +0000 (19:47 -0400)]
sysupdate: Report download progress via sd_notify
We set up a NOTIFY_SOCKET to get download progress notifications from
each individual import helper. Along with the number of import jobs we
have to run, this gives an overall progress value which we report using
sd_notify
Lennart Poettering [Wed, 10 Jul 2024 09:57:43 +0000 (11:57 +0200)]
stub: const'ify a few parameters
Daan De Meyer [Fri, 12 Jul 2024 07:50:07 +0000 (09:50 +0200)]
Merge pull request #33686 from poettering/boot-tweaklets
boot/bootspec: some minor fixes/additions
Daan De Meyer [Fri, 12 Jul 2024 06:33:18 +0000 (08:33 +0200)]
Merge pull request #33697 from poettering/vmspawn-stream-fix
vmspawn: fix AF_VSOCK sd_notify() reception
Lennart Poettering [Wed, 10 Jul 2024 15:14:17 +0000 (17:14 +0200)]
signal-util: use common definitions for ignore + default "struct sigaction"
We use this at various places, let's unify this in one global constant.
This changes flags in crash-handler.c in a tiny irrelevant way: we ask
syscalls to be continued on signal arrival, which we previously didn't.
But that shouldn't change anything, the only thing we'll do in the
relevant process is call raise(), and that's it, hence there definitely
are no syscalls to restart or not to restart.
Lennart Poettering [Fri, 5 Jul 2024 08:13:35 +0000 (10:13 +0200)]
bootspec: correct log level for fatal errors
Lennart Poettering [Fri, 5 Jul 2024 07:52:58 +0000 (09:52 +0200)]
bootspec: implement sorting by tries left/done, to match what sd-boot does
Lennart Poettering [Thu, 4 Jul 2024 15:07:59 +0000 (17:07 +0200)]
boot: compare filename suffixes without case
This is VFAT world after all.
Lennart Poettering [Thu, 11 Jul 2024 12:34:42 +0000 (14:34 +0200)]
vmspawn: get rid of an unnecessary local variable
Lennart Poettering [Thu, 11 Jul 2024 12:34:55 +0000 (14:34 +0200)]
vmspawn: rework how AF_VSOCK/SOCK_STREAM notifications are read
Stream sockets are stream sockets, i.e. they won#t give us the full data
right-away, we must buffer locally and read until we hit EOF. Hence do
so.
moreover, make sure to close the fd once we are done, otherwise the
sender might block on us.
Lennart Poettering [Thu, 11 Jul 2024 12:33:38 +0000 (14:33 +0200)]
manager: move is-system check into manager_enable_special_signals()
It's usually how we do this: make the functions robust to be called in
any context, and validate the context in the functions themselves early,
instead of in the caller.
Lennart Poettering [Thu, 11 Jul 2024 12:32:09 +0000 (14:32 +0200)]
import-creds: when we hit ENOENT on SMBIOS 11 do not even debug log
We'll *always* hit ENEOENT when iterating through SMBIOS type #11
fields, on the last one. it's very confusing to debug log about that,
let's just not do it.
Mike Yuan [Sun, 7 Jul 2024 16:13:43 +0000 (18:13 +0200)]
core/execute-serialize: drop duplicate serialization of _ignore flags
These are indicated by the leading '-' in corresponding
label fields already.
Mike Yuan [Sun, 7 Jul 2024 16:44:57 +0000 (18:44 +0200)]
core/meson.build: move various -setup sources out of libcore
They're only used in main.c, i.e. pid1.
Daan De Meyer [Thu, 11 Jul 2024 11:19:11 +0000 (13:19 +0200)]
mkosi: Switch back to code.opensuse.org for opensuse
The commits on src.opensuse.org keep disappearing so let's switch
back to code.opensuse.org.
Léane GRASSER [Thu, 11 Jul 2024 11:38:37 +0000 (13:38 +0200)]
po: Translated using Weblate (French)
Currently translated at 100.0% (233 of 233 strings)
Co-authored-by: Léane GRASSER <leane.grasser@proton.me>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/fr/
Translation: systemd/main
Daan De Meyer [Wed, 10 Jul 2024 19:33:23 +0000 (21:33 +0200)]
Merge pull request #33636 from DaanDeMeyer/ext4
Various integration test improvements
Mike Yuan [Wed, 10 Jul 2024 17:14:25 +0000 (19:14 +0200)]
Merge pull request #33559 from YHNdnzj/reenable-now
systemctl: support reenable --now plus some other cleanups
Daan De Meyer [Wed, 10 Jul 2024 12:20:34 +0000 (14:20 +0200)]
mkosi: update opensuse commit reference
*
8c025c3bdf Accepting request
1184267 from Base:System
|\
| *
735f8c4ba4 - Import commit
5a8eadd0c021758337a020c423f25a353bdb9b3c (merge of v255.8) For a complete list of changes, visit: https://github.com/openSUSE/systemd/compare/
603cd1d4d81147d4f2eccd5e352064a4215119b4...
5a8eadd0c021758337a020c423f25a353bdb9b3c - Drop 5003-Revert-run-pass-the-pty-slave-fd-to-transient-servic.patch as v255.8 contains the workaround (commit
639c922ede9485) for the broken commit
28459ba1f4df.
* |
37853fecc3 Accepting request
1183029 from Base:System
|/
*
638de11012 - Don't automatically clean unmodified config files up (bsc#
1226415)
*
369c023c24 reorder one more time...
*
ffa9f0ac80 reorder the runtime deps of the testsuite package so the format_spec_file thingy stop screwing up the spec file...
*
12c1190a79 fix rev 1529: the devel packages are really needed by the testsuite script to install the dlopened libs into the image
*
ca8e7f54ce - systemd.spec: move a misplaced %endif in the testsuite sub-package.
*
b7944f5b14 - Merge systemd-coredump back into the main package (bsc#
1091684)
*
3fa0dea84a - Don't pull the devel packages in when installing the testsuite package.
Daan De Meyer [Wed, 10 Jul 2024 12:34:32 +0000 (14:34 +0200)]
tools/update-distro-hash: Fix path
Daan De Meyer [Tue, 9 Jul 2024 10:26:11 +0000 (12:26 +0200)]
TEST-06-SELINUX: Various fixes
- Stop installing the policy in the initramfs as it's not really
supported anyway (https://github.com/fedora-selinux/selinux-policy/issues/2221)
- Stop relabeling on first boot and prefer to do it at image build time
- Disable mkosi relabeling by default but enable it in CI
- Build image as root in CI so the SELinux relabeling works properly
Daan De Meyer [Fri, 5 Jul 2024 09:24:27 +0000 (11:24 +0200)]
mkosi: Don't fail if /var/log/journal does not exist
Daan De Meyer [Fri, 5 Jul 2024 08:27:56 +0000 (10:27 +0200)]
test: Switch to ncat instead of nc
ncat is available in CentOS Stream 9 without having to enable EPEL.
Daan De Meyer [Fri, 5 Jul 2024 07:58:17 +0000 (09:58 +0200)]
TEST-55-OOMD: Switch to stress-ng
stress-ng is available in OpenSUSE and in CentOS Stream without needing
EPEL so let's switch to it instead of stress.
Daan De Meyer [Wed, 10 Jul 2024 15:03:59 +0000 (17:03 +0200)]
docs: Simplify update commands in HACKING.md
Let's make use of mkosi ssh to give everyone a one liner to run instead
of having to execute two commands (one outside the VM, one inside).
Daan De Meyer [Wed, 10 Jul 2024 14:52:54 +0000 (16:52 +0200)]
mkosi: Update to latest
Daan De Meyer [Wed, 10 Jul 2024 11:21:12 +0000 (13:21 +0200)]
Merge pull request #33683 from DaanDeMeyer/sysext
mkosi: Build a sysext if SYSEXT=1 is specified
Lennart Poettering [Wed, 10 Jul 2024 10:00:13 +0000 (12:00 +0200)]
Merge pull request #33660 from poettering/mount-tool-tweaks
minor tweaks to "systemd-mount"
Daan De Meyer [Wed, 10 Jul 2024 08:07:05 +0000 (10:07 +0200)]
mkosi: Build a sysext if SYSEXT=1 is specified
Lennart Poettering [Fri, 5 Jul 2024 16:52:07 +0000 (18:52 +0200)]
man: some fixes
Addons are called addons, say so. And some other fixes.
Daan De Meyer [Tue, 9 Jul 2024 18:02:47 +0000 (20:02 +0200)]
mkosi: Check for configured build directory if WIPE=1
Otherwise trying to use --wipe might fail if the build directory
has not been configured but is not empty either.
Daan De Meyer [Wed, 10 Jul 2024 08:05:59 +0000 (10:05 +0200)]
mkosi: Install erofs-utils
Lennart Poettering [Mon, 8 Jul 2024 12:46:21 +0000 (14:46 +0200)]
update TODO
Lennart Poettering [Mon, 8 Jul 2024 12:38:22 +0000 (14:38 +0200)]
mount-tool: show diskseq in --list output
Let's expose the diskseq a bit more prominently.
Lennart Poettering [Mon, 8 Jul 2024 12:37:58 +0000 (14:37 +0200)]
mount-tool: use the usual coloring in --help text
Lennart Poettering [Mon, 8 Jul 2024 11:44:12 +0000 (13:44 +0200)]
mount-tool: add support for a --json= output mode
Let's add a JSON output mode, like we have it for so many of our tools.
Lennart Poettering [Mon, 8 Jul 2024 11:38:09 +0000 (13:38 +0200)]
mount-tool: use lowercase table column names
The "systemd-mount" tool is the one outlier in our codebase to specify
upper case column names. And it's quite pointless given that our table
output logic uppercases this anyway on output. Hence, let's fix that.
(This would be a compat break, if we'd support JSON output of this
table, but we do not currently. JSON fields use the literal column
name after all.)
Kuntal Majumder [Tue, 9 Jul 2024 17:11:52 +0000 (19:11 +0200)]
man: fix typo in unit options section
Fixes #32918
Luca Boccassi [Tue, 9 Jul 2024 17:42:06 +0000 (18:42 +0100)]
test: install split-out sshd-session binary if present
Archlinux split out one ssh binary, install it in the legacy test
setup if present for the tests that need ssh
Luca Boccassi [Mon, 8 Jul 2024 15:23:06 +0000 (16:23 +0100)]
fsck: do not pull down mount units on soft-reboot
Otherwise they will pull down the disk too, which we don't want on soft-reboot
Mike Yuan [Thu, 29 Feb 2024 15:57:31 +0000 (23:57 +0800)]
systemctl-enable: support reenable --now
Also, instead of silently continuing when template units
are specified with enable --now, print a warning and skip them.
Closes #31541
Mike Yuan [Thu, 4 Jul 2024 18:41:44 +0000 (20:41 +0200)]
systemctl-enable: some cleanups
- Drop one more use of basename()
- Clean up logging in normalize_*()
- Use assertions where appropriate
Tom Yan [Mon, 8 Jul 2024 14:10:43 +0000 (22:10 +0800)]
logind-dbus: set gc_mode to USER_GC_BY_PIN when disable linger
The mode switch from any to pin is currently done in create_session().
However, if no (pinning) session is created before (or after) linger
is disabled, the user will not be gc'd after that. Therefore, also
perform the mode switch when linger is being disabled.
Derek J. Clark [Tue, 9 Jul 2024 09:57:04 +0000 (02:57 -0700)]
Add or fix mount matrix for multiple handhelds. (#33586)
- Breaks AYANEO AIR family into different entries as not all are mounted the same.
- Corrects AYANEO AIR mount matrix.
- Adds mount matrices for AYANEO device families: 2021, AYANEO 2, AYANEO GEEK, and AYANEO FLIP
- Adds mount matrix for GPD WinMax2
- Adds mount matrix for OrangePi NEO
ZHANG Yuntian [Fri, 5 Jul 2024 09:04:44 +0000 (17:04 +0800)]
man: fix typo in the alias symlink name
Symlink created by Alias will use the value as the file name.
Derek J. Clark [Wed, 3 Jul 2024 04:27:13 +0000 (21:27 -0700)]
Add MSI Claw AT Keyboard Scancodes.
Daan De Meyer [Tue, 9 Jul 2024 06:07:53 +0000 (08:07 +0200)]
mkosi: Fix git commit
In https://github.com/systemd/systemd/pull/33659 the commit was
updated to point to my fork without changing it back after the mkosi
PR was merged so let's change it back to point to the official
repository.
Daan De Meyer [Mon, 8 Jul 2024 10:59:52 +0000 (12:59 +0200)]
mkosi: Adapt configuration to take into account configuration rework
In https://github.com/systemd/mkosi/pull/2847, the '@' specifier is
removed, CLI arguments take priority over configuration files again
and the "main" image is defined at the top level instead of in
mkosi.images/. Additionally, not every setting from the top level
configuration is inherited by the images in mkosi.images/ anymore,
only settings which make sense to be inherited are inherited.
This commit gets rid of all the usages of '@', moves the "main" image
configuration from mkosi.images/system to the top level and gets rid
of various hacks we had in place to deal with quirks of the old
configuration parsing logic.
We also remove usages of Images= and --append as these options are
removed by the mentioned PR.
Luca Boccassi [Mon, 8 Jul 2024 15:44:01 +0000 (16:44 +0100)]
mkosi: policykit-1 was renamed to polkitd
Mike Yuan [Mon, 8 Jul 2024 12:01:17 +0000 (14:01 +0200)]
Merge pull request #33627 from YHNdnzj/systemctl-triggering-warning
systemctl: some fixes for active triggering unit warning
Henry Chen [Fri, 5 Jul 2024 03:19:35 +0000 (11:19 +0800)]
vmspawn: define default machines for mips targets
All mips variants of qemu-system default to malta.
Signed-off-by: Henry Chen <henry.chen@oss.cipunited.com>
Signed-off-by: Henry Chen <chenx97@aosc.io>
Daan De Meyer [Mon, 8 Jul 2024 10:56:09 +0000 (12:56 +0200)]
Merge pull request #33640 from DaanDeMeyer/ext4-split
mkosi: Use the "default" root filesystem for each distribution
Zbigniew Jędrzejewski-Szmek [Mon, 8 Jul 2024 10:46:41 +0000 (12:46 +0200)]
Merge pull request #33599 from keszybz/link-executor-statically
Link executor statically
csp5me [Mon, 8 Jul 2024 08:28:54 +0000 (15:28 +0700)]
Update 60-sensor.hwdb
This update has been tested on the 2023 Chuwi Freebook N100. The hwdb entry has been verified using these commands:
cat /sys/`udevadm info -q path -n /dev/iio:device0`/../modalias
acpi:MDA6655:MDA6655:
cat /sys/class/dmi/id/modalias
dmi:bvnAmericanMegatrendsInternational,LLC.:bvrDNN20AV1.03:bd12/29/2023:br1.3:efr0.7:svnCHUWIInnovationAndTechnology(ShenZhen)co.,Ltd:pnFreeBook:pvrDefaultstring:rvnDefaultstring:rnDefaultstring:rvrDefaultstring:cvnDefaultstring:ct10:cvrDefaultstring:skuDefaultstring:
The correct offset orientation has been tested with:
monitor-sensor
Waiting for iio-sensor-proxy to appear
+++ iio-sensor-proxy appeared
=== Has accelerometer (orientation: normal)
=== No ambient light sensor
=== No proximity sensor
Ronan Pigott [Mon, 1 Jul 2024 21:07:28 +0000 (14:07 -0700)]
path: drop IN_ATTRIB from parent directory watches
When watching a given pathspec, systemd unconditionally installs
IN_ATTRIB watches to track the link count of the resolved file. This
way, we are notified if the watched path disappears, even if the
resolved file inode is not removed.
Similarly, systemd installs inotify watches on each parent directory, to
be notified when the specified path appears. However, for these watches
IN_ATTRIB is an unnecessary addition to the mask. In inotify, IN_ATTRIB
on a directory is emitted whenever the attributes of any child changes,
which, for many paths, has the potential to cause a high number of
spurious wakeups in systemd. Let's remove IN_ATTRIB from the mask when
installing watches on the parent directories of the specified path.
Fabian Vogt [Tue, 2 Jul 2024 14:15:50 +0000 (16:15 +0200)]
firstboot: Make the option list fit 80 columns
22 characters in three colums + overhead slightly exceeds the available
width on terminals with 80 columns, causing each row to wrap to two lines.
Reduce the item width to 20 to fit even the list of ~600 timezones.
Tobias Fleig [Wed, 3 Jul 2024 12:13:29 +0000 (05:13 -0700)]
stub: Add support for .ucode EFI addons
This extends #31872 to also load microcode from addon files.
Daan De Meyer [Fri, 5 Jul 2024 07:35:43 +0000 (09:35 +0200)]
mkosi: Use the "default" root filesystem for each distribution
Let's not insist on btrfs everywhere.
93440db8b5eae1244aaf5fecfa68050a8b26f3e3
switched us back to btrfs as we wanted to rely on the fact it records
timestamps properly. Since we now prefer to do incremental builds on the host
with "mkosi -t none" we don't mind anymore that timestamps are not recorded
properly so we're not forced to use btrfs anymore.
This also increases test coverage as we'll now test with different root
filesystems.
Riku [Sat, 6 Jul 2024 16:29:31 +0000 (19:29 +0300)]
70-mouse.hwdb: Added Glorious Model O DPI
This rule might also apply to the regular Model O (no minus), which has the same specifications.
fwfy [Sat, 6 Jul 2024 09:17:20 +0000 (05:17 -0400)]
Remove extra period at the end of systemd-bsod's unit description. (#33632)
* Remove extra period at end of unit description.
Having an extra period at the end of this unit description makes log entries pertaining to it appear weirdly, as it seems the default expectation is that there is not to be a period at the end of a unit description.
e.g.: `systemd[1]: Started Displays emergency message in full screen..`
Daan De Meyer [Fri, 5 Jul 2024 20:31:55 +0000 (22:31 +0200)]
test: Set priority for TEST-73-LOCALE
I don't know why yet, but TEST-73-LOCALE can take more than 10
minutes. Until we figure out why, let's give it a higher priority
so it doesn't bottleneck the test run.
Daan De Meyer [Fri, 5 Jul 2024 18:21:39 +0000 (20:21 +0200)]
Merge pull request #33644 from DaanDeMeyer/selinux
TEST-06-SELINUX: Two fixes
Daan De Meyer [Fri, 5 Jul 2024 17:20:42 +0000 (19:20 +0200)]
TEST-06-SELINUX: Disable RuntimeBuildSources=
Otherwise fixfiles will try to relabel it which could potentially
lead to disaster. We also change the recommendation in HACKING.md
to set the default so that TEST-06-SELINUX can override it.
Daan De Meyer [Fri, 5 Jul 2024 17:16:31 +0000 (19:16 +0200)]
mkosi: Make .autorelabel file empty
The contents of this file are passed as arguments to fixfiles so
let's remove the comment as otherwise fixfiles just crashes.
Luca Boccassi [Fri, 5 Jul 2024 15:36:45 +0000 (16:36 +0100)]
mkosi: use apt pinning for locally built debian/ubuntu packages
This ensures that even in case the distro repository has newer
versions, the locally built packages are preferred and installed,
even to the point of downgrading already installed ones.
This is needed especially for future stable branches, when the
distros will have a newer version.
Daan De Meyer [Fri, 5 Jul 2024 10:00:53 +0000 (12:00 +0200)]
mkosi: Update to latest
Daan De Meyer [Fri, 5 Jul 2024 14:06:34 +0000 (16:06 +0200)]
test: Add missing --no-rebuild to doc
Otherwise meson will try to rebuild all targets.
GwynBleidD [Thu, 27 Jun 2024 20:52:57 +0000 (22:52 +0200)]
hwdb: Added StarLabs StarLite position sensor mapping
Default mapping for position sensor in StarLabs StarLite does
not match screen orientation. Added fixed mapping matrix.
Edson Juliano Drosdeck [Thu, 4 Jul 2024 22:38:38 +0000 (19:38 -0300)]
Fix key toggle touchpad button for multilaser ul154 (#33630)
Luca Boccassi [Thu, 4 Jul 2024 19:01:40 +0000 (21:01 +0200)]
Merge pull request #33629 from YHNdnzj/labeler-no-stable
labeler: some cleanups
Mike Yuan [Thu, 4 Jul 2024 18:55:53 +0000 (20:55 +0200)]
workflows/labeler: do not set labels on stable backport PRs
Mike Yuan [Thu, 4 Jul 2024 18:55:42 +0000 (20:55 +0200)]
labeler: match all mkosi files
Mike Yuan [Thu, 4 Jul 2024 18:54:19 +0000 (20:54 +0200)]
labeler: remove matches for dropped files (Makefile)
Mike Yuan [Sun, 30 Jun 2024 11:12:45 +0000 (13:12 +0200)]
systemctl: do not try to acquire triggering units for template units
Mike Yuan [Thu, 29 Feb 2024 15:45:54 +0000 (23:45 +0800)]
systemctl: skip triggering unit warning if unit vanished
Mike Yuan [Fri, 28 Jun 2024 13:56:44 +0000 (15:56 +0200)]
man/systemctl: --no-reload is honored by mask/unmask/preset too
Davide Cavalca [Thu, 4 Jul 2024 14:30:57 +0000 (07:30 -0700)]
hwdb: add more AV controllers
tfg13 [Thu, 4 Jul 2024 18:08:55 +0000 (19:08 +0100)]
stub: mem fixes in devicetree addon handling (#33624)
* stub: mem fixes in devicetree addon handling
Two bugs here: The elements are of size `DevicetreeAddon`, not `size_t`,
and `[]` binds stronger than `*`. This means the first element is ok,
but the second corrupts the stack.
Found this while refactoring #32463
Lennart Poettering [Thu, 4 Jul 2024 12:34:35 +0000 (14:34 +0200)]
vmm: make sure we can handle smbios objects without variable part
An smbios object with no variable part is a special case, it's just
suffixed with two NUL btes. handle that properly.
This is inspired by a similar fix from https://github.com/systemd/systemd/pull/29726
Daan De Meyer [Thu, 4 Jul 2024 12:44:21 +0000 (14:44 +0200)]
meson: Fix various versions
Follow up for
8b3b01c4b7e0fde39b4be354990ee68f5e612c52
We switch to PROJECT_VERSION instead of PROJECT_VERSION_FULL where
we report our version and which is likely being parsed to avoid
breaking compat. If we didn't, the output would change from systemd
255 to systemd 255.1 which could break various tools.