ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] ulimit не работает в hasher
@ 2018-02-04 20:31 Kirill Maslinsky
  2018-02-04 21:09 ` Leonid Krivoshein
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Kirill Maslinsky @ 2018-02-04 20:31 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions


Всем привет, нужен совет.

На текущем Сизифе на сервере выполняю такую последовательность действий:

$ hsh --number=1 --initroot --pkg-build-list=basesystem --no-cache testing
$ hsh-shell --root --mount=/proc testing
hsh# ulimit
-bash: ulimit: file size: cannot get limit: Function not implemented

$ uname -a
Linux <localhost> 3.2.0-ovz-el-alt158 #1 SMP Thu Nov 23 20:40:39 UTC 2017 x86_64 GNU/Linux

Вопрос: с чем это может быть связано, если на домашней машине та же
последовательность действий на том же Сизифе приводит к нормальному результату
(unlimited)? Ядро на домашней машине
Linux <localhost> 4.9.76-std-def-alt1 #1 SMP Wed Jan 10 11:17:55 UTC 2018 x86_64 GNU/Linux

PS На самом деле мне в хэшере нужно запускать не ulimit, a httpd2, но
ему мешает запуститься именно эта ошибка ulimit.

--
КМ


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

* Re: [sisyphus] ulimit не работает в hasher
  2018-02-04 20:31 [sisyphus] ulimit не работает в hasher Kirill Maslinsky
@ 2018-02-04 21:09 ` Leonid Krivoshein
  2018-02-04 21:18 ` Leonid Krivoshein
  2018-02-04 23:12 ` Dmitry V. Levin
  2 siblings, 0 replies; 4+ messages in thread
From: Leonid Krivoshein @ 2018-02-04 21:09 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions


04.02.2018 23:31, Kirill Maslinsky пишет:
> $ hsh --number=1 --initroot --pkg-build-list=basesystem --no-cache testing
> $ hsh-shell --root --mount=/proc testing
> hsh# ulimit
> -bash: ulimit: file size: cannot get limit: Function not implemented

Могу лишь предположить, что в basesystem мало что входит.
Без --pkg-build-list=basesystem работает.
Можно (и нужно) расширить список.


-- 
Best regards,
Leonid Krivoshein.



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

* Re: [sisyphus] ulimit не работает в hasher
  2018-02-04 20:31 [sisyphus] ulimit не работает в hasher Kirill Maslinsky
  2018-02-04 21:09 ` Leonid Krivoshein
@ 2018-02-04 21:18 ` Leonid Krivoshein
  2018-02-04 23:12 ` Dmitry V. Levin
  2 siblings, 0 replies; 4+ messages in thread
From: Leonid Krivoshein @ 2018-02-04 21:18 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions


04.02.2018 23:31, Kirill Maslinsky пишет:
> --pkg-build-list=basesystem

--pkg-build-list=basesystem,apt,apt-conf-sisyphus,branding-alt-sisyphus-release,mount,file,sysvinit-tools 
к примеру работает. Может и это можно оптимизировать.


-- 
Best regards,
Leonid Krivoshein.



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

* Re: [sisyphus] ulimit не работает в hasher
  2018-02-04 20:31 [sisyphus] ulimit не работает в hasher Kirill Maslinsky
  2018-02-04 21:09 ` Leonid Krivoshein
  2018-02-04 21:18 ` Leonid Krivoshein
@ 2018-02-04 23:12 ` Dmitry V. Levin
  2 siblings, 0 replies; 4+ messages in thread
From: Dmitry V. Levin @ 2018-02-04 23:12 UTC (permalink / raw)
  To: ALT Linux Sisyphus mailing list

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

On Sun, Feb 04, 2018 at 11:31:41PM +0300, Kirill Maslinsky wrote:
> 
> Всем привет, нужен совет.
> 
> На текущем Сизифе на сервере выполняю такую последовательность действий:
> 
> $ hsh --number=1 --initroot --pkg-build-list=basesystem --no-cache testing
> $ hsh-shell --root --mount=/proc testing
> hsh# ulimit
> -bash: ulimit: file size: cannot get limit: Function not implemented
> 
> $ uname -a
> Linux <localhost> 3.2.0-ovz-el-alt158 #1 SMP Thu Nov 23 20:40:39 UTC 2017 x86_64 GNU/Linux

Это контейнер на ядре 2.6.32-ovz-el-alt158, в нём не реализован системный
вызов prlimit64.  Надо обновить ядро на HN до 2.6.32-alt162, с ним таких
проблем не будет.


-- 
ldv

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

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

end of thread, other threads:[~2018-02-04 23:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-04 20:31 [sisyphus] ulimit не работает в hasher Kirill Maslinsky
2018-02-04 21:09 ` Leonid Krivoshein
2018-02-04 21:18 ` Leonid Krivoshein
2018-02-04 23:12 ` 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