Skip to content

0.6.5.9 regression (compared to 0.6.5.8 and previous) : loop mounted luks encrypted files on zfs are read-only #5776

@truatpasteurdotfr

Description

@truatpasteurdotfr

System information

Type Version/Name
Distribution Name CentOS
Distribution Version 7.3
Linux Kernel 3.10.0-514.2.2.el7.x86_64 and 3.10.0-514.6.1.el7.x86_64
Architecture x86_64
ZFS Version 0.6.5.9
SPL Version 0.6.5.9

Describe the problem you're observing

I have luks encrypted files in my zfs filesystems.
Since 0.6.5.9, when I loop mount them, the filesystem are read-only.

Describe how to reproduce the problem

boot a centos7 machine, install0.6.5.9 zfs (kmod-zfs) and create a file based luks file (xfs formatted), put some files inside.
Create a zpool, put the newly created luks file inside and mount it. It will be mounted read-only.

Doing the same on a 0.6.5.8 zfs, works fine, the luks file is mounted read-write.

Include any warning/errors/backtraces from the system logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: RegressionIndicates a functional regression

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions