On 4/12/19 4:27 PM, George Diamantopoulos wrote: > Package: python3-rtslib-fb > Version: 2.1.66-2 > Severity: important > > Dear Maintainer, > > I've also posted about this at [email protected] because > I'm not 100% sure it is a bug, but after a day my message is not in the > list archives so I'm not sure it was actually received (there are no messages > in the archive for 2019 at all). > > The issue I'm experiencing is that after a reboot, all targetcli > configuration is gone despite there being a file with the saved > desired state under /etc/rtslib-fb-target/saveconfig.json > > Investigating further with dpkg, targetcli-fb and python3-rtslib-fb > seem not to provide any kind of service unit files or init scripts. > After issuing targetctl restore manually, the desired state is restored. > > Am I missing something here? Is this intentional? The man page for > targetcli explicitly states that distributions should ship service > files to restore configuration after a reboot. > > I've also noticed that this package does ship with rtslib-fb-targetctl.service > on debian stretch. So I'm inclined to believe this is a bug, after all.
Hi, The issue is that the init script is available in the python-rtslib-fb package, but not on its python3 version. I'm not really sure how to fix though, and also, if you could provide a .sevice file, that be nice, I'll add it and make sure the package reaches Buster in time. Waiting for your contribution, Cheers, Thomas Goirand (zigo)

