@mvo it does, but unfortunately this still yields a permission denied since /etc/os-release on Ubuntu is a symlink and the target is not allowed:
root@maas:~# cat /var/lib/snapd/hostfs/etc/os-release cat: /var/lib/snapd/hostfs/etc/os-release: Permission denied
root@maas:~# ls -la /var/lib/snapd/hostfs/etc/os-release lrwxrwxrwx 1 root root 21 Jan 30 12:28 /var/lib/snapd/hostfs/etc/os-release -> ../usr/lib/os-release
root@maas:~# cat /var/lib/snapd/hostfs/usr/lib/os-release cat: /var/lib/snapd/hostfs/usr/lib/os-release: Permission denied
@mvo it does, but unfortunately this still yields a permission denied since /etc/os-release on Ubuntu is a symlink and the target is not allowed:
root@maas:~# cat /var/lib/ snapd/hostfs/ etc/os- release snapd/hostfs/ etc/os- release: Permission denied
cat: /var/lib/
root@maas:~# ls -la /var/lib/ snapd/hostfs/ etc/os- release snapd/hostfs/ etc/os- release -> ../usr/ lib/os- release
lrwxrwxrwx 1 root root 21 Jan 30 12:28 /var/lib/
root@maas:~# cat /var/lib/ snapd/hostfs/ usr/lib/ os-release snapd/hostfs/ usr/lib/ os-release: Permission denied
cat: /var/lib/