On 6/29/12 4:58 PM, James Cammarata wrote:

/usr/bin/reposync -l -m -d
--config=/var/www/cobbler/repo_mirror/f17-x86_64-everything/.origin/f17-x86_64-everything.repo
--repoid=f17-x86_64-everything
--download_path=/var/www/cobbler/repo_mirror -a x86_64


This errors out when I try it. I looked over the directory structure and a thought occurs to me. Did cobbler create the directory tree with the right owners and permissions? I wonder about that because here the repo that cobbler made for me everything is owned by root instead of apache.root:

drwxrwxr-x.  3 apache root 4096 Jun 28 22:50 .
drwxrwxr-x. 11 apache root 4096 May 29 17:23 ..
drwxr-xr-x   3 root   root 4096 Jun 28 22:50 f17-x86_64-everything

[root@cobbler1 repo_mirror]# pwd
/var/www/cobbler/repo_mirror

and as we dig further down we see more directories and files owned by root:

drwxr-xr-x  3 root   root 4096 Jun 28 22:50 .
drwxrwxr-x. 3 apache root 4096 Jun 28 22:50 ..
drwxr-xr-x  2 root   root 4096 Jun 28 23:11 .origin

and we see that repomd.xml itself is owned by root:

drwxr-xr-x 2 root root 4096 Jun 28 23:11 .
drwxr-xr-x 3 root root 4096 Jun 28 22:50 ..
-rw-r--r-- 1 root root  176 Jun 29 15:36 f17-x86_64-everything.repo
-rw-r--r-- 1 root root    0 Jun 29 14:29 repomd.xml

...so does ownership really need to be apache.root?

(Pardon my newbie stupidity)

Yes, you will need to open up at least port 80 (maybe 443) outbound
from the server you're trying to do this from.
These ports are definitely open.

Bob

_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to