From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QATzNgqI8mHZBAAAgWs5BA (envelope-from ) for ; Thu, 27 Jan 2022 12:54:50 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sCUtNAqI8mGG1QAA9RJhRA (envelope-from ) for ; Thu, 27 Jan 2022 12:54:50 +0100 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 A7F5C3DCB8 for ; Thu, 27 Jan 2022 12:54:49 +0100 (CET) Received: from localhost ([::1]:40254 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nD3MW-0004Yb-Cb for larch@yhetil.org; Thu, 27 Jan 2022 06:54:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nD32T-0006lI-8f for bug-guix@gnu.org; Thu, 27 Jan 2022 06:34:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:33377) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nD32Q-0001EB-NC for bug-guix@gnu.org; Thu, 27 Jan 2022 06:34:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nD32Q-0005s0-ID for bug-guix@gnu.org; Thu, 27 Jan 2022 06:34:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#53580: /var/run/shepherd/socket is missing on an otherwise functional system Resent-From: Attila Lendvai Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 27 Jan 2022 11:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53580 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 53580@debbugs.gnu.org X-Debbugs-Original-To: "bug-guix@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.164328319622501 (code B ref -1); Thu, 27 Jan 2022 11:34:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Jan 2022 11:33:16 +0000 Received: from localhost ([127.0.0.1]:54513 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nD31g-0005qr-Fu for submit@debbugs.gnu.org; Thu, 27 Jan 2022 06:33:16 -0500 Received: from lists.gnu.org ([209.51.188.17]:37710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nD31b-0005qd-Ah for submit@debbugs.gnu.org; Thu, 27 Jan 2022 06:33:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nD31T-0006MK-Hq for bug-guix@gnu.org; Thu, 27 Jan 2022 06:33:07 -0500 Received: from mail-4323.proton.ch ([185.70.43.23]:46713) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nD31N-00014V-Fg for bug-guix@gnu.org; Thu, 27 Jan 2022 06:33:01 -0500 Date: Thu, 27 Jan 2022 11:32:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail3; t=1643283140; bh=plhAEVwZEbTc3hxl3yxLk5AxHGnHHeoXKOIgytm6qpg=; h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc; b=ZAbFienYh96rXjcPwzxiNqQvjHBiEYLvr8sybWstdGQIsbP2w6wO2GrPQ8CrDgCkL igJfMe0zu21Jo0Qlbn5skKCzWRYejGn41HcXBH8qrnjRNSSl6sPY23YrTedXb7N68u rorN7BqqwjCvtTkkosj+uij6f4M4wSyBnG3KTg2Km1LxnGcdebVdeHUqwqn3A9bOfh 2JFB/a0iqSu0SgmAkNk19zyymXUP3sehdX9ILSVwk3g/U7Lhuimofjb2kP6S9CosnR NFQGiVVQsncgaHheGcdXY7Emt7FQsoc5W1U1ZoPsICH8oQ1ERaXeiIo7t2qLos0UQf hbrVgNNJlHlWA== From: Attila Lendvai Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.23; envelope-from=attila@lendvai.name; helo=mail-4323.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Reply-To: Attila Lendvai Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643284490; h=from:from:sender:sender:reply-to: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=plhAEVwZEbTc3hxl3yxLk5AxHGnHHeoXKOIgytm6qpg=; b=BY4nfDM9tFl+VZbIrT+38ice0OnyttBfU7iZrJzGHrotuGHblh0/eIAT4cEpOFo8cFKfhx crOBZRYUW+fsopw6GProtoit7KxMMckX0UqD5TDSIFM/1ULYF4G+62CQ81C5P6K/k3zT1+ VUbdu9ITeuFz7vpVVb5IrPIHNH2jiEcCSaDebBoMCmpFtvzPuekRyxn33osKMyvr3BF1lf hZm5+myFDRbtACjO7fm9477pu2eFATAfoAJBTwWZN69n48oAC5XYi50x0/3BrG13iIe973 ZtknlYRZEIHCXgEde2awZUQUwjUvprAJsNQWxg4zX/wdFEgziwcNy3vjQyu2VA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643284490; a=rsa-sha256; cv=none; b=MnH3WoptY3yUkPWHgjv/+truBk53QE5bff48O5Qyzv51mYNFKPwGC1w9zL5VCm6wj73d2d E/0hIv9noXXe4Fi3D9VLkcIpgIzQjY+xuEs9TLURpG+8Yb+HvcIqWXyAvsCdb7GOjImBR+ MDfCqI/s3IFDIrxHjT8DRY37PPTxGyXOTyCwpoMcIibM6Mpp/AkVl0ULhHaq9qB3hZ6S8K OLRO5PgiPv1L4pg8e0W1C8OKoN08mi6FY2Y+x6avWfZApmI9zgIXprjf6YMPai9OKV7avc 4OHdQZi4AbAg2n80UXH0sBhn7EeCXCHNvdKtsk3zSgCbo9svG/EUIMcRMIkTXA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lendvai.name header.s=protonmail3 header.b=ZAbFienY; dmarc=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" X-Migadu-Spam-Score: -2.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lendvai.name header.s=protonmail3 header.b=ZAbFienY; dmarc=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" X-Migadu-Queue-Id: A7F5C3DCB8 X-Spam-Score: -2.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: CpUN8eqWBiwi the systems seems to work fine. Gnome is up, i can log in with my user, and= everything seems to work, except herd. i encounter this broken state every once in a while. IRC logs also mention = this multiple times, but without many insights: https://logs.guix.gnu.org/guix/search?query=3D%2Fvar%2Frun%2Fshepherd%2Fsoc= ket ``` # herd status error: connect: /var/run/shepherd/socket: No such file or directory # ps afxu | grep shepherd root 1 0.0 0.3 160788 43684 ? Sl 11:51 0:00 /gnu/store= /cnfsv9ywaacyafkqdqsv2ry8f01yr7a9-guile-3.0.7/bin/guile --no-auto-compile /= gnu/store/vza48khbaq0fdmcsrn27xj5y5yy76z6l-shepherd-0.8.1/bin/shepherd --co= nfig /gnu/store/q4nd803lxrlkr60s8sx88gvpb6c7lxyd-shepherd.conf # uptime 12:26:44 up 0:34, 2 users, load average: 0.00, 0.01, 0.00 ``` looking at shepherd's code: ``` (define (call-with-server-socket file-name proc) "Call PROC, passing it a listening socket at FILE-NAME and deleting the socket file at FILE-NAME upon exit of PROC. Return the values of PROC." (let ((sock (open-server-socket file-name))) (dynamic-wind noop (lambda () (proc sock)) (lambda () (close sock) (catch-system-error (delete-file file-name)))))) ``` maybe this is caused by some call/cc magic that causes an unwind that delet= es the file, but then continues? -- =E2=80=A2 attila lendvai =E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39 -- =E2=80=9CAbove all, do not lose your desire to walk: Every day I walk mysel= f into a state of well-being and walk away from every illness; I have walke= d myself into my best thoughts, and I know of no thought so burdensome that= one cannot walk away from it.=E2=80=9D =09=E2=80=94 S=C3=B8ren Kierkegaard (1813=E2=80=931855)