GNU bug report logs - #53580
/var/run/shepherd/socket is missing on an otherwise functional system

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Attila Lendvai <attila@HIDDEN>; dated Thu, 27 Jan 2022 11:34:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 53580 <at> debbugs.gnu.org:


Received: (at 53580) by debbugs.gnu.org; 1 Feb 2022 11:06:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 01 06:06:42 2022
Received: from localhost ([127.0.0.1]:41827 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nEqzi-0002QL-1W
	for submit <at> debbugs.gnu.org; Tue, 01 Feb 2022 06:06:42 -0500
Received: from flashner.co.il ([178.62.234.194]:37308)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <efraim@HIDDEN>) id 1nEqzg-0002Q9-JW
 for 53580 <at> debbugs.gnu.org; Tue, 01 Feb 2022 06:06:41 -0500
Received: from localhost (unknown [31.210.177.79])
 by flashner.co.il (Postfix) with ESMTPSA id C8F4940043;
 Tue,  1 Feb 2022 11:06:34 +0000 (UTC)
Date: Tue, 1 Feb 2022 13:06:02 +0200
From: Efraim Flashner <efraim@HIDDEN>
To: Attila Lendvai <attila@HIDDEN>
Subject: Re: bug#53580: (No Subject)
Message-ID: <YfkUGqsrXEwDDkH7@3900XT>
Mail-Followup-To: Efraim Flashner <efraim@HIDDEN>,
 Attila Lendvai <attila@HIDDEN>,
 "53580 <at> debbugs.gnu.org" <53580 <at> debbugs.gnu.org>
References: <BNbiqHqu6jP5GgHIZ0AMLhBo1O4baZdy21bgcUmGS1GqxOKnCHG_5uzzedymxwQsSFtL5gSw9Bppr1FXPoHDqIiKfe5K720Wb9Jivbsr_z4=@lendvai.name>
 <64mPNb0u2KM14ObD5EvtwiyzLKVPWLeUoaPyu2PuGOvhqFTVrAdkHMZzxksSNaturHgJG5wz53ZsOa_mnGzUnA44E9kFJj_Zi9QUTdC2g-8=@lendvai.name>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature"; boundary="s6LFaWH9pYZOnG8B"
Content-Disposition: inline
In-Reply-To: <64mPNb0u2KM14ObD5EvtwiyzLKVPWLeUoaPyu2PuGOvhqFTVrAdkHMZzxksSNaturHgJG5wz53ZsOa_mnGzUnA44E9kFJj_Zi9QUTdC2g-8=@lendvai.name>
X-PGP-Key-ID: 0x41AAE7DCCA3D8351
X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc
X-PGP-Fingerprint: A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  On Thu, Jan 27, 2022 at 12:13:28PM +0000,
 Attila Lendvai wrote:
 > i forgot to add that i'm working on a shepherd service, and this may be
 due to errors in the service's user code, like the start gexp. 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 2.0 SLIGHTLY_BAD_SUBJECT   Subject contains something slightly spammy
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 -0.0 SPF_PASS               SPF: sender matches SPF record
X-Debbugs-Envelope-To: 53580
Cc: "53580 <at> debbugs.gnu.org" <53580 <at> debbugs.gnu.org>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)


--s6LFaWH9pYZOnG8B
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jan 27, 2022 at 12:13:28PM +0000, Attila Lendvai wrote:
> i forgot to add that i'm working on a shepherd service, and this may be d=
ue to errors in the service's user code, like the start gexp.

This is generally when I see this type of error. I normally try to
create a minimal VM and launch that when I'm trying out a new service.

--=20
Efraim Flashner   <efraim@HIDDEN>   =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 =
=D7=9D=D7=99=D7=A8=D7=A4=D7=90
GPG key =3D A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

--s6LFaWH9pYZOnG8B
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmH5FBoACgkQQarn3Mo9
g1F0BRAAnZ/qsgsIqq23R63SXh7VFQcpWt0vabSbUTn/d7iSpf2g2xn3Yxe4X/P9
HSD5BIvuevxjTsSq3ohP5A+pDnREgrnJtxLVw58ZhDS+h/Wz81h0cF/vxnABbyoL
CK85axe4keqtiQM0gBO9/lJni9ZL7k4Lhx/LnpziVM3W7ONHuepaVskUd/Gjh4JC
yfju0DHahKTlq3tyi0YveTJV8W3DkN44V88k/F7QJO/cDdi+M8i1/NyjVoeqRXpd
pdrrRaFWtt2T+RfLCnjz+buuyrm4byeZYaGzHSUuCILylJDbZGh2m9rq5P0+CY6g
61qgNKmoqhDImOJtMy7E/k/PStqRuSBMQalQZnV0bmKPUc4crFsZScDn08dOgSLZ
WJaP7D3C9FQRMhaUmMivTFaPxeXm5X6RF1OdAdDZIewZVtnHyb5FQlqNlPteaQn9
rTp8s2OjRNJR98DowYsrelm1936HsTE30XnEp9FsPA8TFfn3MQnCfqBpVfaCkTfB
I7rFW1b1RL4uTNgvpsyBPJu+7c0/1LKqYdCkbWIjsOcseA6QSoxRQ1HupJ/3r2PC
vaJrz8csoTwFv8GReHDTkP5HAXTeXvWgEdqW+Re/SsHvimE8Pyyfs2KZfXUUTIfy
zh9qxw1xzDhOKNz1+/w9shJimik56Tzz4baM6A83hNHRlTpmw/8=
=53Uo
-----END PGP SIGNATURE-----

--s6LFaWH9pYZOnG8B--




Information forwarded to bug-guix@HIDDEN:
bug#53580; Package guix. Full text available.

Message received at 53580 <at> debbugs.gnu.org:


Received: (at 53580) by debbugs.gnu.org; 27 Jan 2022 12:13:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 27 07:13:45 2022
Received: from localhost ([127.0.0.1]:54534 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nD3er-0006u7-7z
	for submit <at> debbugs.gnu.org; Thu, 27 Jan 2022 07:13:45 -0500
Received: from mail-4317.proton.ch ([185.70.43.17]:58806)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <attila@HIDDEN>) id 1nD3el-0006tk-Qc
 for 53580 <at> debbugs.gnu.org; Thu, 27 Jan 2022 07:13:43 -0500
Date: Thu, 27 Jan 2022 12:13:28 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name;
 s=protonmail3; t=1643285612;
 bh=09Bg+zEMb/bJtfrYNtNieABDuw4pTypxIDFyuwPL2IY=;
 h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc;
 b=X+FOqkzj0CHLZAL7BCoQAXEDKe7P0+lBvMMIqZRoT78Ug2pP4mwcfAPkdgQJDYkX0
 T1w+IaxSO8giS/WT7CtBGptqfC7kiHfJ/8+zJjJzn6oly79Y8ZUlih85utfeDswumV
 kYhTn0XjatvOmnF1H0+KIbRYnQSxPIFfOrKtNbA3b4o5MoBATVFCxURpSrc5WBP664
 CnLJIwOHB3vhye+LP4VeAcPFkWoUI4Xh2KETZsYeUMLYy28rGnXZ2RkuXZ8HtWzfK9
 kl71l8aWe52OeBRtYBmFfARWodGLLsAXhObELpOucQEiS8pHTyALsfdqv8rtdR32d5
 L1/h452IZEiQw==
To: "53580 <at> debbugs.gnu.org" <53580 <at> debbugs.gnu.org>
From: Attila Lendvai <attila@HIDDEN>
Subject: (No Subject)
Message-ID: <64mPNb0u2KM14ObD5EvtwiyzLKVPWLeUoaPyu2PuGOvhqFTVrAdkHMZzxksSNaturHgJG5wz53ZsOa_mnGzUnA44E9kFJj_Zi9QUTdC2g-8=@lendvai.name>
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="b1_nlawUfAVVjoQ4FKi9yxoftWEhmpCWK2iKromvKCD0A"
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HTML_MESSAGE shortcircuit=no
 autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  i forgot to add that i'm working on a shepherd service, and
 this may be due to errors in the service's user code, like the start gexp.
 i forgot to add that i'm working on a shepherd service, and this may be due
 to errors in the service's user code, like the start gexp. 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 2.0 SLIGHTLY_BAD_SUBJECT   Subject contains something slightly spammy
 -0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
 [185.70.43.17 listed in wl.mailspike.net]
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 HTML_MESSAGE           BODY: HTML included in message
X-Debbugs-Envelope-To: 53580
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Attila Lendvai <attila@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

This is a multi-part message in MIME format.

--b1_nlawUfAVVjoQ4FKi9yxoftWEhmpCWK2iKromvKCD0A
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: base64

aSBmb3Jnb3QgdG8gYWRkIHRoYXQgaSdtIHdvcmtpbmcgb24gYSBzaGVwaGVyZCBzZXJ2aWNlLCBh
bmQgdGhpcyBtYXkgYmUgZHVlIHRvIGVycm9ycyBpbiB0aGUgc2VydmljZSdzIHVzZXIgY29kZSwg
bGlrZSB0aGUgc3RhcnQgZ2V4cC4=

--b1_nlawUfAVVjoQ4FKi9yxoftWEhmpCWK2iKromvKCD0A
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: base64

PGRpdiBzdHlsZT0iZm9udC1mYW1pbHk6IGFyaWFsOyBmb250LXNpemU6IDE0cHg7Ij48ZGl2IHN0
eWxlPSJmb250LWZhbWlseTogYXJpYWw7IGZvbnQtc2l6ZTogMTRweDsiPmkgZm9yZ290IHRvIGFk
ZCB0aGF0IGknbSB3b3JraW5nIG9uIGEgc2hlcGhlcmQgc2VydmljZSwgYW5kIHRoaXMgbWF5IGJl
IGR1ZSB0byBlcnJvcnMgaW4gdGhlIHNlcnZpY2UncyB1c2VyIGNvZGUsIGxpa2UgdGhlIHN0YXJ0
IGdleHAuPGJyPjwvZGl2PjxkaXY+PGJyPjwvZGl2PjwvZGl2Pg==


--b1_nlawUfAVVjoQ4FKi9yxoftWEhmpCWK2iKromvKCD0A--





Information forwarded to bug-guix@HIDDEN:
bug#53580; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 27 Jan 2022 11:33:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 27 06:33:16 2022
Received: from localhost ([127.0.0.1]:54513 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nD31g-0005qr-Fu
	for submit <at> 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 <attila@HIDDEN>) id 1nD31b-0005qd-Ah
 for submit <at> 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 <attila@HIDDEN>)
 id 1nD31T-0006MK-Hq
 for bug-guix@HIDDEN; 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 <attila@HIDDEN>)
 id 1nD31N-00014V-Fg
 for bug-guix@HIDDEN; 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==
To: "bug-guix@HIDDEN" <bug-guix@HIDDEN>
From: Attila Lendvai <attila@HIDDEN>
Subject: /var/run/shepherd/socket is missing on an otherwise functional system
Message-ID: <BNbiqHqu6jP5GgHIZ0AMLhBo1O4baZdy21bgcUmGS1GqxOKnCHG_5uzzedymxwQsSFtL5gSw9Bppr1FXPoHDqIiKfe5K720Wb9Jivbsr_z4=@lendvai.name>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no
 autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
Received-SPF: pass client-ip=185.70.43.23; envelope-from=attila@HIDDEN;
 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-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Attila Lendvai <attila@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

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)





Acknowledgement sent to Attila Lendvai <attila@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#53580; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 1 Feb 2022 11:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.