Hide Forgot
Description of problem: Now that fedora is provided a default bug report url via /etc/os-release, can dhcp's error message be altered to use that value rather than the hard coded bugzilla.redhat.com? That change would allow me to alter the support url without recompiling DHCP. Version-Release number of selected component (if applicable):dhcp-4.3.5-1.fc26 How reproducible:100% Steps to Reproduce: 1.desire to have users who get the error directed to local support before fedora support 2. 3. Actual results: bugzilla.redhat.com is hard coded into the binary Expected results: Ability to customize without recompiling. Additional info:
Created attachment 1225979 [details] work-in-progress patch I'm having this patch, but I'm getting: error: format not a string literal and no format arguments [-Werror=format-security] and I'm not sure how to make it work at the moment. So saving it here as I'm not sure when I'll be having time to finish it.
I think it should be + log_error ("%s", bug_report_url()); rather than + log_error (bug_report_url());
Thanks, yes, I realized it too when I woke up today :-)