Autoconnection request of `process-control` for llama-cpp snap

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

Looking forward to hear your feedback

Best regards

This request has not been added to the review queue. It should be placed in the appropriate store-requests subcategory using the subcategory template for classic-confinement, privileged-interfaces and aliases requests.

@review-team I am not sure tagging will work but I might have broke the bot. The post should be in correct channel now as I moved it

1 Like

Hey @tchavadar

Same reasoning as for Autoconnect request: process-control for lemonade-server applies here. Thus, +1 from me for granting llama-cpp auto-connection to the process-control interface.

1 Like

I’ll give a +1 as well, this is required to function as expected with ROCm.

1 Like

Also +1 from me. Same reason appointed by @jslarraz #voteFor

Hello! This is also a +1 from me for granting process-control auto-connect to the llama-cpp snap given the necessary functionality.

Please let us know when you have uploaded a revision of the llama-cpp snap with the requested interface so we can grant this. Thank you!

Hello,

Package should be available with the process-control interface in latest/edge channel now.

+2 votes for, 0 votes against, granting auto-connect of interface process-control to snap llama-cpp. This is now live.

1 Like