mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 09:43:14 +00:00
40eff710af
Reverts NixOS/nixpkgs#269620 -eab0837b68
caused a mass-rebuild on master - self-merge on a critical package without review and not waiting for the active owner team Below are the reverts of the commits from that PR Revert "systemd: migrate to by-name" This reverts commit33d2a40d67
. Revert "systemd: add meta.longDescription" This reverts commit7c588d141d
. Revert "systemd: cosmetic rewording of code" This reverts commitd91b8d9fcb
. Revert "systemd: cosmetic rewording of comments" This reverts commitbc563998c0
. Revert "systemd: remove some redundancy on mesonFlags" This reverts commiteab0837b68
. Revert "systemd: use lib.meson* functions" This reverts commit1129756b1a
.
29 lines
1.2 KiB
Diff
29 lines
1.2 KiB
Diff
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 22ec6e79b1..771e8e7f16 100644
|
|
--- a/src/core/manager.c
|
|
+++ b/src/core/manager.c
|
|
@@ -1559,7 +1559,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. */
|