dangling symlinks handling

Bug #46264 reported by Luis Mondesi
8
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: initramfs-tools

update-initramfs -u doesn't handle dangling symlinks properly:

sudo ln -s /doesnotexist /vmlinuz
sudo ln -s /fakeinitrd /initrd.img

running update-initramfs -u attempts to create /boot/fakeinitrd. of course, if this would be the name of a kernel whose /lib/modules/`uname -r` directory still existed, then the initrd creation would've gone further.

update-initramfs should at least make sure that the vmlinuz link points to an existing (and supported) kernel.

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom reproducible in 8.10 alpha?

Changed in initramfs-tools:
status: New → Incomplete
Revision history for this message
Javier Jardón (jjardon) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in initramfs-tools:
status: Incomplete → Invalid
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.