--- Begin Message ---
Subject: |
'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 |
I prepared a QEMU VM with:
./pre-inst-env guix system vm \
--expose=/home/bjoern/digikam-testpool/=/image-pool \
../guix-systems/digikam-test.scm
Starting the VM it complained:
$> /gnu/store/zg5a42vcz4qf6h3yrdrijyaxkbhr967s-run-vm.sh
qemu-system-x86_64: -virtfs
local,path=/home/bjoern/digikam-testpool/,security_model=none,mount_tag=TAG_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örn
pgpWQSGq6ZQyZ.pgp
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#30667: 'guix system vm' must keep mount_tag-length limited below 32 bytes for --expose and --share |
Date: |
Thu, 08 Mar 2018 11:56:57 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Hi Björn,
Björn Höfling <address@hidden> skribis:
> I prepared a QEMU VM with:
>
> ./pre-inst-env guix system vm \
> --expose=/home/bjoern/digikam-testpool/=/image-pool \
> ../guix-systems/digikam-test.scm
>
> Starting the VM it complained:
>
> $> /gnu/store/zg5a42vcz4qf6h3yrdrijyaxkbhr967s-run-vm.sh
> qemu-system-x86_64: -virtfs
> local,path=/home/bjoern/digikam-testpool/,security_model=none,mount_tag=TAG_home_bjoern_digikam-testpool_:
> mount tag 'TAG_home_bjoern_digikam-testpool_' (33 bytes) is longer than
> maximum (31 bytes)
Fixed in dffc5ab5e47e45b94188828205c8d567994926ad, thanks!
Ludo’.
--- End Message ---