[lxc-users] potential bug: /etc/resolv.conf

Tilak Waelde tilak.waelde at tik.uni-stuttgart.de
Thu Mar 23 17:24:55 UTC 2017


Hey,

the rootfs of several containers on images.linuxcontainers.org contain
the following /etc/resolv.conf, even if the resolvconf package is not
installed:

    # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
    #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
    nameserver 10.0.3.1
    search lxc

When using lxd with static ip configuration this file might mess up the DNS of containers.

I wasn't sure where to report this, but the file is probably created by
one of your build scripts in the lxc-ci repository and not cleaned up.

This affects at least debian and centos containers.

cheers,
Tilak




More information about the lxc-users mailing list