Red Hat Bugzilla – Bug 130835
mysterious affliction strikes rhn-applet
Last modified: 2007-11-30 17:10:47 EST
Description of problem:
Every time I am trying to run rhn-applet-tui I am seeing the
/root was not found, creating
Traceback (most recent call last):
File "/usr/bin/rhn-applet-tui", line 103, in ?
File "/usr/bin/rhn-applet-tui", line 65, in main
ignored_package_str = rhn_utils.get_user_config("IgnoredPackages")
File "/usr/share/rhn/rhn_applet/rhn_utils.py", line 95, in
File "/usr/share/rhn/rhn_applet/rhn_utils.py", line 78, in init
File "/usr/share/rhn/up2date_client/config.py", line 183, in save
File "/usr/lib/python2.3/os.py", line 154, in makedirs
OSError: [Errno 17] File exists: '/root'
"/root was not found, creating"???? To make the matter more
mysterious a similarly configured x86_64 does not show up
anything of that sort. I am not sure when this started.
I noticed that only today and I do not recall anything like
in the past with this particular version of rhn-applet installed
on 2004/Mar/15. Underlying Python libraries were changed
last time on 2004/Aug/14 though.
Version-Release number of selected component (if applicable):
Always on x86.
Ah, mystery solved. I noticed that /root/.rnh-applet.conf was
missing (it got accidentally deleted in some "small catastrophe")
and after I copied it from elsewhere rhn-applet starts.
But this is surely a weird reaction and an error message in
a situation of that sort.
Fedora Core 3 is now maintained by the Fedora Legacy project for security
updates only. If this problem is a security issue, please reopen and
reassign to the Fedora Legacy product. If it is not a security issue and
hasn't been resolved in the current FC5 updates or in the FC6 test
release, reopen and change the version to match.
rhn-applet was replaced by pirut and put (package pirut) as of FC5. Only FC5
and FC6 are currently fully supported; FC3 and FC4 are supported for security
fixes only. If this bug occurs in FC3 or FC4 and is a security bug, please
change the product to Fedora Extras and the version to match. If you can verify
that the bug exists in RHEL as well, please change the product and version
The codebase for pirut and pup is quite different, but if a similar bug exists
in pirut and pup in FC5 or FC6, please change the product to pirut and the
version appropriately and update the bug report.
We apologize that the bug was not fixed before now. The status will be changed
to NEEDINFO, and if the bug is not updated with evidence that it is a security
bug or a bug that affects RHEL, it will be closed.
Note that rhn-applet may still be present on upgraded systems, and in general
will not function correctly on such systems. That is not a bug; anaconda does
not generally erase removed packages upon upgrades.