Bug 185563 - up2date storage directory error message is hardcoded
Summary: up2date storage directory error message is hardcoded
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: up2date
Version: 3.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bret McMillan
QA Contact: Brandon Perkins
URL:
Whiteboard:
Depends On:
Blocks: 179652
TreeView+ depends on / blocked
 
Reported: 2006-03-15 20:41 UTC by Beth Nackashi
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-10-19 18:46:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Beth Nackashi 2006-03-15 20:41:28 UTC
Description of problem:
If the up2date config file (/etc/sysconfig/rhn/up2date) has storageDir empty or
set to an invalid or read-only directory, an error message will pop up when you
try to run up2date:

"The storage directory /var/spool/up2date could not be found, or was not
accessable."

The error message should give the actual storage directory you are attempting to
access, which is not always '/var/spool/up2date'.  It is configurable.

Also, "accessable" should be "accessible".

Version-Release number of selected component (if applicable):
up2date-4.4.67-3

How reproducible:
always

Steps to Reproduce:
1.  Install up2date on a rhel 3 u6 system.  Make sure the system has gnome
desktop environment installed (up2date '@GNOME Desktop Environment').
2.  Make sure you log in using ssh -Y.
3.  Edit /etc/sysconfig/rhn/up2date
4.  Change storageDir to something that doesn't exist.
5.  Register the system.
6.  Run up2date.
  
Actual results:
Error window pops up:
"The storage directory /var/spool/up2date could not be found, or was not
accessable."


Expected results:
Error window pops up that has the actual directory you configured, not
necessarily /var/spool/up2date.

And accessible is spelled correctly.

Additional info:
up2date.checkForStorageDir() calls os.access(storageDir, os.X_OK)

Comment 1 Red Hat Bugzilla 2007-04-12 00:34:17 UTC
User bnackash's account has been closed

Comment 2 RHEL Program Management 2007-10-19 18:46:11 UTC
This bug is filed against RHEL 3, which is in maintenance phase.
During the maintenance phase, only security errata and select mission
critical bug fixes will be released for enterprise products. Since
this bug does not meet that criteria, it is now being closed.
 
For more information of the RHEL errata support policy, please visit:
http://www.redhat.com/security/updates/errata/
 
If you feel this bug is indeed mission critical, please contact your
support representative. You may be asked to provide detailed
information on how this bug is affecting you.


Note You need to log in before you can comment on or make changes to this bug.