-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
systemd-user-sessions.service After=network.target causes 90s boot delay #4010
Comments
I don't think this is a bug in systemd but in your network configuration (tool). |
It's not attempting a network connection. In my case (which I didn't post on the Arch BBS) it's waiting for the usb0 interface, which only appears if the user starts a usb-gadget for ethernet after boot. Prior to r230 the network configuration became active when/if the interface appeared. |
your network management solution isn't really using network.target properly. It should not block on such external events. Or if it does then it should order itself before network-online.target, not network.target. See https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget for more information about this. Closing. |
netctl@.service has been working for a long time:
|
I cannot really see the proper way for For the usb gadget, I fail to see why you would want to enable a profile when the presence of the device is not certain at boot time. Maybe you are better off with a udev rule that runs |
@joukewitteveen, you may need to open a new issue to have your perspective considered. I can't re-open this one. |
Submission type
systemd version the issue has been seen with
Used distribution
In case of bug report: Unexpected behaviour you saw
In case of bug report: Steps to reproduce the problem
The text was updated successfully, but these errors were encountered: