Commit graph

1,579 commits

Author SHA1 Message Date
Zbigniew Jędrzejewski-Szmek
720fa8259a Do not check ownership of /var/lib/systemd/timesync/ in rpm -V
rpm -V systemd-udev would report that /var/lib/systemd/timesync/ has
wrong ownership. This happens because create the directory via %ghost
and it ends up with the default root:root ownership in the rpm %files
list. We _could_ fix the owernship in the listing, but it's actually OK
if the directory is owned by root or even some other account, as long as
the service is not running. Systemd will change owernship to the
systemd-timesync user:group when starting the service. Disabling of the
ownership verification makes it easier to precreate the timestamp (c.f.
https://src.fedoraproject.org/rpms/systemd/pull-request/238). So let's
just disable the owernship check.
2026-06-10 15:07:53 +02:00
Zbigniew Jędrzejewski-Szmek
06bd9926f2 Version 261~rc3
- Various smaller and larger fixes
- A hint is emitted if init is called with the legacy
  telinit args (rhbz#2479961)
- Various messages for missing dlopened libraries have been
  downgraded (rhbz#2463540)
2026-06-04 18:28:12 +02:00
Zbigniew Jędrzejewski-Szmek
6ddbd499e8 Drop unused tree build dependency
Reported by Marián Konček.

[skip changelog]
2026-06-02 19:13:07 +02:00
Zbigniew Jędrzejewski-Szmek
bd81a14bfc Version 261~rc2
- A few fixes for this and that incl. rhbz#2481304, rhbz#2481466
2026-05-26 23:11:46 +02:00
Zbigniew Jędrzejewski-Szmek
9cb09470c9 Version 261~rc1
- explicit dependencies are added for various libraries loaded
  using dlopen()
2026-05-22 19:46:16 +02:00
Zbigniew Jędrzejewski-Szmek
7d16ad00bd Fix compilation with openssl 4.0 2026-05-22 18:18:43 +02:00
Zbigniew Jędrzejewski-Szmek
3770fa7c92 Revert "Use dlopen-notes to automatically generate library Recommends/Requires/Suggests"
This reverts commit ee6d0b9d27.
The approach with dlopen-notes is not fully cooked yet. In particular,
the case where the note is present in a shared library, but we'd like to
declare the dependency for a binary which is a different package, is
not supported by rpm. Let's revert for now and come back to this later.
2026-05-22 18:12:42 +02:00
Zbigniew Jędrzejewski-Szmek
8b3d1726f5 Add back various explit Requires
The idn feature is in libsystemd-shared, and systemd-resolved doesn't
contain any files that'd tie it to that shared library, so the
genarator doesn't generate this dependency. This is a fundamental
limitation of the rpm interface. Let's add a manual listing for now.

Similarly, systemd-udev would miss many relevant Requires.
2026-05-19 11:56:20 +02:00
Zbigniew Jędrzejewski-Szmek
d8abb91805 Drop scriptlet workarounds for upgrades from versions < 247
247 was in 2020, so this should be OK.
2026-05-19 11:15:03 +02:00
Zbigniew Jędrzejewski-Szmek
ee6d0b9d27 Use dlopen-notes to automatically generate library Recommends/Requires/Suggests 2026-05-19 11:14:25 +02:00
Zbigniew Jędrzejewski-Szmek
32a2038627 spec: drop duplicated line
[skip changelog]
2026-05-19 11:14:19 +02:00
Zbigniew Jędrzejewski-Szmek
ab743db0fe Downgrade kbd dependency to Recommends
Since upstream commit 3327a411be3ef4a203d23ae86e6c50b30d929d50, we
can downgrade the dep.
2026-05-12 12:32:45 +02:00
Yaakov Selkowitz
400494ada4 Update conditionals for RHEL 11
ELN (the future RHEL 11) tracks rawhide and therefore also has the latest
setup and sysusers changes.
2026-04-14 22:10:09 +00:00
Zbigniew Jędrzejewski-Szmek
207e2d0044 Stop building support for openssl engines
It seems that the headers are gone on openssl-4.0.0~beta1. But already
we're seeing build failurs on i686 because openssl-devel-engine is not
available. Most likely multilib setup was borked. So let's drop this
now and hope that the providers in f45 will be good enough.
2026-04-14 16:20:57 +02:00
Zbigniew Jędrzejewski-Szmek
36a234147f Upload sources
[skip changelog]
2026-03-23 21:08:43 +01:00
Zbigniew Jędrzejewski-Szmek
3681163f81 Version 260.1
- Fixes for crashes and misbehaviours in PID1 and other components
2026-03-23 21:06:28 +01:00
Zbigniew Jędrzejewski-Szmek
8f4f0f58e3 Version 260
- No significant changes since ~rc4
2026-03-17 22:16:42 +01:00
Zbigniew Jędrzejewski-Szmek
e3fab23aa0 Version 260~rc4
- Even more fixes, incl. a fix for a bad patch in ~rc3.
2026-03-14 00:34:55 +01:00
Zbigniew Jędrzejewski-Szmek
e4c1c2100b Version 260~rc3
- A bunch of bugfixes
- More sanitization for invalid values received from hardware and firmware
2026-03-12 19:48:11 +01:00
Zbigniew Jędrzejewski-Szmek
453696813e Fix typo in unit name in %post scriptlet 2026-03-06 13:50:04 +01:00
Hans de Goede
154edb7cdb Silence false positive "HWID match failed, no DT blob" error (rhbz#2444759) 2026-03-05 14:33:49 +01:00
Marcin Juszkiewicz
03b6637c35 riscv64 port has LTO disabled 2026-03-04 17:24:46 +01:00
Zbigniew Jędrzejewski-Szmek
ce1dec6a40 Version 260~rc2
- A bunch of bugfixes in various components and documentation
- Fix for GHSA-6pwp-j5vg-5j6m
2026-03-04 15:22:41 +01:00
Zbigniew Jędrzejewski-Szmek
809049777c Add patch for symlink creation error 2026-02-26 14:37:09 +01:00
Zbigniew Jędrzejewski-Szmek
6ff27708f7 Enable getty@.service through presets
This was first attempted in ec5e1b1ed7,
but then was reset. After the upgrade to v260-rc1 which includes the patch
to add [Install] to getty@.service, we need to do this, or we don't get a
autovt@.service symlink at all and gettys are not active.

This time, a scriptlet to keep the service enabled after upgrades is
added.
2026-02-26 14:35:14 +01:00
Zbigniew Jędrzejewski-Szmek
ba7807fbce Drop scriptlet for upgrades from versions <253 2026-02-26 13:40:11 +01:00
Zbigniew Jędrzejewski-Szmek
455f277188 Move support for tpm2 to systemd-udev subpackage
This was first attempted in ec5e1b1ed7, together
with some other changes. Moving of getty@.service was wrong, because it is
needed in containers. But moving of the tpm2 stuff should be fine.

List of affected files:
/usr/lib/systemd/system-generators/systemd-tpm2-generator
/usr/lib/systemd/system/sysinit.target.wants/systemd-tpm2-setup-early.service
/usr/lib/systemd/system/sysinit.target.wants/systemd-tpm2-setup.service
/usr/lib/systemd/system/systemd-tpm2-clear.service
/usr/lib/systemd/system/systemd-tpm2-setup-early.service
/usr/lib/systemd/system/systemd-tpm2-setup.service
/usr/lib/systemd/system/tpm2.target
/usr/lib/systemd/systemd-tpm2-clear
/usr/lib/systemd/systemd-tpm2-setup
/usr/share/man/man8/systemd-tpm2-clear.service.8.gz
/usr/share/man/man8/systemd-tpm2-generator.8.gz
/usr/share/man/man8/systemd-tpm2-setup-early.service.8.gz
/usr/share/man/man8/systemd-tpm2-setup.8.gz
/usr/share/man/man8/systemd-tpm2-setup.service.8.gz
2026-02-26 13:06:30 +01:00
Zbigniew Jędrzejewski-Szmek
0183bc784e Version 260~rc1
- See https://raw.githubusercontent.com/systemd/systemd/v260-rc1/NEWS.
  Too many changes to list or discuss here.
2026-02-25 22:05:36 +01:00
Luca Boccassi
23a1c1fed9 Install /usr/lib/systemd/boot/hwids/ in ukify package
For https://github.com/systemd/systemd/pull/40541
2026-02-25 12:58:09 +00:00
Zbigniew Jędrzejewski-Szmek
985170fdc6 Version 259.1 2026-02-07 18:51:02 +01:00
Adam Williamson
2e10d7da1e Revert getty changes a bit harder
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-02-04 11:04:54 -08:00
Zbigniew Jędrzejewski-Szmek
96c683c3de Revert all remaing changes to getty@.service
The previous commit fixed a lot of the test, but the '64bit cloud' and
'aarch64 cloud' tests still fail, there is no login prompt on the tty.

Also, make sure that the autovt@.service symlink is in -udev subpackage.
2026-02-04 18:13:41 +01:00
Zbigniew Jędrzejewski-Szmek
24a305a398 Revert to previous handling of getty@.service
OpenQA still fails. Now we get a graphical console on tty1 when the
needles expect a text login. And in other cases we get nothing, when
the tests expect a text login. Let's just manually recreate the
previous state. When kmsconvt@.service has an [Install] section with
Alias= and DefaultInstance=, then 'systemctl enable kmsconvt@' creates
the enablement symlinks as expected, hiding our symlink in
/usr/lib/systemd/, so we could proceed with the changes in kmscon if
systemd passes the tests.
2026-02-04 15:48:00 +01:00
Zbigniew Jędrzejewski-Szmek
6a500eb814 Create getty@tty1.service again and move autovt@.service alias to /usr/lib
1. Revert "Stop enabling getty@tty1.service"

This reverts commit e301db0151.

My assessment was wrong. We *did* create the symlink, probably through
the preset-all call. Also, this change didn't cause any change to the
OpenQA results.

2. Move the autovt@.service symlink to /usr/lib/ to make an
Lorax/Anaconda hack work again. If this works, kmscon will need to do
the same thing.
2026-02-04 13:34:16 +01:00
Zbigniew Jędrzejewski-Szmek
88bd4ab206 Properly enable systemd-tmpfiles-clear.service in scriptlets
Another unit that was forgotten.
2026-02-04 13:34:11 +01:00
Zbigniew Jędrzejewski-Szmek
d9f3f02206 Raise the number of placeholder sections in kernel and addon stubs
Fixes 'PEError: Not enough header space to add section .cmdline'
encountered when building complicated UKIs.
2026-01-29 15:32:26 +01:00
Zbigniew Jędrzejewski-Szmek
e301db0151 Stop enabling getty@tty1.service
Before the recent changes to fix scriptlets and do presets, we didn't
create this symlink, so let's drop it again to see if this fixes the
OpenQA failures.
2026-01-29 15:29:58 +01:00
Zbigniew Jędrzejewski-Szmek
a1c33507a2 Fix unit names in systemd-udev scriptlet
One level of escaping was consumed by rpm, one level was consumed by
the shell, we need one more for systemd. I saw the failure previously,
but didn't consider it important because we didn't need to do anything
for the affected units. But it turns out that the whole operation
failed, so we weren't presetting any of the units. This caused
getty@.service to not be enabled, even though presets specified that
it should. This code is being more robust in
https://github.com/systemd/systemd/pull/40504, but adding one more
level of escaping should resolve the issue too.
2026-01-29 08:58:31 +01:00
Zbigniew Jędrzejewski-Szmek
b7b3e024d6 Enable getty@.service through presets
Preparation for rhbz#2429626.
2026-01-27 15:15:43 +01:00
Zbigniew Jędrzejewski-Szmek
ec5e1b1ed7 Move tpm2 and getty support to -udev subpackage
We want getty@.service to be enabled through presets, so that the
autovt@.service alias is created (or not). See
https://fedoraproject.org/wiki/Changes/UseKmsconVTConsole.
getty@.service was changed upstream to have a full [Install] section,
but we need to handle installation of the unit here. This will now
create the autovt@.service alias when enabled.

While looking at this, I noticed that the getty units are in the main
package. They don't have to be, virtual terminals are only available
if we have "hardware", i.e. the -udev subpackage is appropriate.
Same for the tpm2 stuff.

List of affected files:
/etc/systemd/system/getty.target.wants
/usr/lib/systemd/system-generators/systemd-getty-generator
/usr/lib/systemd/system-generators/systemd-tpm2-generator
/usr/lib/systemd/system/console-getty.service
/usr/lib/systemd/system/container-getty@.service
/usr/lib/systemd/system/getty-pre.target
/usr/lib/systemd/system/getty.target
/usr/lib/systemd/system/getty@.service
/usr/lib/systemd/system/multi-user.target.wants/getty.target
/usr/lib/systemd/system/serial-getty@.service
/usr/lib/systemd/system/sysinit.target.wants/systemd-tpm2-setup-early.service
/usr/lib/systemd/system/sysinit.target.wants/systemd-tpm2-setup.service
/usr/lib/systemd/system/systemd-tpm2-clear.service
/usr/lib/systemd/system/systemd-tpm2-setup-early.service
/usr/lib/systemd/system/systemd-tpm2-setup.service
/usr/lib/systemd/system/tpm2.target
/usr/lib/systemd/systemd-tpm2-clear
/usr/lib/systemd/systemd-tpm2-setup
/usr/share/man/man8/systemd-getty-generator.8.gz
/usr/share/man/man8/systemd-tpm2-clear.service.8.gz
/usr/share/man/man8/systemd-tpm2-generator.8.gz
/usr/share/man/man8/systemd-tpm2-setup-early.service.8.gz
/usr/share/man/man8/systemd-tpm2-setup.8.gz
/usr/share/man/man8/systemd-tpm2-setup.service.8.gz

I considered leaving getty.target in the main package, so that
foreign units that refer to it don't generate a warning about missing
units, but I think that those packages should not be installed on
systems without systemd-udev, so it's fine if the warning appears.
2026-01-24 16:12:28 +01:00
Fedora Release Engineering
9c9976a7f8 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 18:48:55 +00:00
Hans de Goede
f353d244fd Add 2 patches for automatic aarch64 DTB selection change 2026-01-12 16:22:10 +01:00
Zbigniew Jędrzejewski-Szmek
399885597c Revert "Disable sysinit-path for upstream builds"
This reverts commit 56377438ba. Dropping
of the option currently doesn't disable anything, it just moves the
file. I don't think we gain anything by moving the file and actually
this causes problems [1], so let's just return to status quo ante.

[1] file /etc/init.d conflicts between attempted installs of systemd-259.999+69+g6ceb76bfc-2548.1.x86_64 and chkconfig-1.33-3.fc44.x86_64

[skip changelog]
2025-12-20 20:09:31 +01:00
Daan De Meyer
67538c79f2 Make dbus and systemd-pam recommended dependencies
Neither dbus nor pam are required in the initrd so
let's make both recommended dependencies instead
of required dependencies so that we can build
initrds without either of them getting pulled in.
2025-12-19 16:40:55 +01:00
Daan De Meyer
c052029197 Drop libcap-devel BuildRequires
Not required anymore since v259.
2025-12-19 16:17:01 +01:00
Daan De Meyer
cac8dde28a test: Allow passing in extra tests to skip via TEST_SKIP
[skip changelog]
2025-12-19 11:22:34 +00:00
Luca Boccassi
56377438ba Disable sysinit-path for upstream builds
[skip changelog]
2025-12-19 11:45:00 +01:00
Daan De Meyer
0c8ea706f9 Fix links to patches
These patches were modified downstream yet the links
were never updated

[skip changelog]
2025-12-19 10:43:34 +00:00
Zbigniew Jędrzejewski-Szmek
4f5b5a9615 Version 259
- Some bugfixes since -rc3, in particular in the area of
  image creation and loading of libraries
2025-12-18 10:34:39 +01:00
Zbigniew Jędrzejewski-Szmek
bf8019c840 Version 259~rc3
Various fixes for various issues reported with -rc2.
2025-12-10 23:06:32 +01:00