Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 752378 - sys-apps/systemd-246-r2 networkd fails to reset nic after resume from suspend to ram
Summary: sys-apps/systemd-246-r2 networkd fails to reset nic after resume from suspend...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-02 19:44 UTC by Vasilis Lourdas
Modified: 2020-11-04 18:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
reset-after-resume.patch (systemd-networkd-restart-after-resume.patch,4.34 KB, patch)
2020-11-02 19:44 UTC, Vasilis Lourdas
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.