geninitrd + lvm + initramfs = broken system

Bug #263149 reported by Patryk Zawadzki
2
Affects Status Importance Assigned to Milestone
PLD Linux
Fix Released
Critical
Arkadiusz Miśkiewicz
Nominated for Th by Patryk Zawadzki

Bug Description

When copying devices, geninitrd does not check for links.

It's common to use /dev/vg-name/lv-name as root device which is a symlink to /dev/mapper/vg-name--lv-name.

It seems initramfs does not like symlinks (a filesystem limitation). geninitrd should try to readlink before copying the device node. Everything works fine with romfs.

Revision history for this message
Patryk Zawadzki (patrys) wrote :

The problem was caused by missing directories on the destination filesystem. A patch was provided by Paweł Kwiatkowski. Fix commited to geninitrd repo, needs a new release in Th

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.