From unknown Sun Jun 22 08:05:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50477: herd can't connect to socket on GNU/Hurd: Connection refused Resent-From: Akib Azmain Turja Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 08 Sep 2021 14:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50477 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: help-guix@gnu.org, 50477@debbugs.gnu.org X-Debbugs-Original-To: help-guix@gnu.org, bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163111280330810 (code B ref -1); Wed, 08 Sep 2021 14:54:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 Sep 2021 14:53:23 +0000 Received: from localhost ([127.0.0.1]:33285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNyx0-00080r-CP for submit@debbugs.gnu.org; Wed, 08 Sep 2021 10:53:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:40326) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNtGZ-0001KZ-Oc for submit@debbugs.gnu.org; Wed, 08 Sep 2021 04:49:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52382) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNtGY-0008NM-GK; Wed, 08 Sep 2021 04:49:10 -0400 Received: from knopi.disroot.org ([178.21.23.139]:44984) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNtGW-0006fM-Ly; Wed, 08 Sep 2021 04:49:10 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id A827366600; Wed, 8 Sep 2021 10:49:05 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1qb6Gt1dD9gU; Wed, 8 Sep 2021 10:49:04 +0200 (CEST) From: Akib Azmain Turja DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1631090944; bh=F++jUsqfiH4PXz+mAf5ilmR88hrcY8tBrtdDFHuN7Mc=; h=From:To:Subject:Date; b=DG7WIfOQNSb8cI3w9zOtX18GhrfeCwpkqnB4sIFnmjy1bsXKkxeUqfP3Z9Tq3+/nw JI8QpTblPV358I01n3ah1lVE1IGrSDCeTcHQqOIf2+ZnCsbjmTeklcrMjlSfhdf7ND RW1dXcWRBPW8+I6PcoLT2fvXz9prQREXA253DYih+BNqY+xPWsGlZhje6+UYkWE1Hx H5ByklzH6WXhtvjb5vorGufgXIpiCxn9jJQ97IE658x5/Zd6u3zXvxbVOaCm5HQD7r GQljpR+Nti2tA70EofabgGuiojqGbjwdDUixbtzs808RBx3pzPt8vcArrrKRlEsOOX cNbARii3bT5ew== Date: Wed, 08 Sep 2021 14:48:56 +0600 Message-ID: <875yvb5u6f.fsf@disroot.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=178.21.23.139; envelope-from=akib@disroot.org; helo=knopi.disroot.org 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_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) X-Mailman-Approved-At: Wed, 08 Sep 2021 10:53:20 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I've downloaded latest QEMU image from build servers (build details: https://ci.guix.gnu.org/build/618573/details). Then I booted it with libvirtd on my Guix System on GNU/Linux. It booted and the login shell appeared. I logined as root without password and tried to install GNU Hello (just to make sure everything is working). It failed due to network problems, although my host machine was connected to the internet. Then I tried to ping GNU server: root@guixygnu ~# ping gnu.org But no output appeared, not even an error message! I checked the return status immediately: root@guixygnu ~# echo $? 1 Then I tried ping localhost, but again it returned 1 without any output. Then tried to see the available interfaces, but this too failed: root@guixygnu ~# ifconfig ifconfig: could not get list of interfaces Then I booted again with QEMU directly with: $ qemu-system-i386 -m 512 -snapshot -hda Again, I face the same problem. However, this time I noticed a message from settrans saying "settrans: /servers/socket/1: Device or resource busy", a message saying the disk is mounted as read-only, (probably) an error message from fsck showing it's usage, some warnings from Guile saying "WARNING: (guile-user): imported module (guix build utils) overrides core binding `delete'", the following messages during boot: failed to start service: loopback failed to start service: networking failed to start service: ssh-daemon failed to start service: ssh failed to start service: sshd Followed by an incomplete backtrace: Backtrace: 3 (primitive-load "/gnu/store/n9glgyqlb30wjxia0zcx71x9zw9?") In shepherd.scm: I saw many other messages, but I didn't get the time to read and copy it. Then I tried to check the status of loopback service: root@guixygnu ~# herd status loopback error: connect: /var/run/shepherd/socket: Connection refused Can someone help me with this issue? The QEMU image is almost unusable without networking. Note: all commands and their outputs are copied by hand. =2D- Akib Azmain Turja This message is signed by me with my GnuPG key. It's fingerprint is: 7001 8CE5 819F 17A3 BBA6 66AF E74F 0EFA 922A E7F5 Get it with: gpg --recv-keys 70018CE5819F17A3BBA666AFE74F0EFA922AE7F5 See https://emailselfdefense.fsf.org/ to learn more and protect your emails and yourself from surveillance. Please send me encrypted messages whenever possible. Never send me Microsoft Office attachments, they use secret proprietary format so I'll fail to read and trash them; send them in plain text if possible or in formats like ODF and PDF if your document contains images or videos. See http://www.gnu.org/philosophy/no-word-attachments.html to learn more. Please don't send HTML emails, use plain text. HTML emails are usually vulnerable, about thousand times larger than plain text and look ugly to me. They contain trackers, so whenever someone opens a messsage he is tracked by third-party. See http://www.asciiribbon.org to learn more. () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEyVTKmrtL6kNBe3FRVTX89U2IYWsFAmE4ePkACgkQVTX89U2I YWvC7w/+PCgqsYFJV1WxyX9goXaABKgBRHyr91ZJ3mdkL0fN0WkJK8fhoCikUB15 SYD//hjlso1qtiG1CVkl00CpIPlxEgi+MjZKsvyjN77Ku7XE/eds5mmXWE0asRNe 6IB81vcq+8w+h4q+SURvYcMuQNTu+OpjQ5Zi0yP1w/p1uDV0GmgmC+grAqlTUGFD yWAglhwt4vm05eUOChjtqvNr6STolrPJo0Js8bw+eB/NGPYpz1nh6+HP4WnXgBNn Za1AZKPsWiwTuSTheGmteL6YYO1+2utmAkaTQeYgVyQaZL+Vv8912+9Cs+400gfV Euz9fU9VHdQAfCBoceWpH7UwyjzBmfCtnWD8lGqraH/s7eBji2f7MpWu1yXnZh4Z +buAW3Drlpuq/th4kj1XfsCdXXAHUnqBwdQslr5f67jOQYiABfx2urgq8wZhR5j3 jcLVnZMZK69CKf7sStrd807P0V9hdghXNhUP0jKZbCQU5Yq0T/SXaqoJNhBATh+e FUjI2AM7S6q9ujEAEO8MRSspNfCOqbFC4+59bCxSfut0pcJC6jtNpASsVvoKFgfP 87sZUVf1i2OwADpPzH90eFYufPI1Vg0pQJ6eGgTxtOAp2OH5g7IWvhWk7YI1s6vq Hj9+U8XPmrRTdYxc5mobTFCkJg/gPRzS6+Y33nKly3kWh1uekmM= =aWRq -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Jun 22 08:05:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50477: herd can't connect to socket on GNU/Hurd: Connection refused References: <875yvb5u6f.fsf@disroot.org> In-Reply-To: <875yvb5u6f.fsf@disroot.org> Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 12 Jul 2022 18:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50477 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 50477@debbugs.gnu.org Received: via spool by 50477-submit@debbugs.gnu.org id=B50477.165765218113488 (code B ref 50477); Tue, 12 Jul 2022 18:57:01 +0000 Received: (at 50477) by debbugs.gnu.org; 12 Jul 2022 18:56:21 +0000 Received: from localhost ([127.0.0.1]:43648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBL3U-0003VU-Qw for submit@debbugs.gnu.org; Tue, 12 Jul 2022 14:56:21 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21135) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBL3T-0003VM-Hx for 50477@debbugs.gnu.org; Tue, 12 Jul 2022 14:56:20 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1657652177; cv=none; d=zohomail.com; s=zohoarc; b=nzCFDrdEW9J32+TY3RhgQ6N8iDmPZdZybzOi9nbaQaPcGYT0FUSm080rsTPYtuCvf5QIWiLpcZemWNZ9Gzm3OcOWACrihry8QZCLKsAMgOBAZ4Sz8YjZAD8e0eBvYRxjDv7khtJNMI1li+P9b7cjLB9Li/xKV0AWowk5/67eHDM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1657652177; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To; bh=X/WAOLL4oI3r+lsIwKyU7LUUjfUfS3yI3ChU+Kilsiw=; b=TIrmYj9Mf3EtyFKF13d7qzpbkjTZECN8/xqTYVsY4DF+jKJURL+V6LrHPbzbOs37Zr2FV7TkoizwIGVhJYGqsdrGN1G/m8L48NLAwcymWtIPHeH/tqBbSnJS03nBqSAqrFTF/Bwrv8Q9PB9wvS+2WjrKwVhrZwCSj4Alhwc9BLQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1657652177; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:From:To:To:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To:Cc; bh=X/WAOLL4oI3r+lsIwKyU7LUUjfUfS3yI3ChU+Kilsiw=; b=KY+HUX4oBO7WlxtqyYBzsJQ6CeJl5IVHwgskGANW5hO6GpoPUbLQe1Qu2OS5aE9/ roVMDzgsw4yx1bivfmiXhIclwD+b23QokMKcAwj/Z3ClJ7/WZl+UdSAL1rABV+Na9u4 ZefUnw9GcrPGe6yOA2ald5Ie9aybrav8YgFhQB6Y= Received: from localhost (158-108-142-46.pool.kielnet.net [46.142.108.158]) by mx.zohomail.com with SMTPS id 1657652175859848.2253552443196; Tue, 12 Jul 2022 11:56:15 -0700 (PDT) User-agent: mu4e 1.6.11; emacs 28.1 From: Ricardo Wurmus Date: Tue, 12 Jul 2022 20:53:15 +0200 X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <87h73mxir6.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, ping not working inside qemu is a frequently encountered problem. See also the Hurd wiki: [=E2=80=A6] note that ping doesn't work with QEMU's user-networking stack. https://www.gnu.org/software/hurd/hurd/running/qemu.html > root@guixygnu ~# herd status loopback > error: connect: /var/run/shepherd/socket: Connection refused This means that shepherd isn=E2=80=99t running. Can you reliably reproduce this? As it is this bug report does not contain enough information to be actionable as we cannot easily reproduce the problem. Could you please provide more information? Otherwise I=E2=80=99d like to close it. Thank you! --=20 Ricardo From unknown Sun Jun 22 08:05:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50477: herd can't connect to socket on GNU/Hurd: Connection refused Resent-From: Akib Azmain Turja Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 13 Jul 2022 13:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50477 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ricardo Wurmus , 50477@debbugs.gnu.org Received: via spool by 50477-submit@debbugs.gnu.org id=B50477.165771930429568 (code B ref 50477); Wed, 13 Jul 2022 13:36:01 +0000 Received: (at 50477) by debbugs.gnu.org; 13 Jul 2022 13:35:04 +0000 Received: from localhost ([127.0.0.1]:45119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBcW8-0007gq-1x for submit@debbugs.gnu.org; Wed, 13 Jul 2022 09:35:04 -0400 Received: from knopi.disroot.org ([178.21.23.139]:37744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBcW6-0007gK-5t for 50477@debbugs.gnu.org; Wed, 13 Jul 2022 09:35:03 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 82DCF40DA7; Wed, 13 Jul 2022 15:35:00 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3OFkqmU-LJ-j; Wed, 13 Jul 2022 15:34:59 +0200 (CEST) From: Akib Azmain Turja DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1657719294; bh=TFXZJkFrZPF2hK87PwMLcnS9HmwqcLRPtAbveqw6L2U=; h=From:To:Subject:In-Reply-To:References:Date; b=UyRDxwbBEsl/w2s4Z1lQKisOmjh64xonWDCCEi5m4VloljD2Y21be2brDbusjms2O DPLal4Zj4oPDCQaNUKXttewxYI//CpiiULJtEMWqW0zHgN4Ym+Qtj/FkkXFrTkzkDC m3ByYjngw1/HKsSFWVZeL1b3MhqSROzPc1VKwKKtpBJLpE6eE7qLhHDn7rrqeVYohk hqqsrPRliqOjYKxF9KEOPl95IL+33IHdXS/tnajuVma+eiLfxEq/a8EC/8jYKvOesl GFkTSM3X72wqfN4OpPwo/Zy8Ula7UiNcjOrUYd2/uKNVji3hrQiym/PzniJkRBZkZN Yn0tN0LTdc8Ng== In-Reply-To: <87h73mxir6.fsf@elephly.net> References: <875yvb5u6f.fsf@disroot.org> <87h73mxir6.fsf@elephly.net> Date: Wed, 13 Jul 2022 19:34:37 +0600 Message-ID: <87edypyw42.fsf@disroot.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ricardo Wurmus writes: > Hi, > > ping not working inside qemu is a frequently encountered problem. See > also the Hurd wiki: > > [=E2=80=A6] note that ping doesn't work with QEMU's user-networking sta= ck. > > https://www.gnu.org/software/hurd/hurd/running/qemu.html Yes, it says so. But it's wrong, or the Debian's Hurd port was lying to me. On Debian, AFAIK ping works, I can't verify it right now, since my Debian GNU/Hurd image is corrupt. :( > >> root@guixygnu ~# herd status loopback >> error: connect: /var/run/shepherd/socket: Connection refused > > This means that shepherd isn=E2=80=99t running. Can you reliably reprodu= ce > this? Yes. > > As it is this bug report does not contain enough information to be > actionable as we cannot easily reproduce the problem. Could you please > provide more information? Otherwise I=E2=80=99d like to close it. Yes, it obviously lacks many information, because I didn't have them then. But now I have that information: 1. Get a fresh build of the disk image. I'm using 8gk0vdbvz50xc2irps4ijbjpsb2im6qk-hurd-barebones.qcow2, downloaded on 17th January 2022 (this year). 2. Boot with the following: =2D-8<---------------cut here---------------start------------->8--- qemu-system-i386 -m 1G -hda -device rtl8139,netdev=3Dnet0 \ -netdev user,id=3Dnet0,hostfwd=3Dtcp:127.0.0.1:10022-:2222 =2D-8<---------------cut here---------------end--------------->8--- 3. Login as root. 4. Test shepherd, it works. Everything works. 5. Reboot with "reboot" command. 6. Login as root again. 7. Test shepherd again, it no longer works, and it won't work ever. > > Thank you! > > --=20 > Ricardo > > > =2D-=20 Akib Azmain Turja This message is signed by me with my GnuPG key. It's fingerprint is: 7001 8CE5 819F 17A3 BBA6 66AF E74F 0EFA 922A E7F5 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEyVTKmrtL6kNBe3FRVTX89U2IYWsFAmLOye0ACgkQVTX89U2I YWukaw/+K0zpu51s1C6x/MqTC72lrws9Az7B1eW1/ogT4nF58Xj7yve47tZxZb9P ruXEtshOxglxyoOu8IpRhCMETR0yzHzP8uB4yRmyYiF1xFtgpan1DQushdUaXv3Z hngOcuR9XnMPvSSKEUVzMIN5sNovooLPyzSg45h2dj0GHbu3r3BeQwwYn0zoI4Kb p38lTxF/0yr3k7JM9+Dw9d9PTAHPiSCoc20fzjUyHoqHd1XZkSMSXtnSrGO8znsc SIvoP7X7tvyuk4R5PR2CwEKobkqF2+qQGv2fpMO5hgFqJS7v8dK3nN3dJQWJ8M2H b1MjfYpEUqujm4Sg95U/CIyqOhBhg0NKgBugKzC1akDXYS41lt7LY2ALfzMXRU1K gtpxEOM+jgtdWk9+M2WgPRHxbuJU7/syO0MddWW6q46ibcwa54tE80WxexemyuYD KmPrXTZgGF5HboiWQZRuPz7a83EWnKwQwV/gFP2IhIHDSl0IywrwkQt4mq5oyq7E Eydfe8GKOT+B98VrfpqdApYwq4kQC6qu4wbn5pokOcjIZ0zblAMnengPUkhcjCUi rf7QMuWYYxES6pMtQaxOCWgt0Iih+llOwe0p8/lH+LqAsFOPOi2chk+EUkPpmzBC hbKkmfV/a1SM9YWDo8KKRlzbeRr9BaLs1J1uBqeaQepbH9dD4uo= =yk3p -----END PGP SIGNATURE----- --=-=-=--