Allow multiple mounts of zfs datasets
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Colin Ian King | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
zfs-linux (Ubuntu) |
Fix Released
|
Medium
|
Colin Ian King | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Medium
|
Colin Ian King |
Bug Description
=== SRU Justification, Xenial ==
An attempt to mount an already mounted zfs dataset should return a new mount referencing the existing super block, but instead it returns an error. Operations such as bind mounts and unsharing mount namespaces create new mounts for the sb, which can cause operations to fail which involve unmounting and remounting the dataset.
== Fix ==
Backport of upstream fix https:/
This fix from Seth addresses this issue
== Regression potential ==
Like all backports, this has a potential to be incorrectly backported and break the ZFS mounting. However, any breakage should be picked up via the ZFS smoke tests that thoroughly exercise mounting/
CVE References
description: | updated |
tags: | added: patch |
Changed in linux (Ubuntu Bionic): | |
status: | Incomplete → Fix Committed |
Changed in linux (Ubuntu Xenial): | |
assignee: | nobody → Colin Ian King (colin-king) |
no longer affects: | linux (Ubuntu Artful) |
no longer affects: | zfs-linux (Ubuntu Artful) |
description: | updated |
Changed in linux (Ubuntu Xenial): | |
status: | New → In Progress |
Changed in zfs-linux (Ubuntu Xenial): | |
status: | New → In Progress |
tags: |
added: verification-needed-xenial removed: verification-done-bionic |
Changed in linux (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
tags: |
added: kernel-fixup-verification-needed-bionic removed: verification-needed-bionic |
tags: | added: verification-needed-bionic |
tags: | added: cscc |
Applied patch, tested successfully with:
mount -t zfs -o zfsutil pool/ds /mnt/first
mount -t zfs -o zfsutil pool/ds /mnt/second
And also passes the ubuntu ZFS regression tests.