On 25/10/2016 19:37, Sergio Schvezov wrote: > > ``` > snapcraft prime > snap try prime --devmode > cp /usr/bin/strace prime > snap shell <snap.app> --shell > (sudo) ./strace ... > ```
I got a few different issues when attempting to run my snap under sudo and strace. I solved them by using this command line: SUDO_ASKPASS=cat sudo -E strace -u <my-user> <binary> Maybe other will find this useful. Ciao, Alberto -- Snapcraft mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
