Question

Arch Linux droplet and systemd update warning

Posted March 10, 2014 4.4k views
This is just a warning to Arch Linux users who update the the latest systemd. Systemd now has "Predictable Network Interface Names". More info can be found here: http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/ Updating to the newest version will break networking! Requiring manual user changes. More info can be found here: https://bbs.archlinux.org/viewtopic.php?id=156283

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer
This is probably a bit hackish, but here's how I worked around this after updating systemd:

# Set the netcfg default wired interface to the new interface name
# set WIRED_INTERACE="ens3" /etc/conf.d/netcfg

# Setup network@ens3 service with the previous eth0 static IP configuration
ln -s /etc/conf.d/network\@eth0 /etc/conf.d/network\@ens3
ln -s /etc/systemd/system/network\@.service /etc/systemd/system/multi-user.target.wants/network\@ens3.service
systemctl disable network@eth0.service
systemctl enable network@ens3.service

(I also updated the kernel during this - not sure if that's relevant)
Submit an Answer