I've tried to reproduce this problem running the following commands:

ubuntu@focal:~$ fallocate -l 8G /home/ubuntu/disk.img
ubuntu@focal:~$ sudo zpool create pool1 /home/ubuntu/disk.img
ubuntu@focal:~$ sudo zfs create -o encryption=on -o keyformat=passphrase 
pool1/pool1
Enter passphrase: <pass1>
Re-enter passphrase: <pass1>
ubuntu@focal:~$ sudo mkdir /pool1/pool1/a
ubuntu@focal:~$ sudo zfs create -o encryption=on -o keyformat=passphrase 
pool1/pool1/a
Enter passphrase: <pass2>
Re-enter passphrase: <pass2>
ubuntu@focal:~$ sudo zfs umount -a
ubuntu@focal:~$ sudo zfs mount
ubuntu@focal:~$ sudo zfs mount pool1/pool1/a
ubuntu@focal:~$ sudo zfs mount pool1/pool1
cannot mount '/pool1/pool1': directory is not empty
ubuntu@focal:~$ 

I'm getting the "directory not empty" error, but I'm not able to
reproduce the segfault.

I think we can close this one for now.

@hadmut if you are able to reproduce this problem again, please let us
know and we'll keep investigating at it.

** Changed in: zfs-linux (Ubuntu)
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1901417

Title:
  zfs mount segmentation fault when target directory is non empty

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1901417/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to