Skip to content

Commit 08ffacf

Browse files
Andrei Iakubovfacebook-github-bot
authored andcommitted
Do not install systemd-sysv for Fedora 41
Differential Revision: D65640740 fbshipit-source-id: 176498cb178222dd81a9b651bb18466d02a0cb94
1 parent 72593e8 commit 08ffacf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cookbooks/fb_systemd/recipes/default_packages.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
case node['platform_family']
2424
when 'rhel', 'fedora'
2525
systemd_packages << 'systemd-libs'
26+
# Starting with Fedora 41, systemd-sysv is no longer supported and does not exist in the repo
27+
if node.fedora? && node.os_at_least?('41')
28+
systemd_packages.delete('systemd-sysv')
29+
end
2630
when 'debian'
2731
systemd_packages += %w{
2832
libpam-systemd

0 commit comments

Comments
 (0)