Hello,
llama-cpp fails to start without this interface connected. It uses sched_setaffinity on startup causing it to fail with the error below.
= Seccomp =
Time: 2026-06-06T22:4
Log: auid=1000 uid=1000 gid=1000 ses=3 subj=snap.llama-cpp.llama-cpp pid=3874605 comm="llama-cli" exe="/snap/llama-cpp/x1/bin/llama-cli" sig=0 arch=c000003e 203(sched_setaffinity) compat=0 ip=0x7b7af9509c19 code=0x50000
Syscall: sched_setaffinity
Suggestion:
* ignore the denial if the program otherwise works correctly (unconditional sched_setaffinity is often just noise)
I would like to have a store declaration for llama-cpp snap to have this process-control interface autoconnected.
Please see the PR that adds this interface to the snap: snap: enable strict confinement by talhaHavadar · Pull Request #32 · talhaHavadar/snap-llama.cpp · GitHub
- name: llama-cpp
- description: LLM inference in C/C++
- snapcraft: snap-llama.cpp/snap/snapcraft.yaml at push-vntyzzzlvzsy · talhaHavadar/snap-llama.cpp · GitHub
- upstream: GitHub - ggml-org/llama.cpp: LLM inference in C/C++ · GitHub
- upstream-relation: no direct relationship
- interfaces:
- process-control:
- request-type: auto-connection
- reasoning: application needs due to reason explained above (specifically needed for ROCm)
Looking forward to hear your feedback
Best regards