systemd-networkd-wait-online.service causing Artful to take over 2 minutes to boot, but Apport says package is not installed

Solution 1:

Same problem here with Artful.

2min 52ms systemd-networkd-wait-online.service

As a workaround you can add a timeout for the service. To do that edit the file /lib/systemd/system/systemd-networkd-wait-online.service and adjust the line that starts the service:

ExecStart=/lib/systemd/systemd-networkd-wait-online --timeout 1

Setting the timeout to 1 doesn't seem to have any implications as there's another service with the exact same task (NetworkManager-wait-online.service).

Solution 2:

You can make ExecStart=/lib/systemd/systemd-networkd-wait-online --timeout 1 permanent by copying the modified systemd-networkd-wait-online.service file from /lib/systemd/system/ to /etc/systemd/system/ directory, using the following command.

sudo cp /lib/systemd/system/systemd-networkd-wait-online.service /etc/systemd/system/