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#30667: 'guix system vm' must keep mount_tag-length limited below 32 bytes for --expose and --share Date: Thu, 1 Mar 2018 19:05:50 +0100 Message-ID: <20180301190550.4e403961@alma-ubu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/yf7KC+Xqq5XG+GoUtYnzykD"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49043) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1erSbh-0000mF-DT for bug-guix@gnu.org; Thu, 01 Mar 2018 13:07:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1erSbe-0005Z7-MO for bug-guix@gnu.org; Thu, 01 Mar 2018 13:07:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:59931) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1erSbe-0005Yz-IS for bug-guix@gnu.org; Thu, 01 Mar 2018 13:07:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1erSbe-0008H3-CZ for bug-guix@gnu.org; Thu, 01 Mar 2018 13:07:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48796) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1erSaa-0000Vx-HU for bug-guix@gnu.org; Thu, 01 Mar 2018 13:05:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1erSaX-0004g8-Qy for bug-guix@gnu.org; Thu, 01 Mar 2018 13:05:56 -0500 Received: from m4s11.vlinux.de ([83.151.27.109]:51519 helo=bjoernhoefling.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1erSaX-0004fD-Ig for bug-guix@gnu.org; Thu, 01 Mar 2018 13:05:53 -0500 Received: from alma-ubu (pD951FC9C.dip0.t-ipconnect.de [217.81.252.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by bjoernhoefling.de (Postfix) with ESMTPSA id C09C740A5B for ; Thu, 1 Mar 2018 19:05:51 +0100 (CET) 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: 30667@debbugs.gnu.org --Sig_/yf7KC+Xqq5XG+GoUtYnzykD Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I prepared a QEMU VM with: ./pre-inst-env guix system vm \ --expose=3D/home/bjoern/digikam-testpool/=3D/image-pool \ ../guix-systems/digikam-test.scm Starting the VM it complained: $> /gnu/store/zg5a42vcz4qf6h3yrdrijyaxkbhr967s-run-vm.sh=20 qemu-system-x86_64: -virtfs local,path=3D/home/bjoern/digikam-testpool/,sec= urity_model=3Dnone,mount_tag=3DTAG_home_bjoern_digikam-testpool_: mount tag= 'TAG_home_bjoern_digikam-testpool_' (33 bytes) is longer than maximum (31 = bytes) I haven't looked into the Guix code, but I suppose there is somewhere a place where the command line and the '/etc/fstab' file is filled with the mount tags. Here we should check the tag-length and shrink it (uniquely) if it is more than 31 bytes in size. Bj=C3=B6rn --Sig_/yf7KC+Xqq5XG+GoUtYnzykD Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlqYQP4ACgkQvyhstlk+X/3LRQCgmXRXSyw4cnpgBsmuiv6qinJ2 cPAAoK8N5Ck3V9ofu1VPH59nljn+zwt7 =Ajvt -----END PGP SIGNATURE----- --Sig_/yf7KC+Xqq5XG+GoUtYnzykD--