Red Hat Bugzilla – Bug 1469759
ini_config_augment: merge_flags detect behavior incorrect
Last modified: 2017-09-12 06:30:58 EDT
This happens when a config section is duplicated between a config file and a config directory (either with the same or different contents).
If ERROR/DETECT are set in merge_flags or collision_flags on ini_config_augment, error=17 is returned from ini_aug_apply, which causes the error_list to be discarded in ini_config_augment. When MERGE/PRESERVE/OVERWRITE are instead set as flags (on merge_flags and collision_flags in various combinations), error_list is empty as merging happens silently. Thus it is impossible to determine what the offending file or section is.
Upstream ticket: https://bugzilla.redhat.com/show_bug.cgi?id=1469759
(In reply to Jakub Hrozek from comment #1)
> Upstream ticket: https://bugzilla.redhat.com/show_bug.cgi?id=1469759
Well, of course not. Let's try this again, the upstream ticket link is https://pagure.io/SSSD/ding-libs/issue/3167
I forgot to comment here, but the patches landed in upstream master yesterday:
(In reply to Michal Zidek from comment #5)
> I forgot to comment here, but the patches landed in upstream master
> - fd539954e68ae49e6670f49e3ff3300cac3e4739
> - 3163a969bbcd10c4d9e48e191f978c6991ac01cd
> - e322192d1711677e78b197915b1a12537a0e510b
Therefore marking as POST.
In fedora - ding-libs-0.6.0-33.fc27