I have an Ubuntu 24.04. running in an LXC container that is based on template ubuntu-24.04-standard_24.04.-2_amd64.tar.zst and I'm having some problems with it.
I can't get to the output of dmesg.
$ dmesg
dmesg: read kernel buffer failed: Operation not permitted
Also with
$ sudo dmesg
I get the same error message.
When I try to fix this I get this message
$ sudo sysctl kernel.dmesg_restrict=0
sysctl: setting key "kernel.dmesg_restrict", ignoring: Read-only file system
kernel.dmesg_restrict = 0
What can I do to see the messages?
Proxmox: 8.3.2
CT Template: ubuntu-24.04-standard_24.04.-2_amd64.tar.zst
I can't get to the output of dmesg.
$ dmesg
dmesg: read kernel buffer failed: Operation not permitted
Also with
$ sudo dmesg
I get the same error message.
When I try to fix this I get this message
$ sudo sysctl kernel.dmesg_restrict=0
sysctl: setting key "kernel.dmesg_restrict", ignoring: Read-only file system
kernel.dmesg_restrict = 0
What can I do to see the messages?
Proxmox: 8.3.2
CT Template: ubuntu-24.04-standard_24.04.-2_amd64.tar.zst