Path: csiph.com!feeder.erje.net!2.eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod From: Philipp Kern Newsgroups: linux.debian.bugs.dist,linux.debian.kernel Subject: Bug#908570: linux 4.18: dmesg readable as normal user Date: Tue, 11 Sep 2018 12:10:01 +0200 Message-ID: X-Original-To: submit@bugs.debian.org X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Tue Sep 11 10:03:09 2018 Old-Return-Path: X-Spam-Flag: NO X-Spam-Score: -2.3 Reply-To: Philipp Kern , 908570@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: Debian Kernel Team X-Debian-Pr-Message: report 908570 X-Debian-Pr-Package: src:linux X-Debian-Pr-Source: linux X-Spam-Bayes: score:0.0000 Tokens: new, 11; hammy, 119; neutral, 41; spammy, 0. spammytokens: hammytokens:0.000-+--sk:config_, 0.000-+--sk:CONFIG_, 0.000-+--H*F:U*pkern, 0.000-+--dmesg, 0.000-+--H*r:vsrv.kern.pm MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Sender: pkern@debian.org User-Agent: Roundcube Webmail/1.3.6 X-Debian-Message: from BTS X-Mailing-List: archive/latest/1485005 List-ID: List-URL: Approved: robomod@news.nic.it Lines: 22 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Tue, 11 Sep 2018 12:01:32 +0200 X-Original-Message-ID: <48e0eb3a5a0e0044de4559aa916ffdf7@debian.org> Xref: csiph.com linux.debian.bugs.dist:917545 linux.debian.kernel:62083 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