All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sean Young <sean@mess.org>
To: Hans Verkuil <hverkuil@xs4all.nl>
Cc: linux-media@vger.kernel.org
Subject: Re: [PATCH v4l-utils v2 2/2] keytable: cannot load BPF decoders from udevd
Date: Mon, 28 Oct 2019 09:46:59 +0000	[thread overview]
Message-ID: <20191028094659.GA25747@gofer.mess.org> (raw)
In-Reply-To: <20191027145451.GA13871@gofer.mess.org>

On Sun, Oct 27, 2019 at 02:54:51PM +0000, Sean Young wrote:
> On Sun, Oct 27, 2019 at 03:18:55PM +0100, Hans Verkuil wrote:
> > 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 :)

I think this could be solved by having configure check for SystemCallFilter,
like so:

	grep -s SystemCallFilter /lib/systemd/system/systemd-udevd.service 

and then installing the override if needed. I'll try to do this in the next
few days.

Thanks,
Sean

      reply	other threads:[~2019-10-28  9:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-24 15:33 [PATCH v4l-utils 1/2] sync v4l-utils.spec with the fedora repo Sean Young
2019-10-24 15:33 ` [PATCH v4l-utils v2 2/2] keytable: cannot load BPF decoders from udevd Sean Young
2019-10-27 14:18   ` Hans Verkuil
2019-10-27 14:54     ` Sean Young
2019-10-28  9:46       ` Sean Young [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191028094659.GA25747@gofer.mess.org \
    --to=sean@mess.org \
    --cc=hverkuil@xs4all.nl \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.