public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/systemd] f45: Add patch to disable systemd-coredumpd.service
Date: Sat, 05 Sep 2026 14:39:31 GMT	[thread overview]
Message-ID: <178861917188.1.1782648502080576782.rpms-systemd-8562fe5ae2b0@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/systemd
Branch : f45
Commit : 8562fe5ae2b07d8a29e8d2fd60adf6dbbe40dade
Author : Zbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Date   : 2026-09-05T16:24:50+02:00
Stats  : +57/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/systemd/c/8562fe5ae2b07d8a29e8d2fd60adf6dbbe40dade?branch=f45

Log:
Add patch to disable systemd-coredumpd.service

---
diff --git a/0001-units-allow-disabling-systemd-coredumpd.service.patch b/0001-units-allow-disabling-systemd-coredumpd.service.patch
new file mode 100644
index 0000000..1bae742
--- /dev/null
+++ b/0001-units-allow-disabling-systemd-coredumpd.service.patch
@@ -0,0 +1,51 @@
+From aa3743d5b815a010bf4835c504d764bbeb4b312a Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@amutable.com>
+Date: Sat, 5 Sep 2026 16:19:21 +0200
+Subject: [PATCH] units: allow disabling systemd-coredumpd.service
+
+The new unit is nice, but it might not be desired in all scenarios. It
+requires a new kernel, which might be known to not be available, and also
+changes sysctl kernel.core_pattern at runtime, which might not be desired.
+Replace static enablement by a normal [Install] section and add the unit
+to presets to enable it by default.
+---
+ presets/90-systemd.preset          | 1 +
+ units/meson.build                  | 1 -
+ units/systemd-coredumpd.service.in | 3 +++
+ 3 files changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/presets/90-systemd.preset b/presets/90-systemd.preset
+index bf6006c35c..563f4d831f 100644
+--- a/presets/90-systemd.preset
++++ b/presets/90-systemd.preset
+@@ -22,6 +22,7 @@ enable getty@.service
+ enable systemd-boot-clear-sysfail.service
+ enable systemd-boot-update.service
+ enable systemd-confext.service
++enable systemd-coredumpd.service
+ enable systemd-homed.service
+ enable systemd-homed-activate.service
+ enable systemd-journalctl-metrics.socket
+diff --git a/units/meson.build b/units/meson.build
+index 0d60b4e006..9f8f8d0e41 100644
+--- a/units/meson.build
++++ b/units/meson.build
+@@ -349,7 +349,6 @@ units = [
+         {
+           'file' : 'systemd-coredumpd.service.in',
+           'conditions' : ['ENABLE_COREDUMP'],
+-          'symlinks' : ['sysinit.target.wants/'],
+         },
+         {
+           'file' : 'systemd-creds.socket',
+diff --git a/units/systemd-coredumpd.service.in b/units/systemd-coredumpd.service.in
+index 01eecb173a..eb8c7a68f6 100644
+--- a/units/systemd-coredumpd.service.in
++++ b/units/systemd-coredumpd.service.in
+@@ -57,3 +57,6 @@ SystemCallErrorNumber=EPERM
+ SystemCallFilter=@system-service @mount
+ TimeoutStopSec=6min
+ {{SERVICE_WATCHDOG}}
++
++[Install]
++WantedBy=sysinit.target

diff --git a/systemd.spec b/systemd.spec
index ce47dd6..31b4ff2 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -162,6 +162,12 @@ Patch:          0001-core-create-userdb-root-directory-with-correct-label.patch
 
 # Workaround for https://bugzilla.redhat.com/show_bug.cgi?id=2415701
 Patch:          0002-machined-continue-without-resolve.hook-socket.patch
+
+# Disable systemd-coredumpd.service until the selinux policy is patched
+# (https://github.com/fedora-selinux/selinux-policy/pull/3397,
+#  https://src.fedoraproject.org/rpms/selinux-policy/pull-request/675)
+Patch:          0001-units-allow-disabling-systemd-coredumpd.service.patch
+
 %endif
 
 %ifarch %{ix86} x86_64 aarch64 riscv64

                 reply	other threads:[~2026-09-05 14:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178861917188.1.1782648502080576782.rpms-systemd-8562fe5ae2b0@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox