From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12 Description of problem: When repo name has \t, cobbler reposync failed because of accessing file for configration Cobbler have to trim \t or validate whether name has \t or not. Here is error result - /usr/bin/reposync --config=/var/www/cobbler/repo_mirror/.origin/centos5-centosplus-x86_64 .repo --repoid=centos5-centosplus-x86_64 --download_path=/var/www/cobbler/repo_mirror Traceback (most recent call last): File "/usr/bin/reposync", line 196, in ? main() File "/usr/bin/reposync", line 114, in main my.doConfigSetup(fn=opts.config, init_plugins=True) File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 119, in doConfigSetup startupconf = config.readStartupConfig(fn, root) File "/usr/lib/python2.4/site-packages/yum/config.py", line 569, in readStartupConfig confpp_obj = ConfigPreProcessor(configfile) File "/usr/lib/python2.4/site-packages/yum/parser.py", line 83, in __init__ fo = self._pushfile( url ) File "/usr/lib/python2.4/site-packages/yum/parser.py", line 184, in _pushfile raise Errors.ConfigError, \ yum.Errors.ConfigError: Error accessing file for config file:///var/www/cobbler/repo_mirror/.origin/centos5-centosplus-x86_64 cobbler reposync failed here is part of /var/lib/cobbler/repos - arch: '' createrepo_flags: -c cache depth: 2 keep_updated: True mirror: 'http://ftp.riken.go.jp/Linux/caos/centos/5/addons/x86_64/' name: "centos5-addons-x86_64 \t" parent: '' priority: 99 rpm_list: '' yumopts: {} Version-Release number of selected component (if applicable): cobbler-0.8.2-1 How reproducible: Always Steps to Reproduce: 1. add above repo to yaml and cobbler reposync Actual Results: Expected Results: Additional info:
We should probably filter the name inputs to make sure there are no tabs. In the mean time, please note the upstream bugtracker is https://fedorahosted.org/cobbler and items here may be misplaced seeing I get a /lot/ of email.
Opened up a Trac item here: https://fedorahosted.org/cobbler/ticket/477#preview Meanwhile, do not do that :)
Closing, as this should have been fixed a LONG time ago.