Hide Forgot
Description of problem: augeas cannot parse the Anaconda user interaction configuration file /etc/sysconfig/anaconda. Version-Release number of selected component (if applicable): augeas-libs-1.4.0-6.el7 augeas-1.4.0-6.el7 Steps to Reproduce: 1. install RHEL using Anaconda (manual or automated installation) 2. check that /etc/sysconfig/anaconda is present in the system 3. augtool print /augeas//error | grep anaconda 4. augtool print /files/etc/sysconfig/anaconda/ Actual results: - step #3 prints (error position depends on the actual file): /augeas/files/etc/sysconfig/anaconda/error = "parse_failed" /augeas/files/etc/sysconfig/anaconda/error/pos = "73" /augeas/files/etc/sysconfig/anaconda/error/line = "3" /augeas/files/etc/sysconfig/anaconda/error/char = "0" /augeas/files/etc/sysconfig/anaconda/error/lens = "/usr/share/augeas/lenses/dist/shellvars.aug:194.12-.60:" /augeas/files/etc/sysconfig/anaconda/error/message = "Syntax error" - step #4 prints nothing Expected results: - step #3 prints nothing - step #4 prints the parsed tree, for example: /files/etc/sysconfig/anaconda /files/etc/sysconfig/anaconda/#comment = "This file has been generated by the Anaconda Installer 21.48.22.147-1" /files/etc/sysconfig/anaconda/ProgressSpoke /files/etc/sysconfig/anaconda/ProgressSpoke/visited = "1"
Verified with packages: augeas-1.4.0-9.el7.x86_64 augeas-libs-1.4.0-9.el7.x86_64 Steps: 1. Make sure that /etc/sysconfig/anaconda is present in the system 2. # augtool print /files/etc/sysconfig/anaconda/ /files/etc/sysconfig/anaconda /files/etc/sysconfig/anaconda/#comment = "This file has been generated by the Anaconda Installer 21.48.22.115-1" /files/etc/sysconfig/anaconda/WelcomeLanguageSpoke /files/etc/sysconfig/anaconda/WelcomeLanguageSpoke/visited = "1" /files/etc/sysconfig/anaconda/StorageSpoke /files/etc/sysconfig/anaconda/StorageSpoke/visited = "1" /files/etc/sysconfig/anaconda/SoftwareSelectionSpoke /files/etc/sysconfig/anaconda/SoftwareSelectionSpoke/visited = "1" /files/etc/sysconfig/anaconda/PasswordSpoke /files/etc/sysconfig/anaconda/PasswordSpoke/visited = "1" 3. # augtool print /augeas//error | grep anaconda The command above prints nothing. Augeas now can be able to read `/etc/sysconfig/anaconda`.
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://access.redhat.com/errata/RHBA-2019:2019