[Yum-devel] [PATCH] Report IOError while setting self.conf. BZ 734907
Zdenek Pavlas
zpavlas at redhat.com
Mon Sep 19 14:56:08 UTC 2011
>> - CRITICAL:yum.cli:Config Error: Permission denied: '///var/lib/yum/uuid'
>> + CRITICAL:yum.cli:Permission denied: '///var/lib/yum/uuid'
>>
>> is clear enough?
> Yes. Perhaps filter e.filename through os.path.normpath to eliminate the
> triple slashes? From where do they even come?
Probably should be:
yum/config.py
- uuidfile = '%s/%s/uuid' % (startupconf.installroot, startupconf.persistdir)
+ uuidfile = os.path.join(startupconf.installroot, startupconf.persistdir, 'uuid')
Zdenek
More information about the Yum-devel
mailing list