45Drives / cockpit-zfs-manager

Cockpit ZFS Manager is an interactive ZFS on Linux admin package for Cockpit.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Duplication of entries after encryptet volume unlocking

jmarucha opened this issue · comments

  • Version: cockpit 264, cockpit-zfs-manager 1.3.0, Ubuntu Server 22.04 LTS
  • Description: After unlocking an encrypted share, every entry on the volume list is duplicated. Both entries about encrypted volumes provide proper state (open padlock)
    image
  • Steps to reproduce: Make empty zfs pool. Create encrypted share. Unmount, checking the option "Lock filesystem". Mount again. Enjoy doubled storage.
  • Suspicion: Race condition in FnFileSystemUnlock and FnFileSystemMount, as they both execute FnStoragePoolRefresh asynchronously.

Can confirm this is an issue

Gotta refresh for every encrypted dataset after every system update that requires a restart 🥲