Hi Nino, I found a RedHat bug [1] that describes a similar situation
(affected is dhclient on ppc64le, but the error is the same).

The suggested workaround is setting

  net.core.bpf_jit_limit = 262144000

via sysctl. I checked and on amd64 I find

  net.core.bpf_jit_limit = 264241152

while on an arm64 machine that's:

  net.core.bpf_jit_limit = 33554432

(both machines are running Bionic), so it looks arch-dependent indeed.
Could you please try bumping that value, and check if the issue goes
away?

If it does go away we can ask the kernel team what they think about
bumping it by default.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1647947

** Bug watch added: Red Hat Bugzilla #1647947
   https://bugzilla.redhat.com/show_bug.cgi?id=1647947

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libseccomp in Ubuntu.
https://bugs.launchpad.net/bugs/1956954

Title:
  Can't load seccomp filter

Status in libseccomp package in Ubuntu:
  Incomplete

Bug description:
  After migrating from Ubuntu 20 amd64 to aarch64 I started experiencing
  "can't load seccomp filter" when doing `apt update && apt upgrade` and
  "Kernel refuses to turn on BPF filters" when using Puppeteer.

  I wrote about it more extensively here:
  https://stackoverflow.com/questions/69892137/after-a-few-days-i-can-
  no-longer-start-puppeteer-until-i-restart-the-server

  
  lsb_release -rd
  ---------------
  Description:  Ubuntu 20.04.3 LTS
  Release:      20.04

  apt-cache policy seccomp
  ---------------
  seccomp:
    Installed: (none)
    Candidate: 2.5.1-1ubuntu1~20.04.2
    Version table:
       2.5.1-1ubuntu1~20.04.2 500
          500 http://us-east-1.ec2.ports.ubuntu.com/ubuntu-ports 
focal-updates/main arm64 Packages
          500 http://ports.ubuntu.com/ubuntu-ports focal-security/main arm64 
Packages
       2.4.3-1ubuntu1 500
          500 http://us-east-1.ec2.ports.ubuntu.com/ubuntu-ports focal/main 
arm64 Packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libseccomp/+bug/1956954/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to