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)
- 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 🥲