mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
The test created ZFS datasets with canmount=noauto, but pam_zfs_key's mount_dataset() now checks canmount == ZFS_CANMOUNT_ON and skips mounting otherwise (added in https://github.com/openzfs/zfs/commit/387ed5ca41). Use the default canmount=on and unmount before unloading the key to compensate for the auto-mount that happens when the key is loaded during creation. This also silences the warning for forceImportRoot. Assisted-by: opencode with DeepSeek V4 Flash Free