After updating my Ubuntu Raspberry Pi node, I had a load of failures, one of which was iscsid
failing on startup.
Well that’s not good:
$ sudo systemctl status iscsid.service
× iscsid.service - iSCSI initiator daemon (iscsid)
Loaded: loaded (/lib/systemd/system/iscsid.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2024-06-24 04:16:37 UTC; 1s ago
TriggeredBy: ● iscsid.socket
Docs: man:iscsid(8)
Process: 7150 ExecStartPre=/lib/open-iscsi/startup-checks.sh (code=exited, status=0/SUCCESS)
Process: 7153 ExecStart=/sbin/iscsid (code=exited, status=0/SUCCESS)
Main PID: 7155 (code=exited, status=1/FAILURE)
CPU: 32ms
Jun 24 04:16:37 examplehost systemd[1]: Starting iSCSI initiator daemon (iscsid)...
Jun 24 04:16:37 examplehost iscsid[7153]: iSCSI logger with pid=7154 started!
Jun 24 04:16:37 examplehost systemd[1]: Started iSCSI initiator daemon (iscsid).
Jun 24 04:16:37 examplehost iscsid[7154]: iSCSI daemon with pid=7155 started!
Jun 24 04:16:37 examplehost iscsid[7154]: can not create NETLINK_ISCSI socket [Protocol not supported]
Jun 24 04:16:37 examplehost systemd[1]: iscsid.service: Main process exited, code=exited, status=1/FAILURE
Jun 24 04:16:37 examplehost systemd[1]: iscsid.service: Failed with result 'exit-code'.
I found a solution in this thread on Redhat bugzilla #1768635 where I had to run depmod -a
to “rebuild the binary alias file” whatever that means 😀
$ sudo depmod -a
yaleman@examplehost:~$ sudo systemctl restart iscsid.service
yaleman@examplehost:~$ sudo systemctl status iscsid.service
● iscsid.service - iSCSI initiator daemon (iscsid)
Loaded: loaded (/lib/systemd/system/iscsid.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2024-06-24 04:25:09 UTC; 3s ago
TriggeredBy: ● iscsid.socket
Docs: man:iscsid(8)
Process: 28545 ExecStartPre=/lib/open-iscsi/startup-checks.sh (code=exited, status=0/SUCCESS)
Process: 28548 ExecStart=/sbin/iscsid (code=exited, status=0/SUCCESS)
Main PID: 28550 (iscsid)
Tasks: 2 (limit: 9243)
Memory: 3.2M
CPU: 52ms
CGroup: /system.slice/iscsid.service
├─28549 /sbin/iscsid
└─28550 /sbin/iscsid
Jun 24 04:25:09 examplehost systemd[1]: Starting iSCSI initiator daemon (iscsid)...
Jun 24 04:25:09 examplehost iscsid[28548]: iSCSI logger with pid=28549 started!
Jun 24 04:25:09 examplehost systemd[1]: Started iSCSI initiator daemon (iscsid).
Jun 24 04:25:09 examplehost iscsid[28549]: iSCSI daemon with pid=28550 started!