-
Bug
-
Resolution: Won't Do
-
Normal
-
None
-
rhel-8.1.0
-
Yes
-
Moderate
-
rhel-sst-virtualization
-
ssg_virtualization
-
5
-
False
-
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
-
Unspecified
-
None
Description of problem:
After the rebase of e2fsprogs to 1.45.4 done in version e2fsprogs-1.45.4-1.el8.x86_64, the newly shipped /etc/mke2fs.conf cannot be parsed anymore by the Mke2fs lens:
$ augtool print /augeas//error | grep /etc/mke2fs.conf
/augeas/files/etc/mke2fs.conf/error = "parse_failed"
/augeas/files/etc/mke2fs.conf/error/pos = "384"
/augeas/files/etc/mke2fs.conf/error/line = "17"
/augeas/files/etc/mke2fs.conf/error/char = "0"
/augeas/files/etc/mke2fs.conf/error/lens = "/usr/share/augeas/lenses/dist/mke2fs.aug:135.10-.49:"
/augeas/files/etc/mke2fs.conf/error/message = "Get did not match entire input"
The issues are various:
- all the options available for filesystems are not handled (inside the [fs_types] stanza)
- boolean values are not parsed correctly (i.e. all the possible values for them)
- quoted values are not handled
I fixed some of the issues in the past with an already-merged MR [1], and a more recent one handles almost all the remaining issues [2].
Version-Release number of selected component (if applicable):
augeas-1.12.0-5.el8
Steps to Reproduce:
$ augtool print /augeas//error | grep /etc/mke2fs.conf
Actual results:
/augeas/files/etc/mke2fs.conf/error = "parse_failed"
/augeas/files/etc/mke2fs.conf/error/pos = "384"
/augeas/files/etc/mke2fs.conf/error/line = "17"
/augeas/files/etc/mke2fs.conf/error/char = "0"
/augeas/files/etc/mke2fs.conf/error/lens = "/usr/share/augeas/lenses/dist/mke2fs.aug:135.10-.49:"
/augeas/files/etc/mke2fs.conf/error/message = "Get did not match entire input"
Expected results:
- no output for errors
- `augtool print /files/etc/mke2fs.conf/` that prints the actual content of the file