Bug 781836 - RFE: Sanity Check on System Date [NEEDINFO]
Summary: RFE: Sanity Check on System Date
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-15 15:57 UTC by Chris Tyler
Modified: 2018-07-18 21:33 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-18 21:29:59 UTC
Type: ---
akozumpl: needinfo? (ctyler.fedora)


Attachments (Terms of Use)

Description Chris Tyler 2012-01-15 15:57:39 UTC
Description of problem:
On machines with no RTC, or a bad RTC, the bad system date will cause certificate errors when retrieving the mirrorlist. The error messages produced are unclear that the date is the actual problem.

This is particularly going to be a problem when the Raspberry Pi is distributed in large number to new users (probably millions), since the Pi does not have an RTC. If a date sanity check was added to yum with an appropriate error message, it could save a *lot* of support cycles.

Steps to Reproduce:
1. Set the system date to Jan 1, 1970.
2. Run yum (anything that fetches the mirrorlist)
  
Actual results:
- Error message about certificates.

Desired results:
- Error message about date, something like:
"The current system date is invalid. Please set the date accurately."

Additional info:
A simple sanity check, such as year>2010, should suffice.

Comment 1 Ales Kozumplik 2014-04-24 08:36:21 UTC
Chris is this still a valid request?

Comment 2 Daniel Mach 2018-07-18 21:29:59 UTC
yum and related packages are no longer actively developed.
They are being replaced with dnf, dnf-utils, etc.

I'm closing this bug because it's most likely never going to be fixed.
If you still consider your bug report important, reopen it, please.

Comment 3 Daniel Mach 2018-07-18 21:33:02 UTC
yum and related packages are no longer actively developed.
They are being replaced with dnf, dnf-utils, etc.

I'm closing this bug because it's most likely never going to be fixed.
If you still consider your bug report important, reopen it, please.


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