Public bug reported: User changes applied by cloud-init to /etc/resolv.conf may get clobbered.
The netconfig tool manages a symlink from /etc/resolv.conf to /var/run/netconfig/resolv.conf. When cloud-init writes dns information it opens the file, i.e. in this case /var/run/netconfig/resolv.conf as it is pointed to by /etc/resolv.conf and writes the dns information. However since netconfig only watches for the symlink to be present and not the content of the file it will clobber the information written by cloud-init. ** Affects: cloud-init Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to cloud-init. https://bugs.launchpad.net/bugs/1849296 Title: reslov.conf gets clobbered Status in cloud-init: New Bug description: User changes applied by cloud-init to /etc/resolv.conf may get clobbered. The netconfig tool manages a symlink from /etc/resolv.conf to /var/run/netconfig/resolv.conf. When cloud-init writes dns information it opens the file, i.e. in this case /var/run/netconfig/resolv.conf as it is pointed to by /etc/resolv.conf and writes the dns information. However since netconfig only watches for the symlink to be present and not the content of the file it will clobber the information written by cloud-init. To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1849296/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp