Bug 1209923
Summary: | Properties lens doesn't like multi-line where first line has no value | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Dominic Cleal <dcleal> |
Component: | augeas | Assignee: | Dominic Cleal <dcleal> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.1 | CC: | gioppoluca, huzhan, leiwang, virt-bugs, wshi, xchen |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | augeas-1.4.0-1.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 1209885 | Environment: | |
Last Closed: | 2015-11-19 10:19:08 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: | 1209885 | ||
Bug Blocks: |
Description
Dominic Cleal
2015-04-08 12:57:47 UTC
Verified with the package: augeas-1.4.0-2.el7.x86_64 Verify steps: 1. create file /tmp/test.properties using following content: tomcat.util.scan.DefaultJarScanner.jarsToSkip= \ bootstrap.jar,commons-daemon.jar,tomcat-juli.jar,\ annotations-api.jar,el-api.jar,jsp-api.jar,servlet-api.jar,\ catalina.jar,catalina-ant.jar,catalina-ha.jar,catalina-tribes.jar 2. augtool> set /augeas/load/Properties/lens Properties.lns augtool> set /augeas/load/Properties/incl[last()+1] /tmp/test.properties augtool> load augtool> print /augeas//error augtool> print /files/tmp/test.properties/ /files/tmp/test.properties /files/tmp/test.properties/tomcat.util.scan.DefaultJarScanner.jarsToSkip = " < multi > " Works as expected. So verified. 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/RHEA-2015-2153.html |