Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Augeas cannot parse krb5.conf if trailing brace on the same line #828

Open
rwmjones opened this issue Mar 15, 2024 · 0 comments
Open

Augeas cannot parse krb5.conf if trailing brace on the same line #828

rwmjones opened this issue Mar 15, 2024 · 0 comments

Comments

@rwmjones
Copy link
Contributor

Save this to /etc/krb5.conf:

[dbmodules]
  FOO.BAR = {
    db_library = ipadb.so }

Augeas fails to parse it with the error:

augtool> load
augtool> errors 
Error in /etc/krb5.conf:2.0 (parse_failed)
  Get did not match entire input
  Lens: /usr/share/augeas/lenses/dist/krb5.aug:174.10-177.12:

If the brace is moved to the next line then it works without error.

[dbmodules]
  FOO.BAR = {
    db_library = ipadb.so
    }

augeas-1.13.0-5.fc39.x86_64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant