I’m want to make
chameleon snap classic. The main reason why I want classic - I wasn’t able to run properly under strict confinment.
Here are some technical details. Chameleon is electron app, which spawns aspnet core 3.0 self contained back-end for serving its UI content.
With devmode app runs perfectly, but with strict backend child process fails to start.
I was able to track down problem to this syslog message
SECCOMP auid=1000 uid=1000 gid=1000 ses=1 pid=4917 comm="chameleon-backe" exe="/snap/chameleon/7/resources/backend/chameleon-backend" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7fd4de28cef7 code=0x50000
As I understand dotnetcore calls
sched_setaffinity kernel function, which is not allowed by seccomp rules and i don’t have any control on it