What's Changed
-
Fixed leaked systemd timers on rapid attach/detach (#165) — A race condition during rapid ENI attach/detach could leave orphaned setup-policy-routes refresh timers that accumulated over time. The fix adds a BindsTo=policy-routes@%i.service
dependency so the refresh unit is cleaned up automatically when its interface goes away, instead of relying on restart-based routing that leaked timers. Resolves #152. By @
joeysk2012 in #165. -
Handle kernel interface renaming (#171) — When an ENI is detached and re-attached into a different PCI slot, the kernel can rename it (e.g. ens6 → ens7) while keeping the same MAC, leaving the old 70-.network config orphaned and
causing control-plane updates to target a nonexistent interface. The fix wires the udev remove event to delete the departing interface's config file and drop-in directory, scoped to exactly that interface. It deliberately avoids
networkctl reload to prevent reintroducing the conntrack-reset regression fixed in cd0f361. Resolves #166. By @joeysk2012 in [#171](https://github.com/amazonlinux/amazon-ec2-net-
utils/pull/171). -
Release version 2.7.7 by @joeysk2012 in #172
Full Changelog: v2.7.6...2.7.7