Hi folks,

I'm a bit confused about the lxc.utsname option. The lxc.conf
manpage says:

       The  utsname  section  defines  the hostname to be set for the
       container. That means the container can set its own hostname
       without changing the one from the system. That makes the hostname
       private for the container.

I'm interpreting this as: If you set an utsname here, the container will
get its own independent hostname. If you don't set an utsname in the
configuration, the container will share the hostname with the host
system, meaning you can change the host hostname from within the
container.

However, experiments as well as source review show that this is not the
case: a container seems to always have an independent hostname,
regardless of the (presence of) a utsname option. If this is correct,
would it perhaps make sense to reword the above paragraph like this:

       The  utsname  section  defines  the hostname to be set for the
       container. Every container can always set its own hostname
       without changing the one from the system, but without this option
       the hostname for the container gets initialized to the hostname
       of the system.

Or something like that?

Gr.

Matthijs

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Lxc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to