Bug 1951511

Summary: [RFE] - IDM - Allow specifying permanent logging settings for BIND
Product: Red Hat Enterprise Linux 8 Reporter: Raul Mahiques <rmahique>
Component: ipaAssignee: Thomas Woerner <twoerner>
Status: CLOSED ERRATA QA Contact: ipa-qe <ipa-qe>
Severity: low Docs Contact: Josip Vilicic <jvilicic>
Priority: unspecified    
Version: 8.3CC: abokovoy, amore, jvilicic, pcech, rcritten, ssidhaye, tscherf, twoerner
Target Milestone: betaKeywords: FutureFeature, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-4.9.5-1 Doc Type: Enhancement
Doc Text:
.BIND supports customized logging settings With this enhancement, you can now configure logging settings for the BIND DNS component of an Identity Management server in the `/etc/named/ipa-logging-ext.conf` configuration file.
Story Points: ---
Clone Of:
: 1966101 (view as bug list) Environment:
Last Closed: 2021-11-09 18:22:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1966101    

Description Raul Mahiques 2021-04-20 10:07:51 UTC
Description of problem:
At the moment logging settings for bind don't allow customization, we wants to be able to change the logging settings without having to edit /etc/named.conf which is managed by idm and will be overwritten by upgrades.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
Logging cannot be modified permanently, it will be overwritten by updates

Expected results:
Allow customization of logging settings

Additional info:
adding an include in the logging section or move it to a separate file will solve the problem.

Comment 3 Rob Crittenden 2021-04-20 14:48:59 UTC
Can you confirm that this is the section they are asking for?

From named.conf(5):

LOGGING
           logging {
                category string { string; ... };
                channel string {
                     buffered boolean;
                     file quoted_string [ versions ( "unlimited" | integer )
                         ] [ size size ];
                     null;
                     print-category boolean;
                     print-severity boolean;
                     print-time boolean;
                     severity log_severity;
                     stderr;
                     syslog [ syslog_facility ];
                };
           };

Comment 4 Raul Mahiques 2021-04-27 12:48:22 UTC
yes, the logging section

Comment 5 Raul Mahiques 2021-04-28 07:10:30 UTC
yes, the logging section

Comment 12 anuja 2021-07-02 08:47:49 UTC
Verified using:

2021-07-02T07:13:23+0000 ok: [master.testrelm.test] => (item=ipa-server) => 
2021-07-02T07:13:23+0000   msg:
2021-07-02T07:13:23+0000   - arch: x86_64
2021-07-02T07:13:23+0000     epoch: null
2021-07-02T07:13:23+0000     name: ipa-server
2021-07-02T07:13:23+0000     release: 1.module+el8.5.0+11410+91a33fe4
2021-07-02T07:13:23+0000     source: rpm
2021-07-02T07:13:23+0000     version: 4.9.5
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Test-console-log
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
test_integration/test_upgrade.py::TestUpgrade::test_current_named_conf PASSED [ 44%]
test_integration/test_upgrade.py::TestUpgrade::test_update_named_conf_simple PASSED 

Based on this marking bug as verified.

Comment 15 errata-xmlrpc 2021-11-09 18:22:22 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (ipa bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:4230

Comment 16 Red Hat Bugzilla 2023-09-15 01:05:21 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days