Skip to contentSkip to conversation

dmesg: link together with syslog(2) manual page

PATCH Applied Sami Kerola 2 participants 2 messages Apr 26, 2018 – May 3, 2018 Util-Linux package

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 sys-utils/dmesg.1 | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
sys-utils/dmesg.1 +7 -1
index 1dc9994ec..2b61c3739 100644
@@ -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)
Signature · 1 line
2.17.0
maintainer Applied
#1 lore raw
Quoted 2 lines · Sami Kerola
 sys-utils/dmesg.1 | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Applied, thanks.

Signature · 2 lines
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com