Bug 1380242

Summary: smstools logrotate entry is skipped because of invalid permission
Product: [Fedora] Fedora Reporter: Christian Lupien <christian.lupien>
Component: smstoolsAssignee: Marek Mahut <mmahut>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 24CC: mmahut, pcfe
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-08 19:15:10 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:

Description Christian Lupien 2016-09-29 03:52:46 UTC
Description of problem:
When logrotate is run, it skips 
  /etc/logrotate.d/smstools 
with error message:
 error: Ignoring smstools because of bad file mode - must be 0644 or 0444.


Version-Release number of selected component (if applicable):
smstools-3.1.15-14.fc24.x86_64
logrotate-3.9.2-5.fc24.x86_64


How reproducible:
always

Steps to Reproduce:
1. Install the programs
2. Wait for logrotate cron job to be executed or as roo:
     /usr/sbin/logrotate -s /var/lib/logrotate/logrotate.status /etc/logrotate.conf

3. For cron job see error in root email

Actual results:
Get error:
  error: Ignoring smstools because of bad file mode - must be 0644 or 0444.

Expected results:
  No error

Additional info:
The problem is the permisions of /etc/logrotate.d/smstools are wrong:
  -rw-rw-r-- 1 root root 266 Feb  5  2016 /etc/logrotate.d/smstools
Fix it with:
 chmod 0644 /etc/logrotate.d/smstools

Comment 1 Fedora End Of Life 2017-07-25 23:16:48 UTC
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '24'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 2 Fedora End Of Life 2017-08-08 19:15:10 UTC
Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.