From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id KNRuCD9Vv2Y9OAEAe85BDQ:P1 (envelope-from ) for ; Fri, 16 Aug 2024 13:33:51 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id KNRuCD9Vv2Y9OAEAe85BDQ (envelope-from ) for ; Fri, 16 Aug 2024 15:33:51 +0200 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=aem2OD4B; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=J2C9J8Jv; dmarc=pass (policy=none) header.from=gnu.org; 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=1723815230; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=z2w7e3ZNFcKv3aCeN9DYF3ONFCxKMAyCT9InAPqL4Yc=; b=kjGcHfikGgfjyP5G4w0vg/9xDTX7aeE5wVAyI3VLpgNE6W80L420oCRcWiGTQKLiJFDHgh f7RzayCo7BEOu3c+G9Z7VGhCBAde+O91kHRIu5llCHaUDKkxNlIXXDMBkZdIw8PTAmI20v SiVOAtlhtLzmhUKqmt5IqajqKbISU6FjwJkTAEN//nnHw+iLAtXhME77qr7okN2MWASJSj H2Fr5UetDsbl28FiH+Z0PZC3JaRFnGyu3AlC1ubNOP/1G8at4lRDQTlxBN2MtJ1DsuKQIl S/9AElBqUzYK/AxYBIN2rNkt2TcCQUd0GujiDCkXgr960BqnXAL+tbcYeRbVVg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1723815230; a=rsa-sha256; cv=none; b=SaUguT/ZuCeW64NdepLIizEPSEybkEJJY8ArMDJJ5xarU6SJk4KYS60pYMULItEMjo7Psh o+FkyIJUBSPFjRAfJkHArwfD0RjZ79aavyyhKlRAEabUK8Hh2VpwQN26a2IPTXmHXdDgqN AQ7GNg8sDILoM88RFkM4ad2XQrUzaI7v7sWjxt98HM4KEERsBdvrYaOzPahsSDZZ8dqsyY wlsAo6J/weTskCFTPcU6WYmTlZ8i2z0dwX8ohRxRWQ0pgLbDvNnXMTBo6NzDj+OxAu0R2w 5iJUMn7STkstPWukqP3EOap7rPQnzc4j0ar/SUPFfxd7ZD3TgVO6rWHPHmzXYw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=aem2OD4B; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=J2C9J8Jv; dmarc=pass (policy=none) header.from=gnu.org; 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" 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 C44C5602F8 for ; Fri, 16 Aug 2024 15:33:50 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sex57-0007nR-Ig; Fri, 16 Aug 2024 09:33:29 -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 1sex54-0007hN-9v for bug-guix@gnu.org; Fri, 16 Aug 2024 09:33:27 -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 1sex53-0000xx-HB for bug-guix@gnu.org; Fri, 16 Aug 2024 09:33:25 -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:Subject; bh=z2w7e3ZNFcKv3aCeN9DYF3ONFCxKMAyCT9InAPqL4Yc=; b=aem2OD4B5AUujiTeOfPknr7mZfZhITW9YEjAJ1tE6mg1A7sF24RbcFChLw5ml+F5fgINFS4uW5M2zAPKLoSYFr7UwACxrJgyf0umZUDhEIXZHA2er6IhfOoIqZFj80u6uFoBmDetcEz6v7YZX5HbbKmiwyUFfa/jXafx2RSt7+kdP5gr5E+6YI0jEIMpr/It6jq4Il1XzqCWMXIOYHWj/XRCJ+6Q+uWu2VtP2TLqQuPX0WouGopCFCSj7jefZv98OVHyAOMtlQAyIl6E6Ce4ZsTq3x0uHsh6mIqAEC+MFjoYDegUicn1mjhdb/V+SBLsmjt7FcivVqqeRi6SSurj4A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sex5e-0003RO-PW for bug-guix@gnu.org; Fri, 16 Aug 2024 09:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#72670: avahi-daemon can fail to restart due to stale /run/avahi-daemon/pid Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 16 Aug 2024 13:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72670 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 72670@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.172381520313166 (code B ref -1); Fri, 16 Aug 2024 13:34:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Aug 2024 13:33:23 +0000 Received: from localhost ([127.0.0.1]:51873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sex51-0003QH-3K for submit@debbugs.gnu.org; Fri, 16 Aug 2024 09:33:23 -0400 Received: from lists.gnu.org ([209.51.188.17]:57034) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sex4z-0003Q5-2D for submit@debbugs.gnu.org; Fri, 16 Aug 2024 09:33:21 -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 1sex4M-0007cD-U6 for bug-guix@gnu.org; Fri, 16 Aug 2024 09:32:43 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sex4K-0000u7-Cf for bug-guix@gnu.org; Fri, 16 Aug 2024 09:32:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=z2w7e3ZNFcKv3aCeN9DYF3ONFCxKMAyCT9InAPqL4Yc=; b=J2C9J8Jv+kaxQ7 XD2si6Qnmk8N0eXYg+WyVQPFQL/kyApzDdqqQeQxysk7hBWR4+ZlTbzoNOCPQG4R7DGrVUpkoKJXH 4b8ihe36dELTSB+D0TqzUCdjNgin7RYSXK0QH63bGZsx8G4egd7x/+iSs8iGxwBSqi+8/ko3eKVjq TS/eKbD1/47q7367+5NyHjIVuPnM+F/4JWqCQtjTbS2lZcht3dY3ChBNsG+XGJy/pMbo5nyfhcGUn WC+H3jwar4x1tFahFMYME/K5w0SqVUqWRSCqi2GI+eTU3tdl2SRvrBV2yiYb834GJAKt2Dv4vnCgJ 714XNcnJQfI2EtghgZ3w==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: =?UTF-8?Q?D=C3=A9cadi?= 30 Thermidor an 232 de la =?UTF-8?Q?R=C3=A9volution,?= jour du Moulin X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 16 Aug 2024 15:32:29 +0200 Message-ID: <877ccg8ufm.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: -3.27 X-Spam-Score: -3.27 X-Migadu-Queue-Id: C44C5602F8 X-Migadu-Scanner: mx11.migadu.com X-TUID: mc4d7xjgVFin The =E2=80=98avahi-daemon=E2=80=99 service fails to restart these days: a s= tale /run/avahi-daemon/pid upon reboot leads it to abandon. From /var/log/messages: --8<---------------cut here---------------start------------->8--- Aug 16 13:29:11 localhost shepherd[1]: Starting service avahi-daemon...=20 Aug 16 13:29:11 localhost shepherd[1]: Service avahi-daemon has been starte= d.=20 Aug 16 13:29:11 localhost shepherd[1]: Service avahi-daemon started.=20 Aug 16 13:29:11 localhost shepherd[1]: Service avahi-daemon running with va= lue (("unknown" . #)).=20 Aug 16 13:29:11 localhost shepherd[1]: Spawning systemd-style service /gnu/= store/yfl1x5k3njghkg4ckximqb0ysppvx8na-avahi-0.8/sbin/avahi-daemon.=20 Aug 16 13:29:11 localhost shepherd[1]: Running value of service avahi-daemo= n changed to 1497.=20 Aug 16 13:29:11 localhost shepherd[1]: Service avahi-daemon (PID 1497) exit= ed with 255.=20 Aug 16 13:29:11 localhost shepherd[1]: Service avahi-daemon has been disabl= ed.=20 Aug 16 13:29:11 localhost shepherd[1]: (Respawning too fast.)=20 --8<---------------cut here---------------end--------------->8--- =E2=80=A6 and /var/log/avahi-daemon.log: --8<---------------cut here---------------start------------->8--- 2024-08-16 13:29:11 Daemon already running on PID 1346 2024-08-16 13:29:11 Daemon already running on PID 1346 2024-08-16 13:29:11 Daemon already running on PID 1346 2024-08-16 13:29:11 Daemon already running on PID 1346 2024-08-16 13:29:11 Daemon already running on PID 1346 2024-08-16 13:29:11 Daemon already running on PID 1346 2024-08-16 13:29:11 Daemon already running on PID 1346 --8<---------------cut here---------------end--------------->8--- The issue was uncovered by the switch to socket activation in commit 3298ec0200af0d0b0850a388df0a78e87320307f: despite using socket activation, avahi-daemon checks for the presence of a PID file; however, there=E2=80=99s no longer a cleanup process as is the case when #:log-file = is used, hence the bug. But the core problem seems to be that =E2=80=98cleanup-service-type=E2=80= =99 deletes /var/run at boot but not /run. I guess it should delete /run as well? Ludo=E2=80=99.