Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 540580 Details for
Bug 548172
app-admin/syslog-ng-3.4.8 - no longer get dmesg messages in the log
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for syslog-ng >= 3.15.1
syslog-ng-3.15.1-kmsg.patch (text/plain), 753 bytes, created by
Teika kazura
on 2018-07-23 12:36:38 UTC
(
hide
)
Description:
Patch for syslog-ng >= 3.15.1
Filename:
MIME Type:
Creator:
Teika kazura
Created:
2018-07-23 12:36:38 UTC
Size:
753 bytes
patch
obsolete
>--- ./modules/system-source/system-source.c.orig 2015-05-26 23:43:44.337099754 -0400 >+++ ./modules/system-source/system-source.c 2015-05-27 00:06:16.900992261 -0400 >@@ -176,16 +176,16 @@ > static void > system_sysblock_add_linux_kmsg(GString *sysblock) > { >- const gchar *kmsg = "/proc/kmsg"; >+ gchar const *kmsg = "/dev/kmsg"; > int fd; >- const gchar *format = NULL; >+ gchar const *format = "linux-kmsg"; > >- if ((fd = open("/dev/kmsg", O_RDONLY)) != -1) >+ if ((fd = open("/proc/kmsg", O_RDONLY)) != -1) > { > if ((lseek (fd, 0, SEEK_END) != -1) && _is_fd_pollable(fd)) > { >- kmsg = "/dev/kmsg"; >- format = "linux-kmsg"; >+ kmsg = "/proc/kmsg"; >+ format = NULL; > } > close (fd); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 548172
:
404046
| 540580