blob: 11cf0478fe99ccbba0683f4a8a964816f39a455e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# Allow SysV IPC syscalls (shmget/shmat/shmdt/shmctl, etc.) so libcamhal
# can allocate its per-process shared-memory segment. Stock pipewire and
# wireplumber units set SystemCallFilter=@system-service mincore, which
# does NOT include @ipc -- libcamhal then fails at init with
# "Fail to allocate shared memory by shmget" and the camera never opens.
[Service]
SystemCallFilter=@ipc
# Wait for any conflicting holder of libcamhal's SysV shm key 0x43414d
# (typically GDM's greeter wireplumber running under DynamicUser=) to
# release it before we let libcamhal load. Without this, libcamhal's
# dlopen-time constructor can race GDM and wedge the entire session.
ExecStartPre=/usr/lib/libcamera-ipu6/wait-libcamhal-shm
|