From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#36215: guix system docker-image fails when store items contain non-ascii characters Date: Mon, 17 Jun 2019 12:36:38 +0200 Message-ID: <87h88ozefd.fsf@gnu.org> References: <20190614230506.1b05b540@alma-ubu> <20190616233449.001ce90d@alma-ubu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:42472) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcp0a-0003Gb-CN for bug-guix@gnu.org; Mon, 17 Jun 2019 06:37:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hcp0Y-0001Gk-Ur for bug-guix@gnu.org; Mon, 17 Jun 2019 06:37:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56732) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hcp0Y-0001GW-Qd for bug-guix@gnu.org; Mon, 17 Jun 2019 06:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hcp0Y-0005Rz-NL for bug-guix@gnu.org; Mon, 17 Jun 2019 06:37:02 -0400 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <20190616233449.001ce90d@alma-ubu> ("=?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?="'s message of "Sun, 16 Jun 2019 23:34:49 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Cc: 36215-done@debbugs.gnu.org Hi Bj=C3=B6rn, Bj=C3=B6rn H=C3=B6fling skribis: > On Fri, 14 Jun 2019 23:05:06 +0200 > Bj=C3=B6rn H=C3=B6fling wrote: > >> qemu-system-x86_64: warning: hub 0 is not connected to host network > > [..] > >> ERROR: In procedure lstat: >> In procedure lstat: No such file or directory: >> "/guixsd-system-root/gnu/store/6w65nzbc3ah30y5kr4zx9rcgknpjr1f5-nss-cert= s-3.43/etc/ssl/certs/NetLock_Arany_=3DClass_Gold=3D_F??tan??s??tv??ny:2.6.7= 3.65.44.228.0.16.pem" >> ^MESC[Kregistering 177 items [ 152.952990] Kernel panic - not >> syncing: Attempted to kill init! exitcode=3D0x00000100 [ > > I looked a bit around the code, added some debugging outputs and found > out that finally in gnu/build/vm.scm in procedure load-in-linux-vm a > QEMU VM is started where the docker image will be created in. > > To test things, I entered a container with qemu-minimal: > > guix environment -N -C --share=3D/dev/kvm --share=3D/tmp/.X11-unix/ --ad-= hoc coreutils less findutils emacs qemu-minimal nss-certs > > And started an existing VM with the store being available over virtfs: > > [env] $ qemu-system-x86_64 -m 2048 -smp 2 \ > -boot menu=3Don \ > -drive file=3Dguixsd0.2018-02-19.qcow2 \ > -drive format=3Draw,file=3Dswap.img \ > -virtfs local,id=3Dstore_dev,path=3D/gnu/store,security_model=3Dnone,m= ount_tag=3Dstore > > In that machine, I mounted the fs: > > mount -t 9p -o trans=3Dvirtio store /mnt > > When I then looked at /mnt/...nss-certs.../..., the non-ascii > characters are looking all good. > > I think the encoding-problem is more in the script. Yes, it looks similar to what 9c941364bfc0120e3ab5c5c4cc71a9a302d59a2b fixed. Fixed in ed504cafa23c34bfa1823a4d5abf3ad55205484b. Thanks! Ludo=E2=80=99.