cobbler/cobbler — Issue #72: Broken symlinks on cobbler import from cmdline
Author: seanscott
Created: 2012-02-23 13:29:13+00:00
State: open

Running cobbler-2.2.1-1.el6.noarch from epel-testing on Centos 6.2
Also verified on cobbler-2.2.1-1.el5.noarch from epel-testing on RHEL 5.8

Performing an import below from the command line:
[root@el6-seanscott01 links]# cobbler import --path=/media/RHEL_5.8\ x86_64\ DVD/ --name=rhel5.8 --arch=x86_64

Creates the followingks_mirror directory:
[root@el6-seanscott01 links]# ls -lAh /var/www/cobbler/ks_mirror/
dr-xr-xr-x 8 apache apache 4.0K Feb 2 12:02 rhel5.8-x86_64

But produces broken symlinks:
[root@el6-seanscott01 links]# ls -lAh /var/www/cobbler/links
lrwxrwxrwx 1 root root 34 Feb 22 21:37 rhel5.8-x86_64 -> /var/www/cobbler/ks_mirror/rhel5.8
lrwxrwxrwx 1 root root 34 Feb 22 21:37 rhel5.8-xen-x86_64 -> /var/www/cobbler/ks_mirror/rhel5.8