Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 104718 - redhat-config-date should call "timeconfig" if ${DISPLAY} isn't set.
Summary: redhat-config-date should call "timeconfig" if ${DISPLAY} isn't set.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-date
Version: 9
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Brent Fox
QA Contact:
URL:
Whiteboard:
: 98516 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-09-19 17:45 UTC by Jesse Keating
Modified: 2007-04-18 16:57 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-09-19 19:05:29 UTC
Embargoed:


Attachments (Terms of Use)

Description Jesse Keating 2003-09-19 17:45:08 UTC
Description of problem:
redhat-config-date is an X11 application, but the package itself doesn't depend
on X11, mostly because it also includes "timeconfig" which is an ncurses app. 
This can confuse uses trying to use redhat-config-date w/out X11 installed,
especially since it seems that redhat-config-date doesn't have a "--help"
option.  To counter this, can't redhat-config-time call "timeconfig" if
${DISPLAY} isn't set?

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


How reproducible:
Always

Steps to Reproduce:
1. Install redhat-config-date, w/out X11 installed
2. Try to run redhat-config-date, get error about no X
3. Try to run redhat-config-date --help, still get error message.
    

Actual Results:  Error messages about no X

Expected Results:  Fall back to timeconfig.

Additional info:

Comment 1 Jesse Keating 2003-09-19 17:46:56 UTC
Another option would be to split "timeconfig" out of the package, and making
r-c-date depend on say pygtk2.

Comment 2 Brent Fox 2003-09-19 19:05:29 UTC
I've changed it to just call 'timeconfig' if the GUI can't be started up. 
Should be fixed in redhat-config-users-1.5.22-1.  Thanks for your report.

Comment 3 Brent Fox 2003-10-15 21:43:14 UTC
*** Bug 98516 has been marked as a duplicate of this bug. ***


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