Public bug reported:

snapd   2.32.9

On a fresh VM (eg. Bionic), if from another machine I type:

ssh <host> 'echo $PATH'

/snap/bin doesn't appear. This causes, for example when I'm running lxd
from the snap:

ssh <host> 'lxc profile set default ...'

to fail.

This is similar but I think subtly different from bug 1771858 since I
don't think systemd will sit between ssh and its child non-interactive
session, so to fix this case do we need to hook into ssh eg. via PAM? Or
edit /etc/environment. I think some proposed fixes for bug 1771858 won't
fix this case so I'm filing this separately.

** Affects: snapd (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  /snap/bin isn't in PATH in a non-interactive shell, eg. via ssh

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to