[Note that you didn't answer on the ticket, I'm not sure if it's intentional, but I'm replying to you directly in case it was. Feel free to copy / quote my reply in public]
On Wed, 17 Sep 2025 10:59:11 +0800 ChangZhuo Chen (陳昌倬) <[email protected]> wrote: > On Tue, Sep 16, 2025 at 07:33:07PM +0200, Stefano Brivio wrote: > > would you mind trying to 'strace -f pasta -- true' and sharing the > > output? > > The following is output. I am not sure how to fix the Permission denied > error. The strace works with other binary like `ls`. > > $ strace -f pasta -- true > execve("/usr/bin/pasta", ["pasta", "--", "true"], 0x7fff4d848cd8 /* 108 > vars */) = -1 EACCES (Permission denied) > +++ killed by SIGSEGV +++ > [1] 2981418 segmentation fault strace -f pasta -- true I can't explain the SIGSEGV as a result of execve() being denied, but the issue starts smelling like either AppArmor or something wrong with the binary as currently stored on the filesystem. Could you try: 1. 'ls -l /usr/bin/pasta' 2. 'file /usr/bin/pasta' 3. 'aa-enforce pasta', and then start it again? 4. if 3. doesn't change anything, disable AppArmor altogether (temporarily, just for the test!) with 'aa-teardown', and try again? -- Stefano

