CI: Reenable Tumbleweed
PATCH 1/1 CI: Reenable Tumbleweed
50b3bae29 had to disable Tumbleweed due glibc-2.34 using new syscall clone3 which is not enabled in Docker seccomp filter [1].
Workaround is to disable Docker seccomp filtering, as we don't need this protection. This should help to avoid seccomp filtering in the future for all distros.
[1] https://bugzilla.opensuse.org/show_bug.cgi?id=1190670
---
Tested:
https://github.com/pevik/iputils/runs/4020083152?check_suite_focus=true
.github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+)
.github/workflows/ci.yml +6 -0
@@ -76,6 +76,11 @@ jobs: CC: clang METADATA: asciidoc-pdf + - container: "opensuse/tumbleweed" + env: + CC: gcc + METADATA: asciidoctor + - container: "opensuse/leap" env: CC: gcc
@@ -110,6 +115,7 @@ jobs: container: image: ${{ matrix.container }} env: ${{ matrix.env }} + options: --security-opt seccomp=unconfined steps: - name: Show OS
Signature · 5 lines
2.33.1 -- Mailing list info: https://lists.linux.it/listinfo/ltp
Hi,
<snip>
Quoted 4 lines
container: image: ${{ matrix.container }} env: ${{ matrix.env }}+ options: --security-opt seccomp=unconfined
Alternatively 'options: --privileged' could be used (to run privileged container), IMHO does not matter which of these we take.
Kind regards,
Petr
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
Hi!
Quoted 6 lines
Quoted 4 lines
container: image: ${{ matrix.container }} env: ${{ matrix.env }}+ options: --security-opt seccomp=unconfined
Alternatively 'options: --privileged' could be used (to run privileged container), IMHO does not matter which of these we take.
Looking at docker documentation it looks like --privileged disables much more than just the seccomp filtering. I do not think that this is a good idea. Let's go with just disabling seccomp for affected distros.
Signature · 5 lines
Cyril Hrubis [email protected] -- Mailing list info: https://lists.linux.it/listinfo/ltp
Quoted 11 lines
Hi!
Quoted 6 lines
Quoted 4 lines
container: image: ${{ matrix.container }} env: ${{ matrix.env }}+ options: --security-opt seccomp=unconfined
Alternatively 'options: --privileged' could be used (to run privileged container), IMHO does not matter which of these we take.
Looking at docker documentation it looks like --privileged disables much more than just the seccomp filtering. I do not think that this is a good idea. Let's go with just disabling seccomp for affected distros.
IMHO both are ok for just compilation (other projects use it as well for just CI doing compilation), but sure, let's use the minimum.
FYI this disables seccomp for all machines. Is that ok for you? IMHO that's not a big deal + we will not have to bother when Fedora also gets new enough glibc (IMHO problem will periodically occurs on bleeding edge distros when glibc starts to use new enough syscall).
Kind regards,
Petr
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
Cyril Hrubis
Acked-byHi!
Quoted 9 lines
Quoted 3 lines
Looking at docker documentation it looks like --privileged disables much more than just the seccomp filtering. I do not think that this is a good idea. Let's go with just disabling seccomp for affected distros.
IMHO both are ok for just compilation (other projects use it as well for just CI doing compilation), but sure, let's use the minimum.
FYI this disables seccomp for all machines. Is that ok for you? IMHO that's not a big deal + we will not have to bother when Fedora also gets new enough glibc (IMHO problem will periodically occurs on bleeding edge distros when glibc starts to use new enough syscall).
Anyways:
For the original patch that disables seccomp.
Signature · 5 lines
Cyril Hrubis [email protected] -- Mailing list info: https://lists.linux.it/listinfo/ltp
Hi Cyril,
Quoted 11 lines
Hi!
Quoted 9 lines
Quoted 3 lines
Looking at docker documentation it looks like --privileged disables much more than just the seccomp filtering. I do not think that this is a good idea. Let's go with just disabling seccomp for affected distros.
IMHO both are ok for just compilation (other projects use it as well for just CI doing compilation), but sure, let's use the minimum.
FYI this disables seccomp for all machines. Is that ok for you? IMHO that's not a big deal + we will not have to bother when Fedora also gets new enough glibc (IMHO problem will periodically occurs on bleeding edge distros when glibc starts to use new enough syscall).
Quoted 5 lines
Anyways:
Acked-by Cyril Hrubis <[email protected]>For the original patch that disables seccomp.
Thanks, pushed!
Kind regards,
Petr
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp