Cannot locate base snap core18: Permission denied

ubuntu@lxdcontainer:~$ sudo dmesg | grep DENIED dmesg: read kernel buffer failed: Operation not permitted

ubuntu@lxdcontainer:~$ ls -lah /var/log/dmesg -rw-r–r-- 1 root adm 0 Oct 29 00:38 /var/log/dmesg

The /var/log/dmesg file is empty. This might be because of how LXD mounts those paths.