The LVM command_names & prefix configuration parameter are changing the normal lvm command outputs.
However, mkinitrd and iniscripts are known to use LVM command and parse output. Therefore, the 2 parameter shown above will wrongly parse output.
At best, the consequences are warning, at worst, the system wont boot.
In particular, with mkinitrd-18.104.22.168-61.el5_5.1, the machine will not even boot.
The error is as follow :
Parse error at byte 13 (line 1) : unexpected token Failed to load config file /etc/lvm/lvm.conf Internal error: _vginfos list should be empty
- Red Hat Enterprise Linux (RHEL) 5, or RHEL 7
- Root file system belongs to a VG
- mkdinitrd < 22.214.171.124-75.el5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.