Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Too many levels of symbolic links during generate process #63

Open
ghost opened this issue Jun 18, 2013 · 1 comment
Open

Too many levels of symbolic links during generate process #63

ghost opened this issue Jun 18, 2013 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 18, 2013

After many years of successfully using mrepo we've now hit a bit of an issue. I'm not sure if this is due to growth in repos of other issues but we are now getting the following error message when running a generate for rhel6s x86_64.

mrepo -g rhel6s-x86_64
rhel6s-x86_64: Generating Red Hat Enterprise Server 6 (x86_64) meta-data
Traceback (most recent call last):
File "/usr/bin/mrepo", line 1894, in
main()
File "/usr/bin/mrepo", line 1861, in main
dist.genmetadata()
File "/usr/bin/mrepo", line 493, in genmetadata
self.linksync(Repo('all', '', self, cf), allsrcdirs)
File "/usr/bin/mrepo", line 516, in linksync
destfiles = listrpmlinks(destdir)
File "/usr/bin/mrepo", line 1717, in listrpmlinks
for f in os.listdir(dir):
OSError: [Errno 40] Too many levels of symbolic links: '/var/www/mrepo/rhel6s-x86_64/RPMS.all'

@stephenjamieson
Copy link

This really shouldn't happen since at most I would think there would only be 3 levels. I would check your data directory for mrepo and make sure there aren't any symbolic link loops.

http://serverfault.com/questions/265598/how-do-i-find-circular-symbolic-links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant