Bug 191394
Summary: | "-ts today 11:15:00" causes error message | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Valdis Kletnieks <valdis.kletnieks> |
Component: | audit | Assignee: | Steve Grubb <sgrubb> |
Status: | CLOSED RAWHIDE | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-09-19 14:23:49 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Valdis Kletnieks
2006-05-11 16:11:17 UTC
today is a full time specification, meaning that it translates to 05/12/2006 00:00:01. So, doing -ts today 11:15:00 is the same as doing 05/12/2006 00:00:01 11:15:00, which is an error. I should probably cleanup the error messages and update documentation. If you had wanted 11:15:00 on today's date, you only need to enter the time and today's date is assumed. Could you also clarify whether the -ts option requires at least one of either the time or date? It is a confusing that -te can be used without any time specifications, but -ts requires at least one time specification of date or time. At least, this is what I see on FC5: $ ausearch -ts -ts requires either date and/or time It would be nice, and, IMO, expected to have -ts work like -te. This was fixed in audit-1.2.7 and will be pushed into rawhide, FC-6, and FC-5. Thanks for the suggestion. |