Project

General

Profile

Feature #6224

Bug #5571: Test suite: filesystem shares vs. snapshots

Reproduce the 9p reload bug with a recent kernel

Added by intrigeri over 6 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Test suite
Target version:
Start date:
08/08/2013
Due date:
07/15/2015
% Done:

100%

Feature Branch:
Type of work:
Test
Blueprint:
Starter:
No
Affected tool:

Description

see parent ticket.


Related issues

Related to Tails - Bug #12081: Fresh vagrant-libvirt setup has broken synced folders Resolved 12/25/2016
Blocks Tails - Feature #6225: Report the 9p kernel bug Rejected 08/08/2013 07/15/2015

History

#1 Updated by anonym almost 5 years ago

  • Target version set to Tails_1.4.1

#3 Updated by anonym almost 5 years ago

  • Category set to Test suite

#4 Updated by anonym over 4 years ago

This is what I get if I try to save a (ram-only) snapshot when a shared file system is mounted:

Call to virDomainSaveFlags failed: internal error: unable to execute QEMU command 'migrate': Migration is disabled when VirtFS export path '/home/tailstester/TailsToaster/shared_files' is mounted in the guest using mount_tag '/shared_files' (Libvirt::Error)

Clearly, that's explicitly not supported.

If I unmount the share and save the snapshot, there's no error. However when trying to mount the share again after restoring, the mount call hangs (and cannot be killed, even with SIGKILL). It doesn't matter if I unload the 9p before saving the snapshot, and then reloading it after restoring; mount still hangs. If I also unload/reload the 9pnet_virtio and 9pnet modules, then I get this in syslog:

[  150.224902] 9pnet: Installing 9P2000 support
[  150.254786] virtio-pci 0000:00:08.0: irq 42 for MSI/MSI-X
[  150.254813] virtio-pci 0000:00:08.0: irq 43 for MSI/MSI-X
[  150.255025] virtio-pci 0000:00:08.0: irq 42 for MSI/MSI-X
[  150.255042] virtio-pci 0000:00:08.0: irq 43 for MSI/MSI-X
[  150.255200] 9pnet_virtio: probe of virtio3 failed with error -2
[  150.281973] FS-Cache: Loaded
[  150.283145] 9p: Installing v9fs 9p2000 file system support
[  150.283153] FS-Cache: Netfs '9p' registered for caching
[  150.340384] 9pnet_virtio: no channels available

i.e. the same issue as before. Now the mount command fails immediately with:
mount: No such file or directory

which refers to the source, i.e. the "tag" used for the filesystem share (not the target directory).

I will use this info as a basis for #6226, and then possibly #6225.

#5 Updated by anonym over 4 years ago

  • Status changed from Confirmed to Resolved
  • Assignee deleted (anonym)
  • % Done changed from 0 to 100

By the way, this was with Linux 3.16.7-ckt9-3 in Tails 1.4.

#6 Updated by intrigeri over 4 years ago

  • Due date set to 07/15/2015

#9 Updated by intrigeri almost 3 years ago

  • Related to Bug #12081: Fresh vagrant-libvirt setup has broken synced folders added

Also available in: Atom PDF