For clarification, there are two related services: #1 iscsid - provides the framework but usually would do nothing without being told to do so - until needed this is not running (socket activation) #2 open-iscsid (alias = iscsi) - log in to default disks - would not run unless config has been defined
This is the state since we ensured the slow bits only run as needed in bug 1755858. Might be a good read for some background. I'd assume you have put such configs onto your system for the NAS devices you sometimes would mount later. Your log confirms: ConditionDirectoryNotEmpty: |/etc/iscsi/nodes succeeded That will most likely make #1 take a look at configs and run, the queries of this will then wake #2 as well. In case iscsi disks are configured it is correct to wait for them as they "might" be important for the system and so far the systemd dependencies can't know about what is configured for iscsi. The question IMHO now is what does it need 10 seconds for in your case. I'd expect it loads, checks the config, finds nothing it needs to to at boot time and be done in 0-2 seconds. But of the services involved in the logs I can see: - iscsid.socket starts 17:37:06 (socket ready) used at 17:37:15 - iscsid consists of two commands: startup-checks.sh 17:37:14 - 17:37:14 /sbin/iscsid 17:37:14 - 17:37:14 - open-iscsi consists of two commands: /sbin/iscsiadm -m node --loginall=automatic 17:37:15 - 17:37:15 activate-storage.sh 17:37:15 - 17:37:15 None of these take a long time thou. Maybe by being present/active they slow something else down in regard to mounting or checking devices. The `systemd-analyze dump` output you have was already interesting, but it is hard to check for dependencies. Could you add logs of the two cases which include all of the following: $ systemd-analyze dump $ systemd-analyze blame $ systemd-analyze critical-chain $ systemctl status iscsid.socket iscsid.service open-iscsi.service Maybe we can spot something else slowing down - e.g. another service that increases in execution time. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882986 Title: open-iscsi is slowing down the boot process To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/1882986/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
