From 1c199a6e1571ea8f0630e25d05dcdc678f933caf Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Thu, 26 Apr 2018 21:44:08 +0100 Subject: dmesg: link together with syslog(2) manual page The dmesg may require capabilities(7) when /proc/sys/kernel/dmesg_restrict has none zero value. This is explained in detail in syslog(2) manual page. Signed-off-by: Sami Kerola --- sys-utils/dmesg.1 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'sys-utils/dmesg.1') diff --git a/sys-utils/dmesg.1 b/sys-utils/dmesg.1 index 1dc9994ec..2b61c3739 100644 --- a/sys-utils/dmesg.1 +++ b/sys-utils/dmesg.1 @@ -228,7 +228,13 @@ The text of the message with the warning log priority. .TP .B segfault The text of the message that inform about segmentation fault. - +.SH EXIT STATUS +.B dmesg +can fail reporting permission denied error. This is usually caused by +.B dmesg_restrict +kernel setting, please see +.BR syslog (2) +for more details. .SH SEE ALSO .BR terminal-colors.d (5), .BR syslogd (8) -- cgit v1.2.3-55-g7522