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

delete realm nodes in depth-first order to workaround augeas segfault #111

Merged
merged 1 commit into from Dec 2, 2015

Conversation

GeoffWilliams
Copy link

Several reports have come in from customers experiencing segfaults from augeas during puppet runs when using the tomcat module.

Modules ticket: https://tickets.puppetlabs.com/browse/MODULES-1721

I've captured a full description of the problem with agueas over at hercules-team/augeas#319 but fixing this properly is going to involve a new release of the augeas library and therefore a new puppet-agent release.

This PR fixes the segfault by performing a depth-first deletion of all Realm elements.

DavidS added a commit that referenced this pull request Dec 2, 2015
delete realm nodes in depth-first order to workaround augeas segfault
@DavidS DavidS merged commit e93da60 into puppetlabs:master Dec 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants