Description of problem:
I'm running Spacewalk 2.0 on Scientific Linux 6.4. I copied whole install DVD to /path/to/distro-tree. When I try to create a new kickstart distribution it returns an error:
The kernel could not be found at the specified location: /path/to/distro-tree/images/pxeboot/vmlinuz
However the file exists (I can manually navigate to it), also the file initrd.img is found (I tried deleting it and the error changes).
I tried different permissions of whole path, to make sure Spacewalk can navigate to it, I tried different SELinux contexts (as advised on https://www.redhat.com/archives/spacewalk-list/2010-October/msg00052.html, also my /var/log/messages remains unchanged), I also tried different distributions DVD and also different architectures.
Steps to Reproduce:
1. WebUI: System -> Kickstart -> Distribution -> Create new distributions
2. Distribution Label*: name
Tree Path*: /path/to/distro-tree/
Base Channel*: testChannel
Installer Generation*: RHEL6
3. Create Kickstart Distribution button
The kernel could not be found at the specified location: /tmp/test/sl32/images/pxeboot/vmlinuz
Proceed with creation of Kickstart distribution
SELinux context were set wrong.
This BZ closed some time during 2.5, 2.6 or 2.7. Adding to 2.7 tracking bug.