ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus]  lxc 2.1.0
@ 2017-09-06 22:45 Denis Pynkin
  2017-09-07  4:44 ` Gleb Kulikov
  2017-09-11 13:46 ` Michael Shigorin
  0 siblings, 2 replies; 5+ messages in thread
From: Denis Pynkin @ 2017-09-06 22:45 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

Hi,

В Сизиф ушла новая версия LXC 2.1.0.
Помимо других вещей, там сильно поменяли синтаксис конфигурационных
файлов. Всем пользователям рекомендуется к ознакомлению ченжлог:
https://discuss.linuxcontainers.org/t/lxc-2-1-has-been-released/487

Будет много ругани вида:
The configuration file contains legacy configuration keys.
Please update your configuration file!

Обращаю внимание, что существует утилита lxc-update-config, которая
поможет (не всегда на 100%) конвертировать конфигурационные файлы контейнеров
в новый формат.

--
wbr,d4s


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [sisyphus] lxc 2.1.0
  2017-09-06 22:45 [sisyphus] lxc 2.1.0 Denis Pynkin
@ 2017-09-07  4:44 ` Gleb Kulikov
  2017-09-07  8:39   ` Denis Pynkin
  2017-09-11 13:46 ` Michael Shigorin
  1 sibling, 1 reply; 5+ messages in thread
From: Gleb Kulikov @ 2017-09-07  4:44 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

В письме от 2017 сентября 7  01:45:48 пользователь Denis Pynkin написал:
> Hi,
> 
> В Сизиф ушла новая версия LXC 2.1.0.
> Помимо других вещей, там сильно поменяли синтаксис конфигурационных

то, что создавалось и пускается через libvirt (virt-manager)
пострадает?

-- 

С уважением, /GL

uin://15341920
xmpp://gleb@asd.iao.ru
telephony:
  skype: gleb_kulikov.tomsk
  sip://2387245@sipnet.ru
  ring:ff9d8f1e254d40fb5d2c41bd872219c27af00a96





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [sisyphus] lxc 2.1.0
  2017-09-07  4:44 ` Gleb Kulikov
@ 2017-09-07  8:39   ` Denis Pynkin
  0 siblings, 0 replies; 5+ messages in thread
From: Denis Pynkin @ 2017-09-07  8:39 UTC (permalink / raw)
  To: glebus, ALT Linux Sisyphus discussions

On Thu, Sep 07, 2017 at 11:44:11AM +0700, Gleb Kulikov wrote:

> > В Сизиф ушла новая версия LXC 2.1.0.
> > Помимо других вещей, там сильно поменяли синтаксис конфигурационных
> 
> то, что создавалось и пускается через libvirt (virt-manager)
> пострадает?

скорее всего нет -- старый синтаксис поддерживается, но на stderr валится
предупреждение. Я не помню, игнорируется ли stderr в libvirt.

--
wbr,d4s


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [sisyphus] lxc 2.1.0
  2017-09-06 22:45 [sisyphus] lxc 2.1.0 Denis Pynkin
  2017-09-07  4:44 ` Gleb Kulikov
@ 2017-09-11 13:46 ` Michael Shigorin
  2017-09-11 20:01   ` Dmitry V. Levin
  1 sibling, 1 reply; 5+ messages in thread
From: Michael Shigorin @ 2017-09-11 13:46 UTC (permalink / raw)
  To: sisyphus

On Thu, Sep 07, 2017 at 01:45:48AM +0300, Denis Pynkin wrote:
> В Сизиф ушла новая версия LXC 2.1.0.

На e2k споткнулась так:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../src -fPIC -DPIC -DLXCROOTFSMOUNT=\"/usr/lib64/lxc/rootfs\" -DLXCPATH=\"/var/lib/lxc\" -DLXC_GLOBAL_CONF=\"/etc/lxc/lxc.conf\" -DLXCINITDIR=\"/usr/lib\" -DLIBEXECDIR=\"/usr/lib\" -DLXCTEMPLATEDIR=\"/usr/share/lxc/templates\" -DLXCTEMPLATECONFIG=\"/usr/share/lxc/config\" -DLOGPATH=\"/var/log/lxc\" -DLXC_DEFAULT_CONFIG=\"/etc/lxc/default.conf\" -DLXC_USERNIC_DB=\"/run/lxc/nics\" -DLXC_USERNIC_CONF=\"/etc/lxc/lxc-usernet\" -DDEFAULT_CGROUP_PATTERN=\"lxc/%n\" -DRUNTIME_PATH=\"/run\" -DSBINDIR=\"/usr/sbin\" -I ../../src -I ../../src/lxc -I ../../src/lxc/storage -I ../../src/lxc/cgroups -pthread -I/usr/include/linux-default/include/ -Wall -Werror -c initutils.c -o liblxc_la-initutils.o >/dev/null 2>&1
lcc: "conf.c", line 2460: error: function "prlimit" declared implicitly
          [-Werror=implicit-function-declaration]
                if (prlimit(pid, resid, &lim->limit, NULL) != 0) {
                    ^

make[3]: *** [liblxc_la-conf.lo] Error 1
make[3]: Leaving directory `/usr/src/RPM/BUILD/lxc-2.1.0/src/lxc'

-- 
 ---- WBR, Michael Shigorin / http://altlinux.org
  ------ http://opennet.ru / http://anna-news.info


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [sisyphus] lxc 2.1.0
  2017-09-11 13:46 ` Michael Shigorin
@ 2017-09-11 20:01   ` Dmitry V. Levin
  0 siblings, 0 replies; 5+ messages in thread
From: Dmitry V. Levin @ 2017-09-11 20:01 UTC (permalink / raw)
  To: ALT Linux Sisyphus mailing list

On Mon, Sep 11, 2017 at 04:46:15PM +0300, Michael Shigorin wrote:
> On Thu, Sep 07, 2017 at 01:45:48AM +0300, Denis Pynkin wrote:
> > В Сизиф ушла новая версия LXC 2.1.0.
> 
> На e2k споткнулась так:
> 
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../src -fPIC -DPIC -DLXCROOTFSMOUNT=\"/usr/lib64/lxc/rootfs\" -DLXCPATH=\"/var/lib/lxc\" -DLXC_GLOBAL_CONF=\"/etc/lxc/lxc.conf\" -DLXCINITDIR=\"/usr/lib\" -DLIBEXECDIR=\"/usr/lib\" -DLXCTEMPLATEDIR=\"/usr/share/lxc/templates\" -DLXCTEMPLATECONFIG=\"/usr/share/lxc/config\" -DLOGPATH=\"/var/log/lxc\" -DLXC_DEFAULT_CONFIG=\"/etc/lxc/default.conf\" -DLXC_USERNIC_DB=\"/run/lxc/nics\" -DLXC_USERNIC_CONF=\"/etc/lxc/lxc-usernet\" -DDEFAULT_CGROUP_PATTERN=\"lxc/%n\" -DRUNTIME_PATH=\"/run\" -DSBINDIR=\"/usr/sbin\" -I ../../src -I ../../src/lxc -I ../../src/lxc/storage -I ../../src/lxc/cgroups -pthread -I/usr/include/linux-default/include/ -Wall -Werror -c initutils.c -o liblxc_la-initutils.o >/dev/null 2>&1
> lcc: "conf.c", line 2460: error: function "prlimit" declared implicitly
>           [-Werror=implicit-function-declaration]
>                 if (prlimit(pid, resid, &lim->limit, NULL) != 0) {

Что-то в этом e2k не в порядке, см. prlimit(2).


-- 
ldv


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-09-11 20:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-06 22:45 [sisyphus] lxc 2.1.0 Denis Pynkin
2017-09-07  4:44 ` Gleb Kulikov
2017-09-07  8:39   ` Denis Pynkin
2017-09-11 13:46 ` Michael Shigorin
2017-09-11 20:01   ` Dmitry V. Levin

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git