-
Notifications
You must be signed in to change notification settings - Fork 199
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
augtool hangs while loading with lens set to "dist/X.lns" #522
Comments
lutter
added a commit
to lutter/augeas
that referenced
this issue
Nov 8, 2017
If a module name contains a '/', it can happen that we find the module (like 'dist/Fstab.lns'), load it and then later can't find it under the invalid module name containing the slash, leading to an endless loop of loding the same module over and over again. We avoid this by making sure there is no '/' in the module name before looking for the module file. Other forms of invalid module names should not cause similar problems as we will simply fail to find the corresponding file. Fixes hercules-team#522
Thanks for the bug report .. quite the doozy ! |
lutter
added a commit
to lutter/augeas
that referenced
this issue
Nov 11, 2017
If a module name contains a '/', it can happen that we find the module (like 'dist/Fstab.lns'), load it and then later can't find it under the invalid module name containing the slash, leading to an endless loop of loding the same module over and over again. We avoid this by making sure there is no '/' in the module name before looking for the module file. Other forms of invalid module names should not cause similar problems as we will simply fail to find the corresponding file. Fixes hercules-team#522
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following hangs when
dist
is used in the lens nameIt is recursively reading /usr/share/augeas/lenses/dist/fstab.aug
This is on Fedora, which packages the lens into
/usr/share/augeas/lenses/dist/
, but that looks identical to https://github.com/hercules-team/augeas/blob/master/augeas.spec.in#L111The text was updated successfully, but these errors were encountered: