Bug 1203597
Summary: | Augeas fails to parse /etc/krb5.conf with "{}" in the value | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Hu Zhang <huzhan> |
Component: | augeas | Assignee: | Dominic Cleal <dcleal> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.7 | CC: | leiwang, wshi |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | augeas-1.0.0-10.el6 | Doc Type: | Bug Fix |
Doc Text: |
Cause: /etc/krb5.conf configuration files containing {} in values
Consequence: Augeas was unable to parse these krb5.conf files
Fix: Augeas' lens (parser) has been fixed to handle {} in krb5.conf setting values
Result: Augeas can now parse these krb5.conf files
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2015-07-22 05:41:18 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: | 1066419 | ||
Bug Blocks: |
Description
Hu Zhang
2015-03-19 08:50:45 UTC
Fixed in d9465ab and in RHEL 7.0 already via bug #1066419. Verify with augeas-1.0.0-10.el6 Steps to verify: 1. Add the following line in the [logging] section kdc = FILE:/var/log/krb{5}kdc.log 2. Try to parse /etc/krb5.conf # augtool print /files/etc/krb5.conf /files/etc/krb5.conf /files/etc/krb5.conf/logging /files/etc/krb5.conf/logging/default /files/etc/krb5.conf/logging/default/file = "/var/log/krb5libs.log" /files/etc/krb5.conf/logging/kdc[1] /files/etc/krb5.conf/logging/kdc[1]/file = "/var/log/krb5kdc.log" /files/etc/krb5.conf/logging/admin_server /files/etc/krb5.conf/logging/admin_server/file = "/var/log/kadmind.log" /files/etc/krb5.conf/logging/kdc[2] /files/etc/krb5.conf/logging/kdc[2]/file = "/var/log/krb{5}kdc.log" /files/etc/krb5.conf/libdefaults /files/etc/krb5.conf/libdefaults/default_realm = "EXAMPLE.COM" /files/etc/krb5.conf/libdefaults/dns_lookup_realm = "false" /files/etc/krb5.conf/libdefaults/dns_lookup_kdc = "false" /files/etc/krb5.conf/libdefaults/ticket_lifetime = "24h" /files/etc/krb5.conf/libdefaults/renew_lifetime = "7d" /files/etc/krb5.conf/libdefaults/forwardable = "true" /files/etc/krb5.conf/realms /files/etc/krb5.conf/realms/realm = "EXAMPLE.COM" /files/etc/krb5.conf/realms/realm/kdc = "kerberos.example.com" /files/etc/krb5.conf/realms/realm/admin_server = "kerberos.example.com" /files/etc/krb5.conf/domain_realm /files/etc/krb5.conf/domain_realm/.example.com = "EXAMPLE.COM" /files/etc/krb5.conf/domain_realm/example.com = "EXAMPLE.COM" Parsed successfully. So fixed. 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, 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://rhn.redhat.com/errata/RHBA-2015-1256.html |