The lxc.utsname config variable currently used to set the container hostname is not reliable. Specifically, it appears to work only if the default container hostname (i.e. the container name), is not a valid RFC-952 compliant hostname.
To get concrete, what this means is that if the container naming scheme ever changes such that our container names no longer contain underscores, then the hostnames of those containers will not be set correctly, which in turn will cause CTS test results to be incorrectly tagged.
Comment 1 by bugdroid1@chromium.org
, Aug 23 2017