New etrace features

It seems etrace does not support the --no-trace flag, am I missing something ?

om26er@HomePC:~/Desktop/desync$ etrace --no-trace exec --cold slack
unknown flag `no-trace'
om26er@HomePC:~/Desktop/desync$ snap info etrace
name:      etrace
summary:   etrace traces programs for debugging or performance analysis
publisher: Ian Johnson (anonymouse67)
store-url: https://snapcraft.io/etrace
license:   GPL-3.0
description: |
  etrace is a utility like strace or ltrace which uses ptrace to follow
  programs executed by a main program for performance and debugging analysis. It
  also supports limited tracing of file accesses for analyzing what files a
  program accesses during it's execution.
commands:
  - etrace
snap-id:      XxY9oiPHYSsta0OGWc223v5v0bLPeyvN
tracking:     latest/stable
refresh-date: today at 01:42 PKT
channels:
  latest/stable:    0.9-2-ge2e6f60 2021-08-25 (326) 1MB classic
  latest/candidate: 0.9-2-ge2e6f60 2021-08-25 (326) 1MB classic
  latest/beta:      ↑                                   
  latest/edge:      0.9-7-g1f2f25e 2021-09-20 (359) 1MB classic
installed:          0.9-2-ge2e6f60            (326) 1MB classic

Sorry that should be etrace exec --no-trace --cold slack

I got this. I am surely providing the correct password

om26er@HomePC:~$ etrace exec --no-trace --cold slack
[sudo] password for om26er: 
failed to remove snap slack: exit status 1 (error: access denied (try with sudo)
)

Let’s take this to a new github issue, can you file one over at github.com/canonical/etrace/issues/new ?

I’m guessing executing snap login prior to running etrace could solve this.

I think I found the one instance where we were relying on the user being snap logged in and pushed a PR fixing that, it should be on the edge channel shortly if you would like to test