A simple fix is to change one target in
/lib/systemd/system/snapd.refresh.service. I changed the line

After=network.target snapd.firstboot.service snapd.socket

to

After=network-online.target snapd.firstboot.service snapd.socket

Now the service is started, when the network is really online.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1618207

Title:
  snapd.refresh.service runs when being offline or on expensive/slow
  internet

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1618207/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to