I have tested the scenario Rafael described above and it works as expected in Impish but in Focal, as he described, the configuration is lost. The workaround presented in comment #5 is needed.
From my understanding, after the upgrade from Bionic to Focal there is no regression apparently but after the first reboot the configuration seems to be gone because the variable 'auto_save_on_exit' is set to false by default and there is no systemd unit file to call restore when starting the service. In Bionic there is no systemd service at all, the systemd support was added after Bionic.
So the fix targeting Focal would be to set 'auto_save_on_exit' to true and add the systemd unit file to call restore when starting the service. Do you think this is SRU-able?
I have tested the scenario Rafael described above and it works as expected in Impish but in Focal, as he described, the configuration is lost. The workaround presented in comment #5 is needed.
From my understanding, after the upgrade from Bionic to Focal there is no regression apparently but after the first reboot the configuration seems to be gone because the variable 'auto_save_on_exit' is set to false by default and there is no systemd unit file to call restore when starting the service. In Bionic there is no systemd service at all, the systemd support was added after Bionic.
So the fix targeting Focal would be to set 'auto_save_on_exit' to true and add the systemd unit file to call restore when starting the service. Do you think this is SRU-able?