Hi Andreas,

In this case the issue is specific to snapd installed as a snap, so it
shouldn't be relevant to the proposed versions. However, I just checked
in both jammy and noble containers and the deb-installed version from
proposed still behaves as expected so there was no reversion in the
behaviour.

Thanks,

Alex

root@maximum-bonefish:~# snap --version
snap    2.67.1+22.04
snapd   2.67.1+22.04
series  16
ubuntu  22.04
kernel  6.12.0-15-generic
root@maximum-bonefish:~# snap install charmcraft --channel=2.x --classic
2025-02-13T00:18:52Z INFO Waiting for automatic snapd restart...
charmcraft (2.x/stable) 2.7.3 from Canonical✓ installed
root@maximum-bonefish:~# 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
/root/snap/charmcraft/common/cache/charmcraft
root@maximum-bonefish:~#

root@diverse-hog:~# snap install --classic charmcraft --channel=2.x
2025-02-13T00:24:04Z INFO Waiting for automatic snapd restart...
charmcraft (2.x/stable) 2.7.3 from Canonical✓ installed
root@diverse-hog:~# snap --version
snap    2.67.1+24.04
snapd   2.67.1+24.04
series  16
ubuntu  24.04
kernel  6.12.0-15-generic
root@diverse-hog:~# 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
/root/snap/charmcraft/common/cache/charmcraft
root@diverse-hog:~#

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