X-Loop: help-debbugs@HIDDEN
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 <david.larsson@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Fri, 01 Jan 2021 17:03:02 +0000
Resent-Message-ID: <handler.45599.B.160952054529641 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 45599
X-GNU-PR-Package: guix
X-GNU-PR-Keywords:
To: 45599 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guix@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.160952054529641
(code B ref -1); Fri, 01 Jan 2021 17:03:02 +0000
Received: (at submit) by debbugs.gnu.org; 1 Jan 2021 17:02:25 +0000
Received: from localhost ([127.0.0.1]:34658 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1kvNon-0007i1-5b
for submit <at> debbugs.gnu.org; Fri, 01 Jan 2021 12:02:25 -0500
Received: from lists.gnu.org ([209.51.188.17]:47480)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <david.larsson@HIDDEN>) id 1kvNol-0007hu-TL
for submit <at> debbugs.gnu.org; Fri, 01 Jan 2021 12:02:24 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:42998)
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <david.larsson@HIDDEN>)
id 1kvNok-0000zN-1M
for bug-guix@HIDDEN; Fri, 01 Jan 2021 12:02:23 -0500
Received: from server0.selfhosted.xyz ([217.64.149.7]:37362)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <david.larsson@HIDDEN>)
id 1kvNog-0002zV-SU
for bug-guix@HIDDEN; Fri, 01 Jan 2021 12:02:21 -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=1609520528;
bh=wylJOecER2tWxWNOTCtF8T8rsgoLbw7tFoDZWBZp/qI=;
h=Date:From:To:Subject;
b=qkWSHKkI7/mhyqulwgHpucQQ3/ucfZ5XuxrVN7m1IwHSoodxiX5bWi+/8gdfAxKc4
fsPBfzDltE6+A7lbmiqbwhmv9E1YjRYKzF9gKfe7b64cv1ARAEy7BqpYYIWTIp5/tC
hr1868/rS23ldo/ohbkNCu1M83BRGEu9x7etfy41EJ9x4LP+AuHCqdqdIUPgWKetV/
yOP1WP0H3kciHy8bOz849ilXXajHIKLYoQ6C50PAmFDM1Ls6ftYvOH3KR9iIZTT796
6ecW3bcQ1hQadkYE77Vo9/D3DNmX4sMbz0vI3ROgSLyZbvg5pDrrjsxtRpuyL87kr+
G/hIpmzJyPlog==
X-Fuglu-Suspect: a94d0684044d47969cd0daea3a554f1b
X-Fuglu-Spamstatus: NO
Received: from [127.0.0.1] (localhost [127.0.0.1])
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII;
format=flowed
Content-Transfer-Encoding: 7bit
Date: Fri, 01 Jan 2021 18:02:01 +0100
From: david larsson <david.larsson@HIDDEN>
Message-ID: <3074bf88649cfd70823e7993f76460f6@HIDDEN>
X-Sender: david.larsson@HIDDEN
Received-SPF: pass client-ip=217.64.149.7;
envelope-from=david.larsson@HIDDEN; helo=server0.selfhosted.xyz
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,
FROM_SUSPICIOUS_NTLD=0.272, FROM_SUSPICIOUS_NTLD_FP=0.001,
PDS_OTHER_BAD_TLD=1.999, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
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: -0.1 (/)
Hi!
using guix to install packages from inside a container that runs on
foreign distro breaks guix and the foreign distro, see below:
Steps to reproduce:
The below system was instantiated witg guix system container
this_file.scm --network
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
guix package: warning: Consider running 'guix pull' followed by
'guix package -u' to get up-to-date packages and security updates.
The following package will be installed:
hello 2.10
substitute: updating substitutes from 'https://ci.guix.gnu.org'...
100.0%
13.0 MB will be downloaded
substitute: updating substitutes from 'https://ci.guix.gnu.org'...
100.0%
downloading from
https://ci.guix.gnu.org/nar/lzip/z7a6sbvqzb5zapwpznmjkq2rsxil6i67-glibc-utf8-locales-2.31
...
glibc-utf8-locales-2.31 376KiB 1.0MiB/s 00:00
[##################] 100.0%
downloading from
https://ci.guix.gnu.org/nar/lzip/mmhimfwmmidf09jw1plw3aw1g1zn2nkh-bash-static-5.0.16
...
bash-static-5.0.16 625KiB 1.5MiB/s 00:00
[##################] 100.0%
downloading from
https://ci.guix.gnu.org/nar/lzip/q0s3bi0by383cqzl9zz1wf74p6pdl3fc-libx11-1.6.A-doc
...
libx11-1.6.A-doc 1.2MiB 1.6MiB/s 00:01
[##################] 100.0%
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
david@l560:~/VirtualHome/src$
-----------------------
As you can see, guix is now broken on both the host and guest system.
-----------------------
;; guix system container /path/to/this/file.scm --network
;; don't forget --network
(use-modules (gnu) (gnu system nss) (gnu packages))
(use-service-modules networking ssh desktop spice cuirass
virtualization)
(use-package-modules screen ssh gnome certs bash)
(define %cuirass-specs
#~(
;; spec two
list
'((#:name . "my-pkgs")
(#:load-path-inputs . ("guix"))
(#:package-path-inputs . ("my-guix-packages"))
(#:proc-input . "guix")
(#:proc-file . "build-aux/cuirass/gnu-system.scm")
(#:proc . cuirass-jobs)
(#:proc-args .
((subset . "manifests")
(systems . ("x86_64-linux"))
(manifests . (("config" . "manifests/user1.scm")))
))
(#:inputs . (
((#:name . "guix")
(#:url . "git://git.savannah.gnu.org/guix.git")
(#:load-path . ".")
(#:branch . "master")
(#:no-compile? . #t))
((#:name . "my-guix-packages")
;;(#:url . "file:///home/cuirass/my-guix-packages")
(#:url .
"https://github.com/methuselah-0/my-guix-packages.git")
(#:load-path . "packages")
(#:branch . "master")
(#:no-compile? . #t))
((#:name . "config")
;;(#:url .
"file:///home/cuirass/my-guixsd-config.sh")
(#:url .
"https://github.com/methuselah-0/my-guixsd-config.sh.git")
(#:load-path . ".")
(#:branch . "master")
(#:no-compile? . #t))
))
(#:build-outputs . ()))))
(operating-system
(host-name "MinimalCuirass")
(timezone "Europe/Stockholm")
(bootloader (bootloader-configuration
(bootloader grub-bootloader)))
(file-systems
(cons (file-system
(device (file-system-label "fsroot"))
(mount-point "/")
(type "btrfs"))
%base-file-systems))
(services (append (list
(service openssh-service-type
(openssh-configuration
(port-number 2222)
(permit-root-login 'without-password)
(authorized-keys
`(("root" ,(local-file
"/home/david/.ssh/id_rsa.pub"))))))
;;
https://lists.gnu.org/archive/html/help-guix/2019-06/msg00116.html
(service cuirass-service-type
(cuirass-configuration
(interval 60) ;; 10 hours
(fallback? #f) ;; default is #f
(host "0.0.0.0")
(port 8082)
(use-substitutes? #t)
(specifications %cuirass-specs))))
%base-services)))
-------------------
Best regards,
David Larsson
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: david larsson <david.larsson@HIDDEN> Subject: bug#45599: Acknowledgement (using guix to install packages from inside a container that runs on foreign distro breaks guix and the foreign distro) Message-ID: <handler.45599.B.160952054529641.ack <at> debbugs.gnu.org> References: <3074bf88649cfd70823e7993f76460f6@HIDDEN> X-Gnu-PR-Message: ack 45599 X-Gnu-PR-Package: guix Reply-To: 45599 <at> debbugs.gnu.org Date: Fri, 01 Jan 2021 17:03:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 45599 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 45599: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D45599 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN
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 <david.larsson@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Fri, 01 Jan 2021 17:45:02 +0000
Resent-Message-ID: <handler.45599.B45599.16095230571207 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 45599
X-GNU-PR-Package: guix
X-GNU-PR-Keywords:
To: 45599 <at> debbugs.gnu.org
Cc: bug-Guix <bug-guix-bounces+someone=selfhosted.xyz@HIDDEN>
Received: via spool by 45599-submit <at> debbugs.gnu.org id=B45599.16095230571207
(code B ref 45599); Fri, 01 Jan 2021 17:45:02 +0000
Received: (at 45599) by debbugs.gnu.org; 1 Jan 2021 17:44:17 +0000
Received: from localhost ([127.0.0.1]:34736 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1kvOTJ-0000JP-7x
for submit <at> debbugs.gnu.org; Fri, 01 Jan 2021 12:44:17 -0500
Received: from server0.selfhosted.xyz ([217.64.149.7]:52606)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <david.larsson@HIDDEN>) id 1kvOTH-0000JC-SO
for 45599 <at> debbugs.gnu.org; Fri, 01 Jan 2021 12:44:16 -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=1609523049;
bh=xcR5q593xrMY5t7XSOfGL6AJ3iwxy4LcvXK47fE0ce4=;
h=Date:From:To:Cc:Subject:In-Reply-To:References;
b=selGXVafJXouiVy83EJEwr0kgqC0MYAL3SpI8wDFa4iDCFwL/k5Tpqy+I/bKLIITO
1mkUg2UbTV+mSvQKr3QYVVR0FXyQmeDoRTqgVrh+AOQPQa2nH1Ok5u2x4zc9fsERlH
317sZaZGupnZPPk95PPaLUISWInlH1dx9MZOAWyQAfZ/oixHZAQDlh+bUnrPvUmcZj
qPMs3dUBH+QeOi2LRmiMABrhNxFsseeOMcPAtz5tTTVcFubdkkO3NdcBd89Siq3pUS
Jyr2oVbnGez2h+8CjKvgIq4ALUC1e2R8OV+V3fyZXByRgGdZbxm23uhpQ6yrAg1UNc
s45Rf22chTuiQ==
X-Fuglu-Suspect: d3d6b49f2a744fca9b078bb6bcca78fd
X-Fuglu-Spamstatus: NO
Received: from [127.0.0.1] (localhost [127.0.0.1])
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII;
format=flowed
Content-Transfer-Encoding: 7bit
Date: Fri, 01 Jan 2021 18:44:02 +0100
From: david larsson <david.larsson@HIDDEN>
In-Reply-To: <3074bf88649cfd70823e7993f76460f6@HIDDEN>
References: <3074bf88649cfd70823e7993f76460f6@HIDDEN>
Message-ID: <9aaa05cf94bf2eb6f3ed18b9fd189f37@HIDDEN>
X-Sender: david.larsson@HIDDEN
X-Spam-Score: -0.0 (/)
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: -0.0 (/)
> -----------------------
>
> As you can see, guix is now broken on both the host and guest system.
>
By the way, WARNING: when i say breaking the foreign distro, I mean
breaking not only guix - everytime I tried this I have been unable to
login to the system again after a logout. I have tried this on Debian
GNU/Linux 9 inside a VM which is snapshotted so I can restore it.
Best regards,
David
X-Loop: help-debbugs@HIDDEN
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: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Thu, 04 Mar 2021 09:15:01 +0000
Resent-Message-ID: <handler.45599.B45599.161484925615941 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 45599
X-GNU-PR-Package: guix
X-GNU-PR-Keywords:
To: david larsson <david.larsson@HIDDEN>
Cc: 45599 <at> debbugs.gnu.org
Received: via spool by 45599-submit <at> debbugs.gnu.org id=B45599.161484925615941
(code B ref 45599); Thu, 04 Mar 2021 09:15:01 +0000
Received: (at 45599) by debbugs.gnu.org; 4 Mar 2021 09:14:16 +0000
Received: from localhost ([127.0.0.1]:57685 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1lHk3k-000493-AM
for submit <at> debbugs.gnu.org; Thu, 04 Mar 2021 04:14:16 -0500
Received: from eggs.gnu.org ([209.51.188.92]:46566)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <ludo@HIDDEN>) id 1lHk3h-00048m-Ak
for 45599 <at> debbugs.gnu.org; Thu, 04 Mar 2021 04:14:14 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:55503)
by eggs.gnu.org with esmtp (Exim 4.90_1)
(envelope-from <ludo@HIDDEN>)
id 1lHk3Z-0006fT-92; Thu, 04 Mar 2021 04:14:05 -0500
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=40544 helo=ribbon)
by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
(Exim 4.82) (envelope-from <ludo@HIDDEN>)
id 1lHk3Y-00030G-O1; Thu, 04 Mar 2021 04:14:05 -0500
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
References: <3074bf88649cfd70823e7993f76460f6@HIDDEN>
Date: Thu, 04 Mar 2021 10:14:02 +0100
In-Reply-To: <3074bf88649cfd70823e7993f76460f6@HIDDEN> (david
larsson's message of "Fri, 01 Jan 2021 18:02:01 +0100")
Message-ID: <8735xbp9gl.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.0 (+)
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: 0.0 (/)
Hi David,
Looks like this bug report fell through the cracks of the turn of year=E2=
=80=A6
david larsson <david.larsson@HIDDEN> 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/gu=
ix=20
> 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=E2=80=99t 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=E2=80=99s wrong. I=E2=80=99ll =
also see if I
can try that in a VM.
Thanks,
Ludo=E2=80=99.
Received: (at control) by debbugs.gnu.org; 4 Mar 2021 09:14:21 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 04 04:14:21 2021 Received: from localhost ([127.0.0.1]:57689 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lHk3p-00049P-Hy for submit <at> debbugs.gnu.org; Thu, 04 Mar 2021 04:14:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1lHk3o-000491-Hk for control <at> debbugs.gnu.org; Thu, 04 Mar 2021 04:14:20 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55509) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1lHk3j-0006k9-Dg for control <at> debbugs.gnu.org; Thu, 04 Mar 2021 04:14:15 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=40548 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1lHk3i-00031x-UL for control <at> debbugs.gnu.org; Thu, 04 Mar 2021 04:14:15 -0500 Date: Thu, 04 Mar 2021 10:14:13 +0100 Message-Id: <871rcvp9ga.fsf@HIDDEN> To: control <at> debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> Subject: control message for bug #45599 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control 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.7 (-) severity 45599 important quit
X-Loop: help-debbugs@HIDDEN
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 <david.larsson@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Fri, 05 Mar 2021 13:44:02 +0000
Resent-Message-ID: <handler.45599.B45599.161495183320562 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 45599
X-GNU-PR-Package: guix
X-GNU-PR-Keywords:
To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Cc: bug-Guix <bug-guix-bounces+someone=selfhosted.xyz@HIDDEN>, 45599 <at> debbugs.gnu.org
Received: via spool by 45599-submit <at> 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 <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1lIAkD-0005La-9M
for submit <at> 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 <david.larsson@HIDDEN>) id 1lIAkB-0005LJ-0U
for 45599 <at> 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 <david.larsson@HIDDEN>
In-Reply-To: <8735xbp9gl.fsf@HIDDEN>
References: <3074bf88649cfd70823e7993f76460f6@HIDDEN>
<8735xbp9gl.fsf@HIDDEN>
Message-ID: <6b7c63b9fd5d9070bd66049d8c795e32@HIDDEN>
X-Sender: david.larsson@HIDDEN
X-Spam-Score: -0.1 (/)
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: -0.1 (/)
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@HIDDEN> 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
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.