Skip to content

KEXEC_INITRD does not follow symlinks, while KEXEC_KERNEL does #179

@alexbakker

Description

@alexbakker

On Debian Jessie with linux-image-amd64 installed, /initrd.img and /vmlinuz are symlinks to the latest initrd and kernel available in /boot. Setting KEXEC_INITRD to /initrd.img and KEXEC_KERNEL to /vmlinuz results in the following:

>>> kexec: kernel=/vmlinuz initrd=/initrd.img append=''
wget: bad address ''
>>> kexec: initrd not found

Changing only KEXEC_INITRD to the full path: /boot/initrd.img-3.16.0-4-amd64, seems to fix the issue. I looked at the kexec portion of the init script but I couldn't figure out why this happens.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions