Bug 1442238
Summary: | taskotop various fixes to command line arg processing and logging | ||
---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Eric Herget <eherget> |
Component: | Other | Assignee: | Jan Dobes <jdobes> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Dimitar Yordanov <dyordano> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 580 | CC: | adujicek, dyordano, tlestach |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | spacewalk-utils-2.5.1-21-sat | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-06-21 12:14:11 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1340444, 1358815 |
Description
Eric Herget
2017-04-13 20:15:18 UTC
The following fixes were implemented: * -m argument must be non-negative, print error message and exit if not * -n argument must be non-negative, print error message and exit if not * --logfile argument without -v prints error message saying -v is needed and exits * --logfile argument with path containing non-existent directory prints error message and exits * --logfile argument with path that is unwritable prints error message and exits * extraneous line in logfile is no longer printed to logfile * Logging started message printed without timestamp any time logfile is written This fix has not yet been applied to the spacewalk repo as we are waiting for build issues to be resolved. This BZ will be updated with spacewalk commit once build issues have been resolved. spacewalk.github: b2039ac95cd454e331dc5c7dc096658dce98842f spacewalk-utils-2.7.11-1 |