On 8/17/21 8:08 PM, josef Reidinger wrote:
My proposal is really trivial, no files, no exiting. Just add check if in process list ( like `ps aux` ) is already yast with any module. And if there is already another running yast module warn user that collision can happen and if (s-)he wants to continue. So no rocket science, just inform user ( and log it). And if there will be complains about this behavior for whatever use case then add option to disable such popup to /etc/sysconfig/yast2 .
Ideally, I would like to have a cheap/fast way to check whether something has changed in the system after the probing. If so, the module UI would get block with a popup asking for reloading.
Also note that some modules are already preventing to have more than one instance at the same time, for example yast2-storage.