[lxc-devel] [PATCH v2] Remove a comment part from a config value

KATOH Yasufumi karma at jazz.email.ne.jp
Thu Aug 28 17:02:00 UTC 2014


>>> On Thu, 28 Aug 2014 09:54:32 -0400
    in message   "Re: [lxc-devel] [PATCH v2] Remove a comment part from a config value"
                  Stéphane Graber-san wrote:

> So my understanding there is that we simply don't support in-line
> comments (comments after meaningful content), one of the reason being
> for the case you just described.

> Comments on their own line should already be properly handled by the
> config parser, that is, they are stored in a separate list and restored
> on save_config.


> I suspect this is a case where the right answer is additional
> documentation, making it clear that we only support comments on their
> own lines.

OK, I understand.

The reason that I sent that patch is that there are the standard
config files (in tree) that have in-line comments. 

For example, centos.common.conf, oracle.common.conf, common.conf(on
master branch)...

Thanks,
KATOH Yasufumi


More information about the lxc-devel mailing list