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?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1880443

Title:
  targetcli fails iscsi setup after upgrade from 18.04 to 20.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/targetcli-fb/+bug/1880443/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to