When the redhat update agent is run for the very first time,
it wipes out the user's ~/.mailcap file, replacing it with
two new lines for the update manager.
Once the two lines are in ~/.mailcap, the problem goes away.
Not sure where the bug is, since the /sbin/up2date script
appears to try to open the .mailcap in "w+" mode.. maybe this
is not a valid mode in Pythonspeak?
Ahh.. looked in the Python references, and the "w+" mode means "truncate".
This script /usr/sbin/up2date should be using "w" instead of "w+" when
opening the ~/.mailcap file for updating!!
Ooopps.. meant to say that open mode should be "a", not "w" or "w+"!!
this is very true. fixed for 6.2.