Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 860079 Details for
Bug 1062135
default configuration files for XML event definitions are silently ignored
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch which changes the searched directory
event-configuration-load-default-values.patch (text/plain), 1.85 KB, created by
Jakub Filak
on 2014-02-06 09:49:49 UTC
(
hide
)
Description:
Patch which changes the searched directory
Filename:
MIME Type:
Creator:
Jakub Filak
Created:
2014-02-06 09:49:49 UTC
Size:
1.85 KB
patch
obsolete
>From b99fb1f1c3e0efe65461c26dbb17ba70a938e18d Mon Sep 17 00:00:00 2001 >From: Jakub Filak <jfilak@redhat.com> >Date: Thu, 6 Feb 2014 10:38:51 +0100 >Subject: [LIBREPORT PATCH] event configuration: load default values from > configuration directory > >Load event configuration files from EVENT_CONF_DIR, where the files are >actually placed, instead of EVENT_DIR, which contains on XML event >definition files. > >Closes rhbz#1062135 > >Signed-off-by: Jakub Filak <jfilak@redhat.com> >--- > src/lib/Makefile.am | 1 + > src/lib/event_config.c | 10 +++++++++- > 2 files changed, 10 insertions(+), 1 deletion(-) > >diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am >index a8ae75c..ac173f6 100644 >--- a/src/lib/Makefile.am >+++ b/src/lib/Makefile.am >@@ -64,6 +64,7 @@ libreport_la_CPPFLAGS = \ > -DPLUGINS_CONF_DIR=\"$(PLUGINS_CONF_DIR)\" \ > -DCONF_DIR=\"$(CONF_DIR)\" \ > -DEVENTS_DIR=\"$(EVENTS_DIR)\" \ >+ -DEVENTS_CONF_DIR=\"$(EVENTS_CONF_DIR)\" \ > -DWORKFLOWS_DIR=\"$(WORKFLOWS_DIR)\" \ > -DBIN_DIR=\"$(bindir)\" \ > -DDEFAULT_DUMP_DIR_MODE=$(DEFAULT_DUMP_DIR_MODE) \ >diff --git a/src/lib/event_config.c b/src/lib/event_config.c >index 169dd78..6d12695 100644 >--- a/src/lib/event_config.c >+++ b/src/lib/event_config.c >@@ -229,7 +229,15 @@ GHashTable *load_event_config_data(void) > event_files = g_list_delete_link(event_files, event_files); > } > >- load_config_files(EVENTS_DIR); >+ /* EVENTS_DIR -> /usr/share/libreport/events/$EVENT_NAME.xml >+ * - event xml definition files >+ * >+ * EVENTS_CONF_DIR -> /etc/libreport/events/$EVENT_NAME.conf >+ * - default values for xml definitions >+ * >+ * https://fedorahosted.org/abrt/wiki/AbrtConfiguration#Adjustingpluginconfiguration >+ */ >+ load_config_files(EVENTS_CONF_DIR); > > char *cachedir; > cachedir = concat_path_file(g_get_user_cache_dir(), "abrt/events"); >-- >1.8.3.1 >
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 1062135
: 860079