Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 752378

Summary: sys-apps/systemd-246-r2 networkd fails to reset nic after resume from suspend to ram
Product: Gentoo Linux Reporter: Vasilis Lourdas <bugs>
Component: Current packagesAssignee: Gentoo systemd Team <systemd>
Status: RESOLVED OBSOLETE    
Severity: normal CC: Adrian.Bassett, alexander, sam
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: reset-after-resume.patch

Description Vasilis Lourdas 2020-11-02 19:44:01 UTC
Created attachment 669797 [details, diff]
reset-after-resume.patch

After upgrading to systemd-246 some time ago, I discovered that after resuming from suspend-to-ram, there was no internet connection (I'm using systemd-networkd). Restarting the systemd-networkd service brings the interface up again. This is a upstream bug (https://github.com/systemd/systemd/issues/16696) and I manually included a user patch from the PR at https://github.com/systemd/systemd/pull/16697 and works for me.

I've attached the patch here. It would be nice to be included in portage, until a newer version of systemd is released.