From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Subject: bug#36215: guix system docker-image fails when store items contain non-ascii characters Date: Sun, 16 Jun 2019 23:34:49 +0200 Message-ID: <20190616233449.001ce90d@alma-ubu> References: <20190614230506.1b05b540@alma-ubu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/WFozr_opHKQDiuLey1HmZef"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:40579) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hccno-00069q-Cz for bug-guix@gnu.org; Sun, 16 Jun 2019 17:35:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hccnn-0004PT-9f for bug-guix@gnu.org; Sun, 16 Jun 2019 17:35:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56289) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hccnn-0004PD-5W for bug-guix@gnu.org; Sun, 16 Jun 2019 17:35:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hccnn-0005wZ-1c for bug-guix@gnu.org; Sun, 16 Jun 2019 17:35:03 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20190614230506.1b05b540@alma-ubu> 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: 36215@debbugs.gnu.org --Sig_/WFozr_opHKQDiuLey1HmZef Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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-certs= -3.43/etc/ssl/certs/NetLock_Arany_=3DClass_Gold=3D_F??tan??s??tv??ny:2.6.73= .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-ho= c 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,mou= nt_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. Bj=C3=B6rn --Sig_/WFozr_opHKQDiuLey1HmZef Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQQiGUP0np8nb5SZM4K/KGy2WT5f/QUCXQa1+QAKCRC/KGy2WT5f /Qr/AKCXuRH7hICmLvBf6Ugwvg1ZzZNgswCcClHA26A37a90pSdCT10+DygPsw8= =koJx -----END PGP SIGNATURE----- --Sig_/WFozr_opHKQDiuLey1HmZef--