You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Leona Yoda (Jira)" <ji...@apache.org> on 2022/04/13 09:33:00 UTC
[jira] [Comment Edited] (BIGTOP-3664) Building components in Docker requires additional parameters on Fedora 35
[ https://issues.apache.org/jira/browse/BIGTOP-3664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17521574#comment-17521574 ]
Leona Yoda edited comment on BIGTOP-3664 at 4/13/22 9:32 AM:
-------------------------------------------------------------
This is probably because fedora 35 uses newer systemd (v239)
[https://github.com/systemd/systemd/issues/19245]
[https://github.com/moby/moby/issues/42275]
Since systemd 238, read only cgroup mounting does not work well, so users have to add
--tmpfs /run --tmpfs /tmp --cgroupns=host -v /sys/fs/cgroup:/sys/fs/cgroup:rw
or
--privileged
to gradle now.
For now, in Bigtop, only fedra-35 uses systemd > v238, so I created a PR that add warning message to gradle.
was (Author: yoda-mon):
This is probably because fedora 35 uses newer systemd (v239)
[https://github.com/systemd/systemd/issues/19245]
[https://github.com/moby/moby/issues/42275]
Since systemd 238, read only cgroup mounting does not work well, so users have to add
--tmpfs /run --tmpfs /tmp --cgroupns=host -v /sys/fs/cgroup:/sys/fs/cgroup:rw
or
--privileged
to gradle now.
For now, in Bigtop, only fedra-35 uses systemd > v238, so I created a PR that add warning message to gradle.
> Building components in Docker requires additional parameters on Fedora 35
> -------------------------------------------------------------------------
>
> Key: BIGTOP-3664
> URL: https://issues.apache.org/jira/browse/BIGTOP-3664
> Project: Bigtop
> Issue Type: Bug
> Components: build, docker
> Reporter: Kengo Seki
> Priority: Major
> Fix For: 3.1.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> A follow-up for BIGTOP-3658. As reported in [https://github.com/apache/bigtop/pull/880#issuecomment-1083073140], building components in Docker seems to require the following options on Fedora 35.
> {code:java}
> --tmpfs /run --tmpfs /tmp --cgroupns=host -v /sys/fs/cgroup:/sys/fs/cgroup:rw
> {code}
> The {{./gradlew *-ind}} commands should compensate these options, or it should be documented somewhere at least.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)