From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id SLlTBb81QmCqQAAA0tVLHw (envelope-from ) for ; Fri, 05 Mar 2021 13:44:31 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id +I4TAb81QmDiLgAAB5/wlQ (envelope-from ) for ; Fri, 05 Mar 2021 13:44:31 +0000 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 0691F16F0C for ; Fri, 5 Mar 2021 14:44:29 +0100 (CET) Received: from localhost ([::1]:60282 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lIAkl-0003OV-U4 for larch@yhetil.org; Fri, 05 Mar 2021 08:44:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:32814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lIAkM-0003N9-NA for bug-guix@gnu.org; Fri, 05 Mar 2021 08:44:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49953) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lIAkM-0001Bd-GA for bug-guix@gnu.org; Fri, 05 Mar 2021 08:44:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lIAkM-0005M4-EA for bug-guix@gnu.org; Fri, 05 Mar 2021 08:44:02 -0500 X-Loop: help-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 Resent-From: david larsson Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 05 Mar 2021 13:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45599 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 45599-submit@debbugs.gnu.org id=B45599.161495183320562 (code B ref 45599); Fri, 05 Mar 2021 13:44:02 +0000 Received: (at 45599) by debbugs.gnu.org; 5 Mar 2021 13:43:53 +0000 Received: from localhost ([127.0.0.1]:33266 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lIAkD-0005La-9M for submit@debbugs.gnu.org; Fri, 05 Mar 2021 08:43:53 -0500 Received: from server0.selfhosted.xyz ([217.64.149.7]:34104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lIAkB-0005LJ-0U for 45599@debbugs.gnu.org; Fri, 05 Mar 2021 08:43:52 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=selfhosted.xyz; s=dkim; t=1614951824; bh=RahHyrbf1FkYjuUxzmR8kgwtu0e/Q+IORlYhjnrIFEU=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=EotPku5IST3GLOo5tIUqsoyMw91LmOT5T2+fh37v5S4NXE2AC4b85xbKPr+ja9Gcs OWCt4I4LJWVE91j8PG/ETSsGOk3Ph+Nwe/Jb+dIGxvskXQCizukVajMbXkFQTC6S6u B4ZvqgyJZroOK3f80y/pRbgKCLj0Jo4uOBM3QD9P/EnkvJnG3/T90naIqsLdkaLMZp xv6QKozfwp0s90Qe6fZnAlHy75mN5odJFHPxlJFc/N6CIyA6Zy3KcvatI3rGM7QY1+ evYhRIQlCSoTejaEAZAWoRPKMajFShzBUWaYMFszoWc8XVr00AMESu5Ss+lYfhzIif QB7Zh+/eqK7kA== X-Fuglu-Suspect: 60bc9ba21edd46b8affb2b5b722fd0d9 X-Fuglu-Spamstatus: NO Received: from [127.0.0.1] (localhost [127.0.0.1]) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Fri, 05 Mar 2021 14:43:37 +0100 From: david larsson In-Reply-To: <8735xbp9gl.fsf@gnu.org> References: <3074bf88649cfd70823e7993f76460f6@selfhosted.xyz> <8735xbp9gl.fsf@gnu.org> Message-ID: <6b7c63b9fd5d9070bd66049d8c795e32@selfhosted.xyz> X-Sender: david.larsson@selfhosted.xyz 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: , Cc: bug-Guix , 45599@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.26 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=selfhosted.xyz header.s=dkim header.b=EotPku5I; dmarc=fail reason="SPF not aligned (relaxed)" header.from=selfhosted.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 0691F16F0C X-Spam-Score: -1.26 X-Migadu-Scanner: scn0.migadu.com X-TUID: cyrdmq4zUPr7 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 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