[lxc-users] 1.1.4 update does not install new configs
anrdaemon at yandex.ru
Mon Oct 12 11:41:06 UTC 2015
Greetings, Fajar A. Nugraha!
>>>>> The 1.1.4 update did not install nes shared configs, resulting in
>>>>> lxc-start 1444586479.188 WARN lxc_confile - confile.c:config_pivotdir:1801 - lxc.pivotdir is ignored. It will soon become an error.
>>>>> Ubuntu 12.04 "Precise"
>>>>> LXC is from Ubuntu "lxc-stable" PPA.
>>>> That's normal and isn't an error nor will it ever be in the 1.1 release.
>>> I understand it is not an error, but I would expect a distributed
>>> configuration files free of warnings of such nature.
> To make it more clear: you will not get the warning if you install a
> new container after 1.1.x is installed.
> You will only get the warning if you had containers created using old
> version of lxc, and then upgrade lxc.
To make it more clear,
# for i in /home/.lxc/*; do test -d "$i" && grep -E "pivotdir" $i/config; done
# grep -RE "pivotdir" /usr/share/lxc/config/
/usr/share/lxc/config/common.conf:lxc.pivotdir = lxc_putold
Or do I need to make it absolutely clear?...
>> Converting the old style config (e.g. ones that still have lots of
>> "lxc.cgroup.devices.allow" lines) to new ones is not a trivial task.
> It should read "Converting the old style config AUTOMATICALLY using a
> script during lxc upgrade is not a trivial task
This is not "old style configs" this is a "distributed base configuration
They must be replaced on upgrade, if unaltered (and they aren't).
>> Note that as a user you could always convert them manually. It should
>> take only several minutes to read and convert each container's config.
> ... however converting them manually is easy enough.
However, I see no reason, why would I touch distributed configuration?
It is maintainer's responsibility to distribute sane defaults.
With best regards,
Monday, October 12, 2015 14:34:41
Sorry for my terrible english...
More information about the lxc-users