Hello Michael and thanks for this bug report. I don't have a system I can reproduce the issue on at the moment, but your analysis looks correct to me. Integrating your open-iscsi-sanbootable.finalrd into the open-iscsi.finalrd hook shipped with the open-iscsi Ubuntu package should do the trick.
The open-iscsi.finalrd hook is an Ubuntu-specific thing, so there is no doubt the fix belongs to Ubuntu. Here I think we need to: - Prepare a open-iscsi package with an updated open-iscsi.finalrd - Verify that is works and causes no regressions (ideally with your help) Cc: xnox, maintainer of the finalrd and original author of the open- iscsi.finalrd hook, just in case se has thoughts on this issue or on the inclusion of libnss in the finalrd. ** Changed in: open-iscsi (Ubuntu) Status: New => Triaged ** Tags added: server-next -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1922976 Title: iscsid fails to log out from target on shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/1922976/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs