Re: rhn reposync failing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Adrian Revill wrote:
I had a rhn reposync working with 0.8, but im now trying to set up cobbler 1.0.1-2 on a new server. As far as i can see the configuration is the same but when ever i run cobbler reposync i get

/# cobbler reposync
- creating: /var/www/cobbler/repo_mirror/.origin/rhel-x86_64-server-5.repo
- createrepo -c cache /var/www/cobbler/repo_mirror/rhel-x86_64-server-5

Saving Primary metadata
Saving file lists metadata
Saving other metadata
- creating: /var/www/cobbler/repo_mirror/rhel-x86_64-server-5/config.repo/

In /var/log/cobbler/cobbler.log all it says is
/2008-06-10 11:42:38,268 - api - reposync; [None]
/
I noticed it is not setting up the yum plugins, i have found that in earlier versions of /usr/bin/reposync the loading of plugins was hard coded on, but in the latest redhat version (yum-utils-1.1.10-9) it is a command line option (-l)

I have found a work around, edit /var/lib/cobbler/repos and add -l to the end of the arch: line

arch:  x86_64  -l

This then gets appended to the end of the command args that are passed to reposync by cobbler.


------------------------------------------------------------------------

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

Yes, apparently yum-utils changed. As we pretty much need the new version for this functionality, I'll add this.

Thanks!

--Michael




_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux