Same on Jammy:

ubuntu@u1:~$ snap version
snap          2.73+ubuntu22.04
snapd         2.73+ubuntu22.04
series        16
ubuntu        22.04
kernel        5.15.0-1088-kvm
architecture  amd64
ubuntu@u1:~$ snap run --strace hello
/usr/bin/strace: Process 2489 attached
--- stopped by SIGSTOP ---
--- SIGCONT {si_signo=SIGCONT, si_code=SI_USER, si_pid=2480, si_uid=1000} ---
[pid  2489] execve("/snap/hello/42/snap/command-chain/snapcraft-runner", 
["/snap/hello/42/snap/command-chai"..., "/snap/hello/42/bin/hello"], 
0xc000166a00 /* 36 vars */ <unfinished ...>
[pid  2500] futex(0xc00003a948, FUTEX_WAIT_PRIVATE, 0, NULL) = ?
[pid  2499] <... futex resumed>)        = ?
[pid  2499] +++ exited with 0 +++
...
fstat(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(0x88, 0), ...}) = 0
write(1, "Hello, world!\n", 14Hello, world!
)         = 14
close(1)                                = 0
close(2)                                = 0
exit_group(0)                           = ?
+++ exited with 0 +++

** Tags removed: verification-needed-jammy
** Tags added: verification-done-jammy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2127766

Title:
  snap run --strace doesn't work with sudo-rs [sudo -E not supported]

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/2127766/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to