diff --git a/0001-Don-t-store-debug-messages-from-rtkit-daemon.patch b/0001-Don-t-store-debug-messages-from-rtkit-daemon.patch new file mode 100644 index 0000000..e55758f --- /dev/null +++ b/0001-Don-t-store-debug-messages-from-rtkit-daemon.patch @@ -0,0 +1,24 @@ +From 0ced1f81d7e14e042f0c300011659a3eae0df3c3 Mon Sep 17 00:00:00 2001 +From: Michal Sekletar +Date: Tue, 13 Aug 2024 21:09:57 +0200 +Subject: [PATCH] Don't store debug messages from rtkit-daemon + +--- + rtkit-daemon.service.in | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/rtkit-daemon.service.in b/rtkit-daemon.service.in +index d0dc786..7a80d33 100644 +--- a/rtkit-daemon.service.in ++++ b/rtkit-daemon.service.in +@@ -26,6 +26,7 @@ NotifyAccess=main + CapabilityBoundingSet=CAP_SYS_NICE CAP_DAC_READ_SEARCH CAP_SYS_PTRACE CAP_SYS_CHROOT CAP_SETGID CAP_SETUID + PrivateTmp=yes + PrivateNetwork=yes ++LogLevelMax=info + + [Install] + WantedBy=graphical.target +-- +2.45.2 + diff --git a/remove-debug-messages.patch b/remove-debug-messages.patch deleted file mode 100644 index 07710a2..0000000 --- a/remove-debug-messages.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git rtkit-0.11/rtkit-daemon.c~ rtkit-0.11/rtkit-daemon.c -index fdff7f63dc..5f108d842d 100644 ---- rtkit-0.11/rtkit-daemon.c~ -+++ rtkit-0.11/rtkit-daemon.c -@@ -1485,17 +1485,6 @@ static DBusHandlerResult dbus_handler(DBusConnection *c, DBusMessage *m, void *u - } else - return DBUS_HANDLER_RESULT_NOT_YET_HANDLED; - -- syslog(LOG_DEBUG, "Supervising %u threads of %u processes of %u users.\n", -- n_total_threads, -- n_total_processes, -- n_users); -- -- sd_notifyf(0, -- "STATUS=Supervising %u threads of %u processes of %u users.", -- n_total_threads, -- n_total_processes, -- n_users); -- - finish: - if (r) { - assert_se(dbus_connection_send(c, r, NULL)); diff --git a/rtkit.spec b/rtkit.spec index d270861..9f5c5e2 100644 --- a/rtkit.spec +++ b/rtkit.spec @@ -31,7 +31,7 @@ Patch: 0001-Fix-borked-error-check.patch Patch: 0001-systemd-update-sd-daemon.-ch.patch Patch: 0002-Remove-bundled-copy-of-sd-daemon.-ch.patch -Patch: remove-debug-messages.patch +Patch: 0001-Don-t-store-debug-messages-from-rtkit-daemon.patch %description RealtimeKit is a D-Bus system service that changes the