ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] glibc на 2.6.32 ovz-el
Date: Tue, 26 Dec 2017 22:01:39 +0300
Message-ID: <20171226190138.GD1682@glebfm.cloud.tilaa.com> (raw)
In-Reply-To: <af763e29b8088d51d64544e2dc4b9153@altlinux.ru>

[-- Attachment #1: Type: text/plain, Size: 1166 bytes --]

Hi,

On Tue, Dec 26, 2017 at 06:36:02PM +0300, Vitaly Lipatov wrote:
> Правильно ли я понимаю, что со сборки 6:2.26.0.124.98f244e-alt1 больше 
> нельзя использовать glibc
> с ядрами 2.6.32 ovz-el ?

Да, правильно.
Ядро ovz не умеет системный вызов prlimit64, который теперь используется
в libc, так что даже манипуляции с /etc/vz/osrelease.conf не позволяют
заставить работать контейнеры c Сизифом.

Для использования хост-системы с openvz на Сизифе с glibc 2.26 нужно
обманывать libc по поводу версии ядра, потому что там есть проверка на то,
что ядро >= 3.2.0.

В этом таске собирается ядро, в которое я сбэкпортировал prlimit64.
Также пришлось подделать версию ядра:
#197282 BUILDING #7 [locked] [test-only] sisyphus kernel-image-ovz.git=3.2.0-alt160 ...

-- 
glebfm

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

  reply	other threads:[~2017-12-26 19:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-26 15:36 Vitaly Lipatov
2017-12-26 19:01 ` Gleb Fotengauer-Malinovskiy [this message]
2018-01-07 21:42   ` Nikolay A. Fetisov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171226190138.GD1682@glebfm.cloud.tilaa.com \
    --to=glebfm@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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