unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: david larsson <david.larsson@selfhosted.xyz>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: bug-Guix <bug-guix-bounces+someone=selfhosted.xyz@gnu.org>,
	45599@debbugs.gnu.org
Subject: bug#45599: using guix to install packages from inside a container that runs on foreign distro breaks guix and the foreign distro
Date: Fri, 05 Mar 2021 14:43:37 +0100	[thread overview]
Message-ID: <6b7c63b9fd5d9070bd66049d8c795e32@selfhosted.xyz> (raw)
In-Reply-To: <8735xbp9gl.fsf@gnu.org>

On 2021-03-04 10:14, Ludovic Courtès wrote:
> Hi David,
> 
> Looks like this bug report fell through the cracks of the turn of year…
> 
> david larsson <david.larsson@selfhosted.xyz> skribis:
> 
>> upon starting it with sudo /gnu/store/asdfasdfasdf-run-container
>> 
>> 
>> and connecting to it with
>> 
>> sudo guix container exec 8625 /run/current-system/profile/bin/bash
>> --login
>> [sudo] password for david:
>> root@MinimalSSH /#
>> root@MinimalSSH /#
>> root@MinimalSSH /# guix package -i hello
> 
> [...]
> 
>> error: executing
>> `/gnu/store/qyjhy4bkz51jyspi63llfznsnz7vibzy-guix-1.1.0-30.875c01f/bin/guix
>> substitute': No such file or directory
>> guix package: error: unexpected EOF reading a line
>> root@MinimalSSH /#
>> root@MinimalSSH /# exit
>> logout
>> guix container: error: exec failed with status 1
>> david@l560:~/VirtualHome/src$ guix package -i hello
>> bash: /usr/local/bin/guix:
>> /gnu/store/b7rixb64yp00znz0d5rwd5zzklwzlzmv-guile-wrapper/bin/guile:
>> bad interpreter: No such file or directory
> 
> It looks as though the store item for Guix or Guile used on the host 
> had
> been suddenly wiped, even though we don’t see any GC activity or
> similar.
> 
>> As you can see, guix is now broken on both the host and guest system.
> 
> Were you able to better see what was broken?  Is it that store items
> were removed?  Are there issues with non-Guix files?  It would be great
> if you could gather more details as to what’s wrong.  I’ll also see if 
> I
> can try that in a VM.

No, unfortunately I couldn't find any reason. I repeated it a few times 
with the same results but I no longer have access to the VM I tested 
this on so I can't help with more details, sorry :/

If it does not happen when you try it (if you do), I would be glad to 
hear about so I can call this a fluke and attribute the bug to special 
unknown circumstances with the particular host system I used.


Best regards,
David




      reply	other threads:[~2021-03-05 13:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-01 17:02 bug#45599: using guix to install packages from inside a container that runs on foreign distro breaks guix and the foreign distro david larsson
2021-01-01 17:44 ` david larsson
2021-03-04  9:14 ` Ludovic Courtès
2021-03-05 13:43   ` david larsson [this message]

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=6b7c63b9fd5d9070bd66049d8c795e32@selfhosted.xyz \
    --to=david.larsson@selfhosted.xyz \
    --cc=45599@debbugs.gnu.org \
    --cc=bug-guix-bounces+someone=selfhosted.xyz@gnu.org \
    --cc=ludo@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).