[Touch-packages] [Bug 1952353] Re: dmesg: read kernel buffer failed: Operation not permitted

2022-04-03 Thread Marji Cermak
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:

[Touch-packages] [Bug 1952353] Re: dmesg: read kernel buffer failed: Operation not permitted

2022-03-12 Thread Marji Cermak
I can confirm dmesg on Ubuntu 21.10 gives me "Operation not permitted", even though my user is in the "adm" group: $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 21.10 Release:21.10 Codename: impish $ ls -l /var/log/dmesg* -rw-r- 1

[Touch-packages] [Bug 1952353] Re: dmesg: read kernel buffer failed: Operation not permitted

2021-12-01 Thread Skewray
Apparently I am in the adm group. Who knew? Seems like dmesg could check the user for that. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to util-linux in Ubuntu. https://bugs.launchpad.net/bugs/1952353 Title: dmesg: read

[Touch-packages] [Bug 1952353] Re: dmesg: read kernel buffer failed: Operation not permitted

2021-12-01 Thread Mauricio Faria de Oliveira
That isn't the case, apparently. The file is only readable by user/group, but not others, in Impish, at least. Upgrade: $ lsb_release -cs impish $ ls -l /var/log/dmesg -rw-r- 1 root adm 95595 Oct 28 11:46 /var/log/dmesg Install: $ lsb_release -cs impish $ ls -l /var/log/dmesg -rw-r-

[Touch-packages] [Bug 1952353] Re: dmesg: read kernel buffer failed: Operation not permitted

2021-11-26 Thread Skewray
And yet /var/log/dmesg is wide open. How entertaining! -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to util-linux in Ubuntu. https://bugs.launchpad.net/bugs/1952353 Title: dmesg: read kernel buffer failed: Operation not

[Touch-packages] [Bug 1952353] Re: dmesg: read kernel buffer failed: Operation not permitted

2021-11-26 Thread Mauricio Faria de Oliveira
This has been intentionally changed a while ago, please see [1]. Thanks! [1] https://lists.ubuntu.com/archives/ubuntu-devel/2020-June/041063.html ** Changed in: util-linux (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Touch