Solution to: systemd 231 SECCOMP error on Allwinner SOC

If you are playing around with new Debian or upgraded to Ubuntu Yakkety Yak, you eventually run into following errors:

systemd[4821]: systemd-logind.service: Failed at step SECCOMP spawning /lib/systemd/systemd-logind: Invalid argument
systemd[1]: Failed to start Login Service.

The issue is caused by the SECCOMP usage of the newly released systemd 231 version.

You need to figure out how your kernel is configured:

gzip -dc /proc/config.gz | grep SECCOMP

You will need following Kernel parameters:

CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
CONFIG_SECCOMP_FILTER=y
CONFIG_SECCOMP=y

However you not be able to select the upper three configurations as SECCOMP requires the removal of:

CONFIG_OABI_COMPAT

Config_OABI_Compat is the support for older ARM ABIs. You may not really need it, so could try to remove this support to enable SECCOMP.

In Short: If you see SECCOMP Errors, you need to rebuild the kernel with removed CONFIG_OABI_COMPAT and add following: CONFIG_HAVE_ARCH_SECCOMP_FILTER, CONFIG_SECCOMP_FILTER and
CONFIG_SECCOMP

Leave a Reply

Your email address will not be published. Required fields are marked *

Protected with IP Blacklist CloudIP Blacklist Cloud