** Description changed: + == SRU Justification == + + Running ZFS userspace utils with newer 0.7.x ZFS kernel drivers breaks + ZFS send/receive because of changes in the ioctl command structure. + + == Testcase == + + ubuntu ADT ZFS tests autotests/client/tests/ubuntu-zfs-smoke-tests will + show a failure in ZFS SEND, with userspace zfs tools segfaulting. + + == Fix == + + Fix is to detect if ZFS kernel driver is version 0.7.x and copy the + 0.6.5.x zfs ioctl command structure to a ZFS 0.7.x version, call the + ioctl() and then copy the result back. + + == Regression Potential == + + This will only affect the ZFS ioctl interface and this can be fully + tested using the ZFS autotests with 0.7.0 and 0.6.5.x ZFS enabled + kernels to check for the compatibility change regressions. + + -------------- + + Testing failed on: - amd64: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-bionic-canonical-kernel-team-bootstrap/bionic/amd64/z/zfs-linux/20171212_032601_d0613@/log.gz - arm64: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-bionic-canonical-kernel-team-bootstrap/bionic/arm64/z/zfs-linux/20171212_020008_d0613@/log.gz - ppc64el: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-bionic-canonical-kernel-team-bootstrap/bionic/ppc64el/z/zfs-linux/20171212_024359_d0613@/log.gz - s390x: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-bionic-canonical-kernel-team-bootstrap/bionic/s390x/z/zfs-linux/20171212_032349_d0613@/log.gz + amd64: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-bionic-canonical-kernel-team-bootstrap/bionic/amd64/z/zfs-linux/20171212_032601_d0613@/log.gz + arm64: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-bionic-canonical-kernel-team-bootstrap/bionic/arm64/z/zfs-linux/20171212_020008_d0613@/log.gz + ppc64el: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-bionic-canonical-kernel-team-bootstrap/bionic/ppc64el/z/zfs-linux/20171212_024359_d0613@/log.gz + s390x: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-bionic-canonical-kernel-team-bootstrap/bionic/s390x/z/zfs-linux/20171212_032349_d0613@/log.gz
** Description changed: - == SRU Justification == + == SRU Justification, Xenial, Artful == Running ZFS userspace utils with newer 0.7.x ZFS kernel drivers breaks ZFS send/receive because of changes in the ioctl command structure. == Testcase == ubuntu ADT ZFS tests autotests/client/tests/ubuntu-zfs-smoke-tests will show a failure in ZFS SEND, with userspace zfs tools segfaulting. == Fix == Fix is to detect if ZFS kernel driver is version 0.7.x and copy the 0.6.5.x zfs ioctl command structure to a ZFS 0.7.x version, call the ioctl() and then copy the result back. == Regression Potential == This will only affect the ZFS ioctl interface and this can be fully tested using the ZFS autotests with 0.7.0 and 0.6.5.x ZFS enabled kernels to check for the compatibility change regressions. -------------- - Testing failed on: amd64: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-bionic-canonical-kernel-team-bootstrap/bionic/amd64/z/zfs-linux/20171212_032601_d0613@/log.gz arm64: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-bionic-canonical-kernel-team-bootstrap/bionic/arm64/z/zfs-linux/20171212_020008_d0613@/log.gz ppc64el: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-bionic-canonical-kernel-team-bootstrap/bionic/ppc64el/z/zfs-linux/20171212_024359_d0613@/log.gz s390x: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-bionic-canonical-kernel-team-bootstrap/bionic/s390x/z/zfs-linux/20171212_032349_d0613@/log.gz ** Changed in: zfs-linux (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1737761 Title: zfs-linux 0.6.5.11-1ubuntu5 ADT test failure with linux 4.15.0-1.2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1737761/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs