[Bug 1952353] Re: dmesg: read kernel buffer failed: Operation not permitted
Marji Cermak
1952353 at bugs.launchpad.net
Sun Apr 3 12:10:21 UTC 2022
I can now see that the dmesg command - starting with Ubuntu 21.10 - is NOT meant to work for the users in "adm" group. It is now meant to be run as admin or with sudo. This is a security decision.
Described in here: https://ruffell.nz/programming/writeups/2020/10/24/getting-dmesg-restrict-enabled-in-ubuntu-groovy.html
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1952353
Title:
dmesg: read kernel buffer failed: Operation not permitted
Status in util-linux package in Ubuntu:
Invalid
Bug description:
Run /bin/dmesg, get:
dmesg: read kernel buffer failed: Operation not permitted
sudo dmesg works, but I should not have to do that.
ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: util-linux 2.36.1-8ubuntu2
ProcVersionSignature: Ubuntu 5.13.0-21.21-generic 5.13.18
Uname: Linux 5.13.0-21-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: XFCE
Date: Thu Nov 25 11:13:58 2021
ProcEnviron:
LANGUAGE=en_US
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
SHELL=/bin/tcsh
SourcePackage: util-linux
UpgradeStatus: Upgraded to impish on 2021-11-21 (3 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1952353/+subscriptions
More information about the foundations-bugs
mailing list