Bug 1769314
| Summary: | "+" character on kernel line in grub.conf causes augeas to fail to parse the file | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Pino Toscano <ptoscano> |
| Component: | augeas | Assignee: | Pino Toscano <ptoscano> |
| Status: | CLOSED ERRATA | QA Contact: | YongkuiGuo <yoguo> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.1 | CC: | audgiri, jsuchane, mxie, rjones, tzheng, virt-bugs, yoguo, zili |
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
| Target Release: | 8.2 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | V2V | ||
| Fixed In Version: | augeas-1.12.0-3.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1758357 | Environment: | |
| Last Closed: | 2020-04-28 16:49:27 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: | 1758357 | ||
| Bug Blocks: | |||
|
Description
Pino Toscano
2019-11-06 11:18:43 UTC
Verified with the package: augeas-1.12.0-3.el8.x86_64 Steps: 1. $ mkdir -p /var/tmp/root/etc $ cp grub.conf /var/tmp/root/etc 2. $ augtool -r /var/tmp/root augtool> print /files/etc/grub.conf /files/etc/grub.conf /files/etc/grub.conf/#comment[1] = "Modified by YaST2. Last modification on Thu Jul 4 12:45:58 ART 2019" /files/etc/grub.conf/timeout = "0" /files/etc/grub.conf/gfxmenu = "(hd0,0)/boot/message" /files/etc/grub.conf/default = "0" /files/etc/grub.conf/#comment[2] = "##Don't change this comment - YaST2 identifier: Original name: linux###" /files/etc/grub.conf/title[1] = "Filr 3.0 - 3.0.101-108.68" /files/etc/grub.conf/title[1]/root = "(hd0,0)" /files/etc/grub.conf/title[1]/kernel = "/boot/vmlinuz-3.0.101-108.68-default" /files/etc/grub.conf/title[1]/kernel/root = "/dev/sda1" /files/etc/grub.conf/title[1]/kernel/disk = "/dev/disk/by-id/scsi-360022480000000000000000000000000" /files/etc/grub.conf/title[1]/kernel/splash = "silent" /files/etc/grub.conf/title[1]/kernel/USE_BY_UUID_DEVICE_NAMES = "1" /files/etc/grub.conf/title[1]/kernel/quiet /files/etc/grub.conf/title[1]/kernel/showopts /files/etc/grub.conf/title[1]/kernel/vga = "normal" /files/etc/grub.conf/title[1]/kernel/net.ifnames = "0" /files/etc/grub.conf/title[1]/kernel/biosdevname = "0" /files/etc/grub.conf/title[1]/initrd = "/boot/initrd-3.0.101-108.68-default" /files/etc/grub.conf/#comment[3] = "##Don't change this comment - YaST2 identifier: Original name: failsafe###" /files/etc/grub.conf/title[2] = "Failsafe -- Filr 3.0 - 3.0.101-108.68" /files/etc/grub.conf/title[2]/root = "(hd0,0)" /files/etc/grub.conf/title[2]/kernel = "/boot/vmlinuz-3.0.101-108.68-default" /files/etc/grub.conf/title[2]/kernel/root = "/dev/sda1" /files/etc/grub.conf/title[2]/kernel/disk = "/dev/disk/by-id/scsi-360022480000000000000000000000000" /files/etc/grub.conf/title[2]/kernel/splash = "silent" /files/etc/grub.conf/title[2]/kernel/USE_BY_UUID_DEVICE_NAMES = "1" /files/etc/grub.conf/title[2]/kernel/ide = "nodma" /files/etc/grub.conf/title[2]/kernel/apm = "off" /files/etc/grub.conf/title[2]/kernel/noresume /files/etc/grub.conf/title[2]/kernel/edd = "off" /files/etc/grub.conf/title[2]/kernel/powersaved = "off" /files/etc/grub.conf/title[2]/kernel/nohz = "off" /files/etc/grub.conf/title[2]/kernel/highres = "off" /files/etc/grub.conf/title[2]/kernel/processsor.max+cstate = "1" ... The '+' character can be parsed correctly. 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-2020:1824 |