ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] /dev/shm
Date: Wed, 28 Aug 2019 21:59:38 +0300
Message-ID: <20190828185938.GA31297@altlinux.org> (raw)
In-Reply-To: <67f646b8-4a87-d352-9dfa-529a806ffcd1@basealt.ru>

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

On Wed, Aug 28, 2019 at 09:50:06PM +0300, Anton Farygin wrote:
> On 28.08.2019 21:45, Anton Farygin wrote:
> > Могут сломаться другие пользователи hasher'а, поскольку полностью
> > прекращается обмен файлами в hasher/chroot/dev между процессами
> > снаружи и внутри чрута.
> >
> > Например, пришлось починить пакет mkve, потому что mkve-cache
> > использовал hsh-fakedev, которого больше нет.
> >
> > Я не удивлюсь, если сломаются какие-то пользователи mkimage. 
> 
> Интересно, как станет себя вести hasher в системах виртуализации. В 
> докере, в lxc.

Везде, где можно создавать новые tmpfs, поведение будет таким же,
как и прежде.  Везде, где нельзя создавать новые tmpfs, hasher
не будет работать совсем.

> Скорее всего основные поломки могут случиться там, где как-то 
> ограничивают возможность создания устройств.

Устройства создавались и раньше.  Изменяется то, на какой файловой системе
они создаются.  Раньше это было непосредственно в hasher/chroot/dev,
теперь это отдельно созданная tmpfs:

$ hsh-run --mount=/proc -- cat /proc/mounts
dev /dev tmpfs rw,nosuid,noexec,relatime,size=4k,nr_inodes=256,mode=755 0 0
shmfs /dev/shm tmpfs rw,nosuid,nodev,noexec,relatime,size=1024k,nr_inodes=256 0 0
proc /proc proc ro,nosuid,nodev,noexec,relatime,gid=19,hidepid=1 0 0


-- 
ldv

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

  reply	other threads:[~2019-08-28 18:59 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-28  8:27 ` [devel] Fwd: [cyber] I: Sisyphus-20190827 x86_64 beehive_status: +34 -5 (105) Levin Stanislav
2019-08-28  9:04   ` [devel] /dev/shm Dmitry V. Levin
2019-08-28  9:55     ` Dmitry V. Levin
2019-08-28  9:58       ` Anton Farygin
2019-08-28 10:03       ` Валерий Иноземцев
2019-08-28 10:13         ` Dmitry V. Levin
2019-08-28 10:57           ` Dmitry V. Levin
2019-08-29  0:56             ` Alexey Shabalin
2019-08-28 13:54     ` Dmitry V. Levin
2019-08-28 14:33       ` Alexey Gladkov
2019-08-28 15:02         ` Dmitry V. Levin
2019-08-28 15:11           ` Alexey Gladkov
2019-08-28 15:23             ` Dmitry V. Levin
2019-08-28 18:08               ` Alexey Gladkov
2019-08-28 18:11                 ` Anton Farygin
2019-08-28 18:24                   ` Dmitry V. Levin
2019-08-28 18:45                     ` Anton Farygin
2019-08-28 18:50                       ` Anton Farygin
2019-08-28 18:59                         ` Dmitry V. Levin [this message]
2019-08-29 21:08                           ` Dmitry V. Levin
2019-08-28 18:15                 ` Dmitry V. Levin
2019-08-28 19:50                   ` Alexey Gladkov
2019-08-28 20:53                     ` Dmitry V. Levin
2019-08-28 21:46                       ` Alexey Gladkov
2019-08-28 22:52                         ` Dmitry V. Levin
2019-08-29 13:58                           ` Andrey Savchenko
2019-08-29 19:24                             ` Dmitry V. Levin
2019-08-29 19:36                               ` Anton Farygin
2019-08-29 23:39                         ` Leonid Krivoshein
2019-08-30  0:27                           ` Dmitry V. Levin
2019-08-30  4:30                             ` Leonid Krivoshein
2019-08-28 16:31         ` Stanislav Levin

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=20190828185938.GA31297@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