From patchwork Mon Mar 24 11:41:19 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nazar Klovanych X-Patchwork-Id: 40773 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9272027BBEA; Mon, 24 Mar 2025 11:42:28 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E065B27BBE2 for ; Mon, 24 Mar 2025 11:42:27 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1twgC3-0000uJ-1z; Mon, 24 Mar 2025 07:42:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1twgBv-0000tg-HJ for guix-patches@gnu.org; Mon, 24 Mar 2025 07:42:04 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1twgBv-0001A8-6n for guix-patches@gnu.org; Mon, 24 Mar 2025 07:42:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=wjX+1qclro7t91RpgGhUrbFz2AZqFt30T+pO1p0N3VY=; b=Lu5h4bxHTZThBIiQXUUlVlru3qFrgc0HC8VvwldSGvAybSenYB7BW8NLVcBCcXud3OuJLyRIPqw1/Kj6zon2Ayup0wsyO/8yXe2nLoTtpEq0n1nXW9u6K5k0B89rGp6VRsllruBJvhfW8B792Ynfu1W0jc7ErpDD8Js3Z4b7vKk9ZEMlFWsJaUkyFpmdCMXKm0Qla0xl/3RowIRH1fhKZTEtEw/UC6aUAByhLZi9Czu0Lh2IiFOcXj54czYdpPP7GXBsmylNox5bAweske4HcOtyUYimvlg1XHrp94atD6+cfE0vShjHlF9Fipzg/JAG3+ZVkTJsqoOK1gkYRRMN/Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1twgBt-0004W9-VR for guix-patches@gnu.org; Mon, 24 Mar 2025 07:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77100] [PATCH v2] gnu: varnish: Fix varnish failed to start References: In-Reply-To: Resent-From: Nazar Klovanych Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 24 Mar 2025 11:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77100 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77100@debbugs.gnu.org Cc: Nazar Klovanych Received: via spool by 77100-submit@debbugs.gnu.org id=B77100.174281650117317 (code B ref 77100); Mon, 24 Mar 2025 11:42:01 +0000 Received: (at 77100) by debbugs.gnu.org; 24 Mar 2025 11:41:41 +0000 Received: from localhost ([127.0.0.1]:54492 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1twgBZ-0004VD-8E for submit@debbugs.gnu.org; Mon, 24 Mar 2025 07:41:41 -0400 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]:45255) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1twgBW-0004Uv-Ky for 77100@debbugs.gnu.org; Mon, 24 Mar 2025 07:41:39 -0400 Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-ac27cb35309so730907466b.2 for <77100@debbugs.gnu.org>; Mon, 24 Mar 2025 04:41:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742816492; x=1743421292; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=wjX+1qclro7t91RpgGhUrbFz2AZqFt30T+pO1p0N3VY=; b=Kgqkv2Mp6akfI0ltMv2jYFhqj7KbOZmcE3zzMm+BRHEHJ1vgyY00L5NSlICbAi26fY QanLHPKZ3p7GiYqUNwrFVTo+uXhOS8cscdu1G/kJcS69Z+tRk2ltWHN3DZhwv1XITob2 /gIWu8Kyq3OeeW6V0IR4wu5GjzvMYIAEYbUrvRnKR768R4qC9W/wAaRrg+5xQEcRzrFA h1Czmx83Ilybcw7tq6rb3tljSox0wEgBFpkeO9aShjNnTl6UWNFbQQUgRu3uerhLgroO LXpdjads+jKA3XD5SefOUa55X28QNS5KK9Aq9vGLKpgo2hlkYKk8p3GkxeWIv0qe2FPj BNWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742816492; x=1743421292; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wjX+1qclro7t91RpgGhUrbFz2AZqFt30T+pO1p0N3VY=; b=qbco5Nw+FgKVIGndq1fxij4p9FI/ZbS6LkzX2J/7uZcMJZ4R2CmX4/RbE9Q9dQ0Nn0 kNnmZ2fAFK6rcucaPLNR3Npefc2KIxO7aSi7b3mFShs3GLv71dXdF9P7U0b7y6i0xc7V E5fke/b7C709ZB2V5dspzXjsrhrAR6QEVGH6zqZfsvMWo9M/IEIS908lSIOSCbBZRQ2d 7AJzeIoKqnRqn+cCiEZ2FUTyUWnyZ9QuzScm+AbRuIwM1RbLsUwuQrmA6DD6Lq7uEXHB 9dIAVJbJjMf2wXizvveHz70nz3OMiapf+DrMeY058NG+ynPbSDYsUr9Y6RJUnRkvQfG1 zD8w== X-Gm-Message-State: AOJu0YxA1KqLzvGlGhsl0BDbkZmhtuqeUEvLcJImm45J/bkreD7z9je5 gz1P7aMqfqiNCHxHHPej5JPgLVUX2C4bZFXL903QU80jBMJHcfHuQzdEjMJg X-Gm-Gg: ASbGncsdQFUsppvrSY3KyxRUf8xEqJLyRKym3KgD6co6HknoQqN5xIRu8oWyWhUzrs1 dLKZhaPAfcBGIVLZxHnjUdOf1lOgpoxpd12meB+QgCe+hjEHPQdWkqAhHcP0aAhZymVpjoNv13/ rpSma78rcEOBlLn7vOHUCBe4L8bSxwGYyVY0M608rcyGVBu0iPuP7R8nnf2DjiicyZXes2waIFu AF7XwQlkOWp8wzEeM1VRUKf4/gDih8qMt+v9gQ0azME3vg8mtwAfw++oB18WomkTe27hU9z+tWw SXrpbfDoFfJWxg2YMLrI9csOjhyoOZGgEep0DQmNEieV/geuZ1qzt2A= X-Google-Smtp-Source: AGHT+IGT5ljvB85f8ZCqZSPlzWOh9epKLTrrmx1KwNoVaPakf3jzKGnRBqMXhPQZXcOkzC3cVNQscA== X-Received: by 2002:a17:907:7f22:b0:ac3:ed50:7ca7 with SMTP id a640c23a62f3a-ac3f251f326mr1263811466b.36.1742816491809; Mon, 24 Mar 2025 04:41:31 -0700 (PDT) Received: from localhost.localdomain ([195.16.78.188]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ac3ef86f1c1sm657357366b.8.2025.03.24.04.41.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Mar 2025 04:41:31 -0700 (PDT) From: Nazar Klovanych Date: Mon, 24 Mar 2025 13:41:19 +0200 Message-ID: <20250324114127.2163-1-nazarn96@gmail.com> X-Mailer: git-send-email 2.48.1 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches This fixes the error on varnish startup 2025-03-18 08:16:48 localhost shepherd[1]: [varnishd] Info: Working directory not mounted on tmpfs partition 2025-03-18 08:16:48 localhost shepherd[1]: [varnishd] sh: line 1: rm: command not found 2025-03-18 08:16:48 localhost shepherd[1]: [varnishd] Assert error in main(), mgt/mgt_main.c line 876: --- gnu/packages/web.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) base-commit: 9879a7d75279762c7634f1a585794442ea2f0503 diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 54f2f75097..37acd2d617 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -6825,7 +6825,9 @@ (define-public varnish (substitute* "bin/varnishd/mgt/mgt_shmem.c" (("rm -rf") (string-append rm " -rf"))) (substitute* "bin/varnishtest/vtc_main.c" - (("/bin/rm") rm))) + (("/bin/rm") rm)) + (substitute* "bin/varnishd/mgt/mgt_main.c" + (("rm -rf") (string-append rm " -rf")))) (substitute* "bin/varnishtest/tests/u00000.vtc" (("/bin/echo") (which "echo"))))) (add-after 'unpack 'remove-failing-tests