Tested on Oracular
------------------

snap version
snap    2.67.1+24.10
snapd   2.67.1+24.10
series  16
ubuntu  24.10
kernel  6.11.0-18-generic

sudo snap install charmcraft --channel=2.x --classic
2025-02-28T07:21:10Z INFO Waiting for automatic snapd restart...
charmcraft (2.x/stable) 2.7.5 from Canonical✓ installed

ubuntu@versed-agama:~$ 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@versed-agama:~$

-- 
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