-
Hi, I'm working on kdump-anaconda-addon and trying to watch for storage change in GUI. The idea is simple, whenever a storage change is made, kdump-anaconda-addon will check if there is any LUKS encrypted partition. And if there is, it will show a warning message on the GUI hub page. (The error message will gone after the user clicks into the kdump spoke and checked the warning info). But it seems there is no existing hook/watcher interface for doing this, so I tried to re-detect storage info whenever the ready() method is called for the kdump GUI spoke: Is this a reliable way to do so? From my side, it just works. But not sure if there is any risk about this implementation. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, you should be able to watch the
The property returns an empty string or a DBus path to a checked and valid partitioning module, that will be used for the installation. This is also the partitioning that you should check for the LUKS devices. |
Beta Was this translation helpful? Give feedback.
Hi, you should be able to watch the
AppliedPartitioning
property of the Storage module. It would look like this:The property returns an empty string or a DBus path to a checked and valid partitioning module, that will be used for the installation. This is also the partitioning that you should check for the LUKS devices.