On 2023-01-19 00:55, Lennart Poettering wrote:
What you could do is split up the problem: have iscsi-starter.service
or so, that is separate from the iscsi.service main service. The
former's job would be to scan if iscsi volumes are configured. If it
finds configured ones, it would then issue "systemctl start --no-block
iscsi.service" to enqueue a start job for the real thing.
Something like that was suggested last year, and Colin Walters objected,
for what that's worth.
If the PR to allow installing only the "core" storage drivers is
rejected, then I'll work on a PR to implement this change instead.
Thanks, Lennart.