systemd: drop 0005-Get-rid-of-a-useless-message-in-user-sessions.patch

This is entirely a "usability" patch which as per the new patch policy
is not allowed.

It's value even in the best of times is quite questionable and it's
unclear whether it has done anything in recent years.
This commit is contained in:
nikstur
2026-02-08 16:31:08 +01:00
parent a9bf6722ae
commit d02b5e8de4
2 changed files with 0 additions and 29 deletions
@@ -1,28 +0,0 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Eelco Dolstra <eelco.dolstra@logicblox.com>
Date: Mon, 11 May 2015 15:39:38 +0200
Subject: [PATCH] Get rid of a useless message in user sessions
Namely lots of variants of
Unit nix-var-nix-db.mount is bound to inactive unit dev-disk-by\x2dlabel-nixos.device. Stopping, too.
in containers.
---
src/core/manager.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/core/manager.c b/src/core/manager.c
index 79fa19d976..2115d74595 100644
--- a/src/core/manager.c
+++ b/src/core/manager.c
@@ -1579,7 +1579,8 @@ static unsigned manager_dispatch_stop_when_bound_queue(Manager *m) {
if (!unit_is_bound_by_inactive(u, &culprit))
continue;
- log_unit_debug(u, "Unit is stopped because bound to inactive unit %s.", culprit->id);
+ if (u->type != UNIT_MOUNT || detect_container() <= 0)
+ log_unit_debug(u, "Unit is stopped because bound to inactive unit %s.", culprit->id);
/* If stopping a unit fails continuously we might enter a stop loop here, hence stop acting on the
* service being unnecessary after a while. */
@@ -238,7 +238,6 @@ stdenv.mkDerivation (finalAttrs: {
# patches
patches = [
./0002-Don-t-try-to-unmount-nix-or-nix-store.patch
./0005-Get-rid-of-a-useless-message-in-user-sessions.patch
./0006-hostnamed-localed-timedated-disable-methods-that-cha.patch
./0007-Change-usr-share-zoneinfo-to-etc-zoneinfo.patch
./0008-localectl-use-etc-X11-xkb-for-list-x11.patch