From: Anton Mikanovich <amikan@ilbers.de>
To: Jan Kiszka <jan.kiszka@siemens.com>,
isar-users <isar-users@googlegroups.com>
Subject: Re: [PATCH v3] Avoid sharing of /dev/shm from the build context
Date: Mon, 28 Mar 2022 20:49:14 +0300 [thread overview]
Message-ID: <d2aed0b7-738f-0deb-6274-8582c13afca9@ilbers.de> (raw)
In-Reply-To: <402b0166-9aca-6f49-63b4-d24ac89f8505@siemens.com>
21.03.2022 14:50, Jan Kiszka wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
>
> By bind-mounting complete /dev into the various chroots, we also share
> the host instance of /dev/shm between them. If some package installation
> should actually make use of that tmpfs instance, it may find content of
> others there. That is at least not desirable, in few cases even
> problematic (sysrepo package uses it during postinst, and this causes
> troubles when multiple images are built in parallel).
>
> This decouples all instances by mounting new instances over the
> bind-mounted ones.
>
> While at it, it switches the recursive bind-mounting of /dev to
> explicit one. /dev/shm then becomes the only sub-mount. This is assumed
> to be sufficient for the given use cases.
>
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Applied to next, thanks.
prev parent reply other threads:[~2022-03-28 17:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-21 11:50 Jan Kiszka
2022-03-21 12:01 ` Baurzhan Ismagulov
2022-03-28 17:49 ` Anton Mikanovich [this message]
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=d2aed0b7-738f-0deb-6274-8582c13afca9@ilbers.de \
--to=amikan@ilbers.de \
--cc=isar-users@googlegroups.com \
--cc=jan.kiszka@siemens.com \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox