From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DFC61CA9EAF for ; Sun, 27 Oct 2019 14:54:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AF512214AF for ; Sun, 27 Oct 2019 14:54:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726786AbfJ0Oyx (ORCPT ); Sun, 27 Oct 2019 10:54:53 -0400 Received: from gofer.mess.org ([88.97.38.141]:58601 "EHLO gofer.mess.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726682AbfJ0Oyw (ORCPT ); Sun, 27 Oct 2019 10:54:52 -0400 Received: by gofer.mess.org (Postfix, from userid 1000) id ABECDC634B; Sun, 27 Oct 2019 14:54:51 +0000 (GMT) Date: Sun, 27 Oct 2019 14:54:51 +0000 From: Sean Young To: Hans Verkuil Cc: linux-media@vger.kernel.org Subject: Re: [PATCH v4l-utils v2 2/2] keytable: cannot load BPF decoders from udevd Message-ID: <20191027145451.GA13871@gofer.mess.org> References: <20191024153305.22150-1-sean@mess.org> <20191024153305.22150-2-sean@mess.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Hi Hans, On Sun, Oct 27, 2019 at 03:18:55PM +0100, Hans Verkuil wrote: > Hi Sean, > > After this was installed on my debian system (running the 'testing' version > of debian) the laptop would no longer boot since the systemd-udevd service > failed to load. > > My laptop runs systemd 242. > > After removing the installed 50-rc_keymap.conf it worked again. > > So either this file is no good, or it requires a newer systemd for it to > work. I think I know what the problem is. On Fedora, for the systemd-udevd.service there is this setting. SystemCallFilter=@system-service @module @raw-io then 50-rc_keymap.conf adds: SystemCallFilter=bpf Which is concatenated to the end. On the debian version of systemd, SystemCallFilter is not set. So SystemCallFilter=bpf means that only the bpf syscall is allowed. I'm not sure what the correct solution is. I'll try a few things and if I don't come up with anything, I'll have to revert. Suggestions welcome :) Thanks for debugging and reporting. Sean