Bug#954312: systemd: FTBFS on riscv64: test-seccomp fails: Assertion 'name' failed at src/test/test-seccomp.c:49
Aurelien Jarno
aurel32 at debian.org
Fri Mar 20 16:49:46 GMT 2020
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, I mean seccomp is ineffective and the
> ping succeed. It looks like that I should also update the patch you
> pointed, I'll work on that and keep you updated.
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
the test ping service you send fails correctly when running with a 5.5
kernel:
| # systemctl status test
| * test.service - test seccomp filter
| Loaded: loaded (/etc/systemd/system/test.service; static; vendor preset: enabled)
| Active: failed (Result: signal) since Fri 2020-03-20 17:45:38 CET; 6s ago
| Process: 771 ExecStart=/bin/ping -c 1 www.debian.org (code=killed, signal=SYS)
| Main PID: 771 (code=killed, signal=SYS)
|
| Mar 20 17:45:38 riscv64 systemd[1]: Started test seccomp filter.
| Mar 20 17:45:38 riscv64 systemd[1]: test.service: Main process exited, code=killed, status=31/SYS
| Mar 20 17:45:38 riscv64 systemd[1]: test.service: Failed with result 'signal'.
Aurelien
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien at aurel32.net http://www.aurel32.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-seccomp-add-support-for-riscv64.patch
Type: text/x-diff
Size: 5959 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20200320/505af7fc/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20200320/505af7fc/attachment.sig>
More information about the Pkg-systemd-maintainers
mailing list