Hmm, I looked at the udev rule and the service it calls a bit closer,
and I'm not sure if that udev rule has *ever* worked; it's attempting to
pass a full list of parameters as the template value on the cmdline, and
I can kind of understand the intention, but it's not a good way to
implement it.

$ sudo systemctl --no-block start 
nvmf-connect@--device=none\t--transport=fc\t--traddr=nn-0x200400a098d85eb4:pn-0x203400a098d85eb4\t--trsvcid=none\t--host-traddr=nn-0x20000090fadcc57dpn-0x10000090fadcc57d.service
Invalid unit name 
"nvmf-connect@--device=nonet--transport=fct--traddr=nn-0x200400a098d85eb4:pn-0x203400a098d85eb4t--trsvcid=nonet--host-traddr=nn-0x20000090fadcc57dpn-0x10000090fadcc57d.service"
 escaped as 
"nvmf-connect@--device\x3dnonet--transport\x3dfct--traddr\x3dnn-0x200400a098d85eb4:pn-0x203400a098d85eb4t--trsvcid\x3dnonet--host-traddr\x3dnn-0x20000090fadcc57dpn-0x10000090fadcc57d.service"
 (maybe you should use systemd-escape?).

The problem here is that systemctl doesn't allow "=" character to be
included in the unit template data.

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

Title:
  NVMe/FC connections fail to reestablish after controller is reset

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvme-cli/+bug/1874270/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to