*** This bug is a duplicate of bug 1659719 *** https://bugs.launchpad.net/bugs/1659719
** Also affects: openssh (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1777445 Title: /snap/bin isn't in PATH in a non-interactive shell, eg. via ssh Status in openssh package in Ubuntu: New Status in snapd package in Ubuntu: New Bug description: 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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1777445/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp