From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id OMj8ERmSJGfMTwAA62LTzQ:P1 (envelope-from ) for ; Fri, 01 Nov 2024 08:32:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id OMj8ERmSJGfMTwAA62LTzQ (envelope-from ) for ; Fri, 01 Nov 2024 09:32:25 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=E0lUb9iK; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=jJsDLtEz; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730449945; a=rsa-sha256; cv=none; b=bs3scqp7Mjz0ri2A4DvQ9AiOPFqKEWL/jumYdlXU89mrf8z4IK+bBEDaPLIDt+A7xbOooA goSfxk1uSM5Q4or57jANFUO5t6JjL3ZossX5Av81lI+/XS3sTpqttDKK0fKhaVM3C8DoYi krip/BYNBmMTBd4uVFdD/OJnPvc8gv7l8HX+LPvXVk64C8neOrLrVPOBkg9ZkAfJfwcHXN XJ01J6bxxmQVmU4/jP5wwRvQiYDf+LJqNL5UWMspLwUcX4ixsUz3eGOK+tgKtp7hN7auhK 7inq+cryhJQBg7pz9ZTfyYsDfdKvumYMcoJXRSmaDVt887cBhP+F8QWhupC+iw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=E0lUb9iK; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=jJsDLtEz; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730449945; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=lxX0IJTIE7nNZCgG5LD0Ru4K3pUQXS38qaQUW5LEk8c=; b=WZ/AHCzzxL2wx9Brz1ky/EssKtFP6ZNVQazS0CFwsHE21IUO/eu6jJUxZigpNNbtXZsv2I aThANc74mS6J4KZRjE2EGrayRDq5ahDHbgh64i3E4uFq5vd7FHVL9gaY3m0F7MMCtcUWSP W9wisjUCktvzy084eHr6faJC2TAyZiPUerKfhA4cmiRDd+qOoVCzXadmUnKHN4sZRZAAl7 fhbw1gqB1y/DOb1pZrDW7bQ130Y2oYxCO6foCs0ApLrcIbAI32Ok0n+7+2kqApC61euvRh HLjJDrGo+RtjAqba7tSczQBM0UkWQ89k3AMC3OKLuMH2HvLk6cCQLfpel2Yzzg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 10465865D2 for ; Fri, 01 Nov 2024 09:32:25 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t6n4e-00069o-N3; Fri, 01 Nov 2024 04:32:04 -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 1t6n4d-00069c-0x for bug-guix@gnu.org; Fri, 01 Nov 2024 04:32:03 -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 1t6n4c-00039y-ON for bug-guix@gnu.org; Fri, 01 Nov 2024 04:32:02 -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:References:In-Reply-To:From:To:Subject; bh=lxX0IJTIE7nNZCgG5LD0Ru4K3pUQXS38qaQUW5LEk8c=; b=E0lUb9iKduADkDtBDKsYCwXo+PNnC7myZ0B6++KvMBRiM5zn7x64yt/ZTBN4OWH3rY3IsUb90/CdJlWkzpLV1i3sgBFZVrVLYPSVc1MfP/q9OEPPrnAXte4GWhluUG11sdyOkUsGOJy+tZvh7Mys4Re6tbe8AhcLtIMiO2vIvUQfRHiZn9oGGxgpDgqK/H6VDc9eGMnVnq7hwuTMLwhxxQhocevqQsNvb8CL45Ri3JI1q/+zGRUgv2ZADY94W3gb1txG8YiAXrKhnM/xCiTrRdxFbi59AMcjkv9hjOW/BGyyx59iHKZOjbPICggIf43GIXSndAEPm8kf9j4+oy+MGA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t6n4c-00087N-IS for bug-guix@gnu.org; Fri, 01 Nov 2024 04:32:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#59181: [berlin] web services fail to start on reboot due to anonip Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 01 Nov 2024 08:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59181 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 59181@debbugs.gnu.org Cc: Ricardo Wurmus Received: via spool by 59181-submit@debbugs.gnu.org id=B59181.173044989331183 (code B ref 59181); Fri, 01 Nov 2024 08:32:02 +0000 Received: (at 59181) by debbugs.gnu.org; 1 Nov 2024 08:31:33 +0000 Received: from localhost ([127.0.0.1]:47847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6n48-00086t-MH for submit@debbugs.gnu.org; Fri, 01 Nov 2024 04:31:33 -0400 Received: from mail-pf1-f176.google.com ([209.85.210.176]:42296) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6n46-00086n-T8 for 59181@debbugs.gnu.org; Fri, 01 Nov 2024 04:31:31 -0400 Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-720be27db74so1047338b3a.1 for <59181@debbugs.gnu.org>; Fri, 01 Nov 2024 01:31:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730449830; x=1731054630; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:cc:references:in-reply-to :subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=lxX0IJTIE7nNZCgG5LD0Ru4K3pUQXS38qaQUW5LEk8c=; b=jJsDLtEzLjhPV9ysEobmcXH7A024Jg6/J83lZmVZCKDnJA3hTHibTOn/lTdvF4FHLq VM6AA7pseJVTEOaWGItt+qL9n9Z6sMwxR5h6SjxkCJU783+M2wB3Kgj2QKIiui2lZYJG GRagHSwck6CqnwO+sFSP3hP6Z4BMyazWThrqw60c1kNYdhMPx6hQ9hMYEqkfADKFHt8l TFbWMNA1gzZ0XxpL/JI2guw79TB8VNZzIX5EUX1rb2gOjUTUvmst1UQlxOdt7aRpw79s 3uMy+VYcdJ/P1Qx/rsLv4FpuwI/KlKFcU3fZT1R9NRQZgDumEZnXHOoeVf0W1BoneH5b EFuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730449830; x=1731054630; h=mime-version:user-agent:message-id:date:cc:references:in-reply-to :subject:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=lxX0IJTIE7nNZCgG5LD0Ru4K3pUQXS38qaQUW5LEk8c=; b=t9qYYV5OBasgeZbikiav1sTOLepSn8K891RkfA8GWCRmaVTZV3EkgGAobgMLadGJQh K6ClfUn/mVeHkReoc0fzXtLKHrqJz69TVC0LyjvCqA7HI6TqAMlc5qKjMNLK3w5rUDEe dNTA2mHxEkMf6mKNBRjm5LFiTfH65jEKymjiqeYRNSbrgworI7F5951bXue9bS2V62+U Y3FLYhIfvPMqoWeyzPzt8ZxPBudORhtpTvtoWpHQc2NnXGkBSgW9uBHHObZmx6lqb6CE Sf5bFo4du4MDPSfjdZgpCNWis8J4QOWWwLQUqRHUZJFLJTWmdc9pb6i7ZxRLeCBW2hK0 h0Yg== X-Gm-Message-State: AOJu0Yy7PDHAKUeJC9c7WNtAi4sEBIm/FTKPHH2jUvlxblAyNNCfVb37 0qUewmaO088a5GLti/deTtSc3CR7GQK6P+e1nFN0DE6qUAhwIABD5wQAclUX X-Google-Smtp-Source: AGHT+IGNlK3g5j5VS71nchgdz/e27E+J2Q51aGerU0x4UQwd5emhI74sy31pGs0cAprPVO6nXpONUA== X-Received: by 2002:a05:6a00:4615:b0:71e:5573:8dcd with SMTP id d2e1a72fcca58-720bcaf1e8emr7638943b3a.2.1730449829867; Fri, 01 Nov 2024 01:30:29 -0700 (PDT) Received: from terra ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-720bc1eb1a0sm2227146b3a.67.2024.11.01.01.30.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Nov 2024 01:30:29 -0700 (PDT) From: Maxim Cournoyer In-Reply-To: <87mt8yvfnr.fsf@gmail.com> (Maxim Cournoyer's message of "Thu, 10 Nov 2022 13:16:24 -0500") References: <87mt8yvfnr.fsf@gmail.com> Date: Fri, 01 Nov 2024 17:30:26 +0900 Message-ID: <87plnf1hlp.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -1.48 X-Spam-Score: -1.48 X-Migadu-Queue-Id: 10465865D2 X-Migadu-Scanner: mx12.migadu.com X-TUID: kqX3NvfHWCE7 Hi, Maxim Cournoyer writes: > Hi, > > Each time we reboot berlin, we must clear anonip files that it uses to > process the nginx logs, which are supposed to be named pipes rather than > empty files, like so: > > # rm /var/run/anonip/* > # herd start nginx > > We should fix that. OK, I've now narrowed this issue down to the nginx activation script, which validates the configuration file, which causes nginx to write the log files before our anonip service gets to create the named pipes at their location. Here's a small debug session in a VM showing this is the case: --8<---------------cut here---------------start------------->8--- root@komputilo ~# ls /var/run/anonip access.log error.log root@komputilo ~# rm /var/run/anonip/* root@komputilo ~# ls /var/run/anonip root@komputilo ~# "/gnu/store/kn56akgnfkqm0ppyfzhyh63ss06ff42s-nginx-1.27.1/sbin/nginx" "-c" "/gnu/store/zc2vj9ixcmdpkivkdyp16vw8lyaivvky-nginx.conf" "-p" "/var/run/nginx" "-t" nginx: the configuration file /gnu/store/zc2vj9ixcmdpkivkdyp16vw8lyaivvky-nginx.conf syntax is ok root@komputilo ~# ls /var/run/anonip access.log error.log --8<---------------cut here---------------end--------------->8--- I suggest we simply recreate the log files in our anonip service start slot; currently it checks and fails if they already exist. -- Thanks, Maxim