Bug#954312: systemd: FTBFS on riscv64: test-seccomp fails: Assertion 'name' failed at src/test/test-seccomp.c:49

2020-08-21 Thread Michael Biebl
Hi Am 21.08.20 um 10:18 schrieb Aurelien Jarno: > Please note that a modified patch with #ifdef hackery to support older > libseccomp versions has been merged upstream. Just seen that. Thanks for the heads up. Will pull that into the next upload (probably later today) Regards, Michael signat

Bug#954312: systemd: FTBFS on riscv64: test-seccomp fails: Assertion 'name' failed at src/test/test-seccomp.c:49

2020-08-21 Thread Aurelien Jarno
On 2020-03-20 19:35, Michael Biebl wrote: > Am 20.03.20 um 19:21 schrieb Michael Biebl: > > Am 20.03.20 um 17:49 schrieb Aurelien Jarno: > >> So you were right that there are way more things to change than my > >> initial patch. I came up with the attached patch. With it I confirm that > > > > Tha

Bug#954312: systemd: FTBFS on riscv64: test-seccomp fails: Assertion 'name' failed at src/test/test-seccomp.c:49

2020-04-04 Thread Aurelien Jarno
Hi, On 2020-04-02 12:10, Michael Biebl wrote: > Control: retitle -1 Enable seccomp support on riscv64 > Control: severity -1 wishlist > > Hi Aurelien, > > I decided to disable seccomp support again for riscv64 for the time > being. This will make backports easier. > Once we have a libseccomp in

Bug#954312: systemd: FTBFS on riscv64: test-seccomp fails: Assertion 'name' failed at src/test/test-seccomp.c:49

2020-04-02 Thread Michael Biebl
Control: retitle -1 Enable seccomp support on riscv64 Control: severity -1 wishlist Hi Aurelien, I decided to disable seccomp support again for riscv64 for the time being. This will make backports easier. Once we have a libseccomp in stable which does have support for riscv64, I'll re-enable supp

Bug#954312: systemd: FTBFS on riscv64: test-seccomp fails: Assertion 'name' failed at src/test/test-seccomp.c:49

2020-03-20 Thread Aurelien Jarno
On 2020-03-20 19:40, Michael Biebl wrote: > Am 20.03.20 um 19:35 schrieb Michael Biebl: > > ../src/shared/seccomp-util.c: In function ‘seccomp_arch_to_string’: > > ../src/shared/seccomp-util.c:136:14: error: ‘SCMP_ARCH_RISCV64’ > > undeclared (first use in this function); did you mean ‘SCMP_ARCH_PA

Bug#954312: systemd: FTBFS on riscv64: test-seccomp fails: Assertion 'name' failed at src/test/test-seccomp.c:49

2020-03-20 Thread Michael Biebl
Am 20.03.20 um 19:35 schrieb Michael Biebl: > ../src/shared/seccomp-util.c: In function ‘seccomp_arch_to_string’: > ../src/shared/seccomp-util.c:136:14: error: ‘SCMP_ARCH_RISCV64’ > undeclared (first use in this function); did you mean ‘SCMP_ARCH_PARISC64’? > case SCMP_ARCH_RISCV64: >

Bug#954312: systemd: FTBFS on riscv64: test-seccomp fails: Assertion 'name' failed at src/test/test-seccomp.c:49

2020-03-20 Thread Michael Biebl
Am 20.03.20 um 19:21 schrieb Michael Biebl: > Am 20.03.20 um 17:49 schrieb Aurelien Jarno: >> So you were right that there are way more things to change than my >> initial patch. I came up with the attached patch. With it I confirm that > > Thanks. I've forwarded it as > https://github.com/systemd

Bug#954312: systemd: FTBFS on riscv64: test-seccomp fails: Assertion 'name' failed at src/test/test-seccomp.c:49

2020-03-20 Thread Michael Biebl
Am 20.03.20 um 17:49 schrieb Aurelien Jarno: > So you were right that there are way more things to change than my > initial patch. I came up with the attached patch. With it I confirm that Thanks. I've forwarded it as https://github.com/systemd/systemd/pull/15176 signature.asc Description: Open

Bug#954312: systemd: FTBFS on riscv64: test-seccomp fails: Assertion 'name' failed at src/test/test-seccomp.c:49

2020-03-20 Thread Aurelien Jarno
On 2020-03-20 08:47, Aurelien Jarno wrote: > On 2020-03-20 01:35, Michael Biebl wrote: > > Am 20.03.20 um 01:32 schrieb Michael Biebl: > > > Have you tested, that seccomp is working on riscv64 with 5.5? > > > Something like this should lead to a blocked ping: > > > > Indeed that test doesn't work

Bug#954312: systemd: FTBFS on riscv64: test-seccomp fails: Assertion 'name' failed at src/test/test-seccomp.c:49

2020-03-20 Thread Aurelien Jarno
On 2020-03-20 01:35, Michael Biebl wrote: > Am 20.03.20 um 01:32 schrieb Michael Biebl: > > Have you tested, that seccomp is working on riscv64 with 5.5? > > Something like this should lead to a blocked ping: > Indeed that test doesn't work, I mean seccomp is ineffective and the ping succeed. It

Bug#954312: systemd: FTBFS on riscv64: test-seccomp fails: Assertion 'name' failed at src/test/test-seccomp.c:49

2020-03-19 Thread Michael Biebl
Am 20.03.20 um 01:32 schrieb Michael Biebl: > Have you tested, that seccomp is working on riscv64 with 5.5? > Something like this should lead to a blocked ping: Here is a better test: # cat test.service [Unit] Description=test seccomp filter [Service] ExecStart=ping -c 1 www.debian.org SystemCa

Bug#954312: systemd: FTBFS on riscv64: test-seccomp fails: Assertion 'name' failed at src/test/test-seccomp.c:49

2020-03-19 Thread Michael Biebl
Am 20.03.20 um 00:23 schrieb Aurelien Jarno: > It happens that upstream systemd doesn't support yet riscv64. I came > with a very simple patch to fix that issue: > > --- systemd-245.2.orig/src/test/test-seccomp.c > +++ systemd-245.2/src/test/test-seccomp.c > @@ -72,6 +72,7 @@ static void test_arch

Bug#954312: systemd: FTBFS on riscv64: test-seccomp fails: Assertion 'name' failed at src/test/test-seccomp.c:49

2020-03-19 Thread Michael Biebl
Thanks Aurelien. I'd like to forward this patch to upstream. For that it would be great if it was git am formatted, so it is properly attributed to you. Would you mind sending me such an updated patch? Regards, Michael signature.asc Description: OpenPGP digital signature

Bug#954312: systemd: FTBFS on riscv64: test-seccomp fails: Assertion 'name' failed at src/test/test-seccomp.c:49

2020-03-19 Thread Aurelien Jarno
Package: systemd Version: 245.2-1 Severity: normal Tags: patch Dear maintainer, The latest version of systemd enabled seccomp support on riscv64. Thanks for doing that. However it now fails to build due to the test test-seccomp failing: | 321/486 test-seccompFAIL