Tested on Focal
---------------

snap version
snap    2.67.1+20.04
snapd   2.67.1+20.04
series  16
ubuntu  20.04
kernel  5.4.0-205-generic

sudo snap install charmcraft --channel=2.x --classic
charmcraft (2.x/stable) 2.7.5 from Canonical✓ installed

ubuntu@electric-oilbird:/etc/apt$ echo '$SNAP/bin/python -c "from charmcraft 
import env; print(env.get_host_shared_cache_path())"' |PATH=/snap/bin 
/usr/bin/snap run --shell charmcraft
/home/ubuntu/snap/charmcraft/common/cache/charmcraft
ubuntu@electric-oilbird:/etc/apt$

Result: PASS

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

Title:
  $SNAP_USER_COMMON empty when getent cannot be found in $PATH

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


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

Reply via email to