public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: "Bezdeka, Florian" <florian.bezdeka@siemens.com>,
	"ubely@ilbers.de" <ubely@ilbers.de>,
	"isar-users@googlegroups.com" <isar-users@googlegroups.com>,
	"Moessbauer, Felix" <felix.moessbauer@siemens.com>
Subject: Re: ISAR schroot mountpoints when running in container
Date: Fri, 1 Jul 2022 12:43:47 +0200	[thread overview]
Message-ID: <88c61c25-40d7-3b02-3b9d-40cf459c7edb@siemens.com> (raw)
In-Reply-To: <34a96a67d430b37f36892cf2c5cc9b5922655562.camel@siemens.com>

On 01.07.22 12:30, Bezdeka, Florian wrote:
> On Fri, 2022-07-01 at 13:23 +0300, Uladzimir Bely wrote:
>> In the email from Friday, 1 July 2022 12:11:42 +03 user Moessbauer, Felix 
>> wrote:
>>> Hi,
>>>
>>> as we now have sbuild in ISAR next, first users stumble upon issues when
>>> running the kas docker image in the gitlab-ci. This requires additional
>>> mountpoints, as the schroot itself uses overlayfs and stacking two
>>> overlayfs is not possible. By that, you have to mount the overlay from the
>>> host.
>>>
>>> The kas-container script already has support for that, but it lacks
>>> documentation on how to configure this manually. In short: The following
>>> mountpoint has to be added (as RW): /var/lib/schroot/union/overlay
>>>
>>> As this is neither an ISAR issue, nor a KAS issue per-se, I send this to
>>> both lists.
>>>
>>
>> Hello.
>>
>> Yes, this overlayfs-over-overlayfs issue can be solved by something like 
>>
>> `volumes = ["/path/to/overlay:/var/lib/schroot/union/overlay"]`
>>
>> placed to `/etc/gitlab-runner/config.toml`, as mentioned in 'sbuild' series 
>> cover-letter
> 
> Oh no. That's going to kill a lot of gitlab-ci setups. Even kas-
> container based environments (often used as local development
> environment) will need adjustments. Uncool.
> 
> Anyway, I will try to look into the kas-container script. Let's hope
> there is a simple solution for adding one more mount.
> 

When designing that, we should also have an eye on the optimization of
mapping build/tmp/ onto a tmpfs mount inside the container.

Jan

-- 
Siemens AG, Technology
Competence Center Embedded Linux

  reply	other threads:[~2022-07-01 10:43 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-01  9:11 Moessbauer, Felix
2022-07-01  9:27 ` Bezdeka, Florian
2022-07-01  9:36   ` Moessbauer, Felix
2022-07-01 10:05     ` Bezdeka, Florian
2022-07-01 10:23 ` Uladzimir Bely
2022-07-01 10:30   ` Bezdeka, Florian
2022-07-01 10:43     ` Jan Kiszka [this message]
2022-07-01 11:30       ` Moessbauer, Felix
2022-07-01 11:38         ` Henning Schild
2022-07-01 11:48           ` Bezdeka, Florian
2022-07-01 12:08         ` Anton Mikanovich
2022-07-01 12:25           ` Moessbauer, Felix
2022-07-01 15:07             ` Gylstorff Quirin
2022-07-05 13:40               ` Moessbauer, Felix

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=88c61c25-40d7-3b02-3b9d-40cf459c7edb@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=felix.moessbauer@siemens.com \
    --cc=florian.bezdeka@siemens.com \
    --cc=isar-users@googlegroups.com \
    --cc=ubely@ilbers.de \
    /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