Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #62083

Bug#908570: linux 4.18: dmesg readable as normal user

From Philipp Kern <pkern@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#908570: linux 4.18: dmesg readable as normal user
Date 2018-09-11 12:10 +0200
Message-ID <wwNMl-1o7-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Source: linux
Version: 4.18.6-1

Unfortunately I have experienced this on a rebuilt package and cannot 
easily test with the one actually in Debian unstable, but for me dmesg 
seems to work as a normal user again. "cat /dev/kmsg" just works:

[...]
open("/dev/kmsg", O_RDONLY|O_NONBLOCK)  = 3
lseek(3, 0, SEEK_DATA)                  = 0
read(3, "5,0,0,-;Linux version 4.18.0-1ro"..., 8191) = 157
[...]

% grep DMESG /boot/config-4.18.0-1rodete1-amd64
CONFIG_SECURITY_DMESG_RESTRICT=y

(We do very, very minimal patching to the kernel to make it work for us, 
hence the different ABI version. And it'd really help us if the ABI 
version were to be bumped with every upload.)

Kind regards and thanks
Philipp Kern

Back to linux.debian.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Bug#908570: linux 4.18: dmesg readable as normal user Philipp Kern <pkern@debian.org> - 2018-09-11 12:10 +0200
  Bug#908570: linux 4.18: dmesg readable as normal user Yves-Alexis Perez <corsac@debian.org> - 2018-09-11 13:10 +0200
  Bug#908570: linux 4.18: dmesg readable as normal user Bastian Blank <waldi@debian.org> - 2018-09-11 13:20 +0200
  Bug#908570: marked as done (linux 4.18: dmesg readable as normal  user) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2018-09-11 15:00 +0200

csiph-web