unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: Jan Nieuwenhuizen <janneke@gnu.org>
Cc: Guix Devel <guix-devel@gnu.org>
Subject: Re: [BLOG] Childhurds and GNU/Hurd substitutes
Date: Wed, 14 Oct 2020 22:31:05 +0200	[thread overview]
Message-ID: <CAJ3okZ10FGnULSEbPN-nXQoYsZ_jM4_A5VZNvzHiqgUHjQjDPA@mail.gmail.com> (raw)
In-Reply-To: <87lfg8evx0.fsf@gnu.org>

Dear Janneke,

Thank you for the help!  I have fun. :-)


On Wed, 14 Oct 2020 at 16:15, Jan Nieuwenhuizen <janneke@gnu.org> wrote:

> > Using this command line (from gnu/system/examples/bare-hurd.tmpl):
> >
> >     guix environment --ad-hoc qemu \
> >          -- qemu-system-i386 -enable-kvm -m 512  \
> >           -device rtl8139,netdev=net0 -netdev user,id=net0,hostfwd=tcp:127.0.0.1:10022-:2222 \
> >          -snapshot -hda \
> >          $(guix system disk-image -t hurd-raw bare-hurd.tmpl)
> >
> > it is telling me that the ’ssh’ service is not started.  Therefore,
> >
> >     ssh -p 10022 root@localhost
> >     ssh: connect to host localhost port 10022: Connection refused
> >
> > What do I miss?
>
> I have no idea.  This exact command works for me.  Maybe you had bad
> luck/try again?  Does `herd start ssh' work after you login as root?
>
> It could be that your "bad luck" comes from qemu networking -- maybe you
> could try running your foreign distro's qemu instead of guix's?

I do not know if it was bad luck or if "herd start ssh" does the trick
but here we go! \o/

--8<---------------cut here---------------start------------->8---
$ ssh -p 10022 root@localhost
The authenticity of host '[localhost]:10022 ([127.0.0.1]:10022)' can't
be established.
ECDSA key fingerprint is SHA256:iETZ8thOyFqk+35g02tRW9FRzLqilgYYlxWr/9xn/kI.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[localhost]:10022' (ECDSA) to the list of
known hosts.


  This is the GNU Hurd.  Welcome.
--8<---------------cut here---------------end--------------->8---

Thank you.


> > Last, I am confused:
> >
> >    debian$ guix build hello --target=i586-pc-gnu hello
> >    /gnu/store/09sz4qsqp3zgnbaxhzppspaxihwmfzll-hello-2.10

[..]

> It's tricky; --target is != --system: --target is a cross-build.  IOW,
> --system => (%current-system), --target => (%current-target-system).
>
> So,
>
>     guix build hello --system=i586-gnu hello
>
> should give the identical hash.

What is the target?  i586-pc-gnu or i586-gnu?  The blog post mentions
'i586-pc-gnu' at the beginning and then 'i586-gnu'.  I suppose it is
'i586-gnu' since using this target produces the expected hash.
What do I miss?


All the best,
simon


  reply	other threads:[~2020-10-14 20:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-08 13:34 [BLOG] Childhurds and GNU/Hurd substitutes Jan Nieuwenhuizen
2020-10-08 15:27 ` Tanguy Le Carrour
2020-10-14  9:47 ` zimoun
2020-10-14 14:15   ` Jan Nieuwenhuizen
2020-10-14 20:31     ` zimoun [this message]
2020-10-14 20:57       ` Jan Nieuwenhuizen
2020-10-14 21:17         ` zimoun
2020-10-15  7:13       ` Tanguy Le Carrour

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJ3okZ10FGnULSEbPN-nXQoYsZ_jM4_A5VZNvzHiqgUHjQjDPA@mail.gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=janneke@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).