]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
dmesg: link together with syslog(2) manual page
authorSami Kerola <kerolasa@iki.fi>
Thu, 26 Apr 2018 20:44:08 +0000 (21:44 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 11 Jul 2018 13:39:56 +0000 (15:39 +0200)
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 <kerolasa@iki.fi>
sys-utils/dmesg.1

index 1dc9994eca558b76add82ef6724f9f660f2f7556..2b61c3739a529897a35e5cc43e1bb861f8076022 100644 (file)
@@ -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)