Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 404046 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]
syslog-ng-3.6.2-kmsg.patch
syslog-ng-3.6.2-kmsg.patch (text/plain), 730 bytes, created by
Mr. Bones. (RETIRED)
on 2015-05-27 06:07:54 UTC
(
hide
)
Description:
syslog-ng-3.6.2-kmsg.patch
Filename:
MIME Type:
Creator:
Mr. Bones. (RETIRED)
Created:
2015-05-27 06:07:54 UTC
Size:
730 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) > { >- gchar *kmsg = "/proc/kmsg"; >+ gchar *kmsg = "/dev/kmsg"; > int fd; >- gchar *format = NULL; >+ gchar *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