Some more details....

A posix function in kernel has changed between 4.4.0-57 and 4.4.0-59

./linux-headers-4.4.0-53/include/linux/posix_acl.h:extern int 
posix_acl_valid(const struct posix_acl *);
./linux-headers-4.4.0-57/include/linux/posix_acl.h:extern int 
posix_acl_valid(const struct posix_acl *);
./linux-headers-4.4.0-59/include/linux/posix_acl.h:extern int 
posix_acl_valid(struct user_namespace *, const struct posix_acl *);
./linux-headers-4.4.0-62/include/linux/posix_acl.h:extern int 
posix_acl_valid(struct user_namespace *, const struct posix_acl *);


The zfs kernel modul is not updated to match these changes.
see: 
https://fossies.org/diffs/zfs/0.6.5.7_vs_0.6.5.8/module/zfs/zpl_xattr.c-diff.html

I have tried the following:

Replaced all occurrences
   error = posix_acl_valid(acl);
with 
   error = posix_acl_valid(ip, acl);
in file:
    /usr/src/zfs-0.6.5.6/module/zfs/zpl_xattr.c

 dkms remove -m zfs -v 0.6.5.6 -k 4.4.0-62-generic
 dkms install --force -m zfs -v 0.6.5.6 -k 4.4.0-62-generic 
does compiles now.

System seems to work.

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

Title:
  Trying to reinstall ZFS on Xenial. Cannot mount existing zpool with
  identifier from /mnt/disk/by-id/xxxx

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to