Bug 1500264

Summary: Not reporting version
Product: [Fedora] Fedora Reporter: Pete Smith <bugzilla>
Component: logrotateAssignee: Kamil Dudka <kdudka>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: jkaluza, kdudka
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: logrotate-3.13.0-1.fc28 logrotate-3.12.3-4.fc26 logrotate-3.12.3-4.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-25 23:10:48 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:

Description Pete Smith 2017-10-10 09:52:26 UTC
Description of problem:

logrotate not reporting version when using -v or--version switches.


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

logrotate-3.12.1-1.fc26.x86_64

How reproducible:

Always


Steps to Reproduce:

1. logrotate --version

or 

2. logrotate -v


Actual results:

logrotate UNKNOWN

and

logrotate UNKNOWN - Copyright (C) 1995-2001 Red Hat, Inc.
This may be freely redistributed under the terms of the GNU Public License

Usage: logrotate [-dfv?] [-d|--debug] [-f|--force] [-m|--mail=command] [-s|--state=statefile] [-v|--verbose] [-l|--log=logfile] [--version] [-?|--help] [--usage] [OPTION...] <configfile>



Expected results:

logrotate 3.12.1

or

logrotate 3.12.1 - Copyright (C) 1995-2001 Red Hat, Inc.
This may be freely redistributed under the terms of the GNU Public License

Usage: logrotate [-dfv?] [-d|--debug] [-f|--force] [-m|--mail=command] [-s|--state=statefile] [-v|--verbose] [-l|--log=STRING] [--version] [-?|--help] [--usage] [OPTION...] <configfile>


Additional info:

Comment 1 Kamil Dudka 2017-10-10 10:35:33 UTC
Thank you for reporting it!  This must have been broken by the following commit:

https://github.com/logrotate/logrotate/commit/8612d1ca

Comment 2 Kamil Dudka 2017-10-10 14:31:54 UTC
upstream commit:

https://github.com/logrotate/logrotate/commit/d85c496f

Comment 3 Fedora Update System 2017-10-13 07:15:24 UTC
logrotate-3.12.3-4.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-5686647c6d

Comment 4 Fedora Update System 2017-10-13 07:17:02 UTC
logrotate-3.12.3-4.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-a6985880bb

Comment 5 Fedora Update System 2017-10-13 22:23:57 UTC
logrotate-3.12.3-4.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-a6985880bb

Comment 6 Fedora Update System 2017-10-13 23:23:43 UTC
logrotate-3.12.3-4.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-5686647c6d

Comment 7 Fedora Update System 2017-10-25 23:10:48 UTC
logrotate-3.12.3-4.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2017-11-11 02:52:34 UTC
logrotate-3.12.3-4.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.