2. remove some entries in /lib/systemd/system/open-iscsi.service
- remove iscsid from Wants=
- Remove the line ExecStartPre=/bin/systemctl --quiet is-active iscsid.service
3. disable and reload all files
$ systemctl disable iscsid
$ systemctl daemon-reload
Note: we also have still /etc/init.d/iscsid, but as long as there is a .service it doesn't matter.
=> ok - with that on a restart it doesn't start anymore on Ubuntu
Trying a hacky POC:
1. define iscsid.socket system/ iscsid. socket << EOF Open-iSCSI iscsid Socket man:iscsid( 8) man:iscsiadm(8)
$ cat > /lib/systemd/
[Unit]
Description=
Documentation=
[Socket] @ISCSIADM_ ABSTRACT_ NAMESPACE
ListenStream=
[Install] sockets. target
WantedBy=
EOF
$ systemctl enable iscsid.socket
2. remove some entries in /lib/systemd/ system/ open-iscsi. service /bin/systemctl --quiet is-active iscsid.service
- remove iscsid from Wants=
- Remove the line ExecStartPre=
3. disable and reload all files
$ systemctl disable iscsid
$ systemctl daemon-reload
Note: we also have still /etc/init.d/iscsid, but as long as there is a .service it doesn't matter.
=> ok - with that on a restart it doesn't start anymore on Ubuntu
Lets see if it will auto-start ...