From: "Dmitry V. Levin" <ldv@altlinux.org> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] [Erlang] ограничение на количество потоков в Альте Date: Sun, 21 Nov 2021 15:09:40 +0300 Message-ID: <20211121120940.GC8487@altlinux.org> (raw) In-Reply-To: <47e473aa1eebfdb707b0037529104a6bf685535b.camel@altlinux.org> On Sun, Nov 21, 2021 at 02:56:05PM +0300, Nikolay A. Fetisov wrote: > В Вс, 21/11/2021 в 13:00 +0300, Dmitry V. Levin пишет: > > ... > > > > Серия изменений v5.14-rc1~153^2~2, призванная решить эту проблему, > > в качестве побочного эффекта позволяет любому непривилегированному > > пользователю превышать ограничения RLIMIT_NPROC и нескольких других > > лимитов путём создания userns и переноса в них своей активности. > > Т.е. теперь namespaces могут создавать и обычные пользователи... > Проверил на p10 / 5.10.72-std-def-alt1 - можно, > на p9 / 5.4.62-std-def-alt1 от пользователя - > "unshare failed: Операция не позволена". Это как раз зависит от положения переключателя /proc/sys/kernel/userns_restrict, см. соседний тред. > Хотя, как минимум внутри контейнеров LXC/LXD это не так страшно, > есть ещё ограничение по числу процессов в контейнере в целом, > и оно успешно срабатывает. Но если внутри контейнера можно создавать userns, то это ограничение, видимо, обходится таким же образом, как и глобальные ограничения? Или что-то препятствует этому? -- ldv
next prev parent reply other threads:[~2021-11-21 12:09 UTC|newest] Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-11-20 11:53 ` [devel] [#290158] FAILED del=python-module-yaml Dmitry V. Levin 2021-11-20 12:07 ` [devel] [Erlang] ограничение на количество потоков в Альте Илья Курдюков 2021-11-20 12:11 ` Dmitry V. Levin 2021-11-20 12:14 ` Anton Farygin 2021-11-20 15:04 ` Nikolay A. Fetisov 2021-11-20 18:15 ` mikhailnov 2021-11-20 19:07 ` Gleb Fotengauer-Malinovskiy 2021-11-21 8:59 ` Nikolay A. Fetisov 2021-11-21 10:00 ` Dmitry V. Levin 2021-11-21 11:56 ` Nikolay A. Fetisov 2021-11-21 12:09 ` Dmitry V. Levin [this message] 2021-11-21 12:37 ` Nikolay A. Fetisov 2021-11-21 12:55 ` Dmitry V. Levin 2021-11-21 13:09 ` Nikolay A. Fetisov 2021-11-21 12:52 ` Alexey Gladkov 2021-11-21 13:00 ` Dmitry V. Levin 2021-11-21 13:15 ` Alexey Gladkov 2021-11-21 13:37 ` Dmitry V. Levin 2021-11-21 17:46 ` Michael Shigorin 2021-11-20 16:07 ` Dmitry V. Levin 2021-11-20 17:24 ` Andrew A. Vasilyev 2021-11-20 12:46 ` Илья Курдюков
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=20211121120940.GC8487@altlinux.org \ --to=ldv@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