public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/systemd] rawhide: Version 262~rc2
Date: Wed, 09 Sep 2026 20:42:19 GMT	[thread overview]
Message-ID: <178898653993.1.1197162086993068177.rpms-systemd-5df1286d4244@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/systemd
Branch : rawhide
Commit : 5df1286d4244aa5ff879394e1ab6da309b7d4860
Author : Zbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Date   : 2026-09-09T17:56:51+02:00
Stats  : +4/-149 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/systemd/c/5df1286d4244aa5ff879394e1ab6da309b7d4860?branch=rawhide

Log:
Version 262~rc2

---
diff --git a/0001-units-allow-disabling-systemd-coredumpd.service.patch b/0001-units-allow-disabling-systemd-coredumpd.service.patch
deleted file mode 100644
index 59545b1..0000000
--- a/0001-units-allow-disabling-systemd-coredumpd.service.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-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/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/43689.patch b/43689.patch
deleted file mode 100644
index 653afc9..0000000
--- a/43689.patch
+++ /dev/null
@@ -1,100 +0,0 @@
-From a4ccfd2909543fd954765b50ab67b05203e1edb8 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@amutable.com>
-Date: Tue, 8 Sep 2026 14:04:01 +0200
-Subject: [PATCH] udevadm: restore noop behaviour when udevd is not running
-
-This partially reverts 17e911ffc853c54f44edd11ead8b6edab72c1217.
-Previously 'udevadm settle' would silently succeed if udevd was not
-reachable. Restore this behaviour.
-
-C.f. https://forge.fedoraproject.org/releng/compose-tracker-issues/issues/9573.
----
- src/udev/udevadm-settle.c  |  4 ++--
- src/udev/udevadm-trigger.c |  3 ++-
- src/udev/udevadm-util.c    | 14 ++++++++++----
- src/udev/udevadm-util.h    |  2 +-
- 4 files changed, 15 insertions(+), 8 deletions(-)
-
-diff --git a/src/udev/udevadm-settle.c b/src/udev/udevadm-settle.c
-index 43d82f2b2702..88f28b4c8a57 100644
---- a/src/udev/udevadm-settle.c
-+++ b/src/udev/udevadm-settle.c
-@@ -194,8 +194,8 @@ int verb_settle_main(int argc, char *argv[], uintptr_t _data, void *userdata) {
-         (void) emit_deprecation_warning();
- 
-         if (getuid() == 0) {
--                r = udev_ping(MAX(5 * USEC_PER_SEC, arg_timeout_usec));
--                if (r < 0)
-+                r = udev_ping(MAX(5 * USEC_PER_SEC, arg_timeout_usec), /* ignore_connection_failure= */ true);
-+                if (r <= 0)
-                         return r;
-         } else {
-                 /* For non-privileged users, at least check if udevd is running. */
-diff --git a/src/udev/udevadm-trigger.c b/src/udev/udevadm-trigger.c
-index 9eeef37ffe1d..7c23ccf1c2ff 100644
---- a/src/udev/udevadm-trigger.c
-+++ b/src/udev/udevadm-trigger.c
-@@ -506,9 +506,10 @@ int verb_trigger_main(int argc, char *argv[], uintptr_t _data, void *userdata) {
-                 return r;
- 
-         if (arg_ping) {
--                r = udev_ping(arg_ping_timeout_usec);
-+                r = udev_ping(arg_ping_timeout_usec, /* ignore_connection_failure= */ false);
-                 if (r < 0)
-                         return r;
-+                assert(r > 0);
-         }
- 
-         if (arg_settle) {
-diff --git a/src/udev/udevadm-util.c b/src/udev/udevadm-util.c
-index 7c0c9601e0fb..8182fcb5576d 100644
---- a/src/udev/udevadm-util.c
-+++ b/src/udev/udevadm-util.c
-@@ -8,6 +8,7 @@
- #include "conf-files.h"
- #include "constants.h"
- #include "device-private.h"
-+#include "errno-util.h"
- #include "extract-word.h"
- #include "log.h"
- #include "path-util.h"
-@@ -172,19 +173,24 @@ int parse_key_value_argument(const char *str, bool require_value, char **key, ch
-         return 0;
- }
- 
--int udev_ping(usec_t timeout_usec) {
-+int udev_ping(usec_t timeout_usec, bool ignore_connection_failure) {
-         _cleanup_(sd_varlink_flush_close_unrefp) sd_varlink *link = NULL;
-         int r;
- 
-         r = udev_varlink_connect(&link, timeout_usec);
--        if (r < 0)
--                return log_error_errno(r, "Failed to connect to udev via varlink: %m");
-+        if (r < 0) {
-+                bool ignore = ignore_connection_failure && (ERRNO_IS_NEG_DISCONNECT(r) || r == -ENOENT);
-+                log_full_errno(ignore ? LOG_DEBUG : LOG_ERR, r,
-+                               "Failed to connect to udev via varlink%s: %m",
-+                               ignore ? ", ignoring" : "");
-+                return ignore ? 0 : r;  /* nothing to do or error */
-+        }
- 
-         r = varlink_call_and_log(link, "io.systemd.service.Ping", /* parameters= */ NULL, /* reply= */ NULL);
-         if (r < 0)
-                 return r;
- 
--        return 0;
-+        return 1;  /* received reply from udevd */
- }
- 
- static int search_rules_file_in_conf_dirs(const char *s, const char *root, ConfFile ***files, size_t *n_files) {
-diff --git a/src/udev/udevadm-util.h b/src/udev/udevadm-util.h
-index dc3d6bb83302..906479825ca3 100644
---- a/src/udev/udevadm-util.h
-+++ b/src/udev/udevadm-util.h
-@@ -11,5 +11,5 @@ int find_device_with_action(const char *id, sd_device_action_t action, sd_device
- int parse_device_action(const char *str, sd_device_action_t *ret);
- int parse_resolve_name_timing(const char *str, ResolveNameTiming *ret);
- int parse_key_value_argument(const char *str, bool require_value, char **key, char **value);
--int udev_ping(usec_t timeout);
-+int udev_ping(usec_t timeout, bool ignore_connection_failure);
- int search_rules_files(char * const *a, const char *root, ConfFile ***ret_files, size_t *ret_n_files);

diff --git a/systemd.spec b/systemd.spec
index 0812674..c66c072 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -85,7 +85,7 @@ Url:            https://systemd.io
 # But don't do that on OBS, otherwise the version subst fails, and will be
 # like 257-123-gabcd257.1 instead of 257-123-gabcd
 %if %{without obs}
-Version:        %{?version_override}%{!?version_override:262~rc1}
+Version:        %{?version_override}%{!?version_override:262~rc2}
 %else
 Version:        %{?version_override}%{!?version_override:%(cat meson.version)}
 %endif
@@ -163,15 +163,6 @@ 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
-
-# Backport patch to restore noop behaviour of udevadm settle if udevd is
-# not running.
-Patch:          https://github.com/systemd/systemd/pull/43689.patch
-
 %endif
 
 %ifarch %{ix86} x86_64 aarch64 riscv64 loongarch64
@@ -850,6 +841,9 @@ mv %{_sourcedir}/%{name}.fedora/* %{_sourcedir}
 # https://github.com/rpm-software-management/rpm/issues/3450
 sed -r -i 's/^u!/u/' sysusers.d/*.conf*
 
+# Disable the preset for systemd-coredumd to work with old SELinux policy
+sed -r -i '/enable systemd-coredumpd.service/d' presets/90-systemd.preset
+
 %build
 echo %{status}
 

                 reply	other threads:[~2026-09-09 20:42 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=178898653993.1.1197162086993068177.rpms-systemd-5df1286d4244@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