Trying a hacky POC: 1. define iscsid.socket $ cat > /lib/systemd/system/iscsid.socket << EOF [Unit] Description=Open-iSCSI iscsid Socket Documentation=man:iscsid(8) man:iscsiadm(8)
[Socket] ListenStream=@ISCSIADM_ABSTRACT_NAMESPACE [Install] WantedBy=sockets.target EOF $ systemctl enable iscsid.socket 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 Lets see if it will auto-start ... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1755858 Title: iscsid autostarts on all servers when it has nothing to do To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/1755858/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
