Bug 444576

Summary: yum should write: "missing file" instead of traceback
Product: Red Hat Enterprise Linux 5 Reporter: Petr Sklenar <psklenar>
Component: yumAssignee: James Antill <james.antill>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 5.2CC: jhutar
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-04-29 06:56:55 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Petr Sklenar 2008-04-29 06:39:45 EDT
Description of problem:
when system is registered to rhn, and file 
"/etc/sysconfig/rhn/up2date" is deleted or moved, yum has traceback

Version-Release number of selected component (if applicable):
yum-3.2.8-9.el5

How reproducible:
always

Steps to Reproduce:
1. register system to rhn
2. mv /etc/sysconfig/rhn/up2date /etc/sysconfig/rhn/up2date.BAK
3. yum repolist
 
Actual results:
traceback
TypeError: cannot marshal None unless allow_none is enabled

Expected results:
it should write: "missing file"

Additional info:
Comment 1 Petr Sklenar 2008-04-29 06:56:55 EDT
I made a mistake in description of file. its not a /etc/sysconfig/rhn/up2date,
its /etc/sysconfig/rhn/systemid. 

Please delete this bug. 
I create right description in bug: 444581