Bug 1354437

Summary: [Ubuntu] rhscon-agent/skynet logrotate config file name inconsistency
Product: [Red Hat Storage] Red Hat Storage Console Reporter: Daniel Horák <dahorak>
Component: agentAssignee: Ken Dreyer (Red Hat) <kdreyer>
Status: CLOSED ERRATA QA Contact: Daniel Horák <dahorak>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2CC: kdreyer, mkudlej, nthomas, sankarshan, vsarmila
Target Milestone: ---   
Target Release: 2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhscon-agent_0.0.14-2redhat1xenial Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-23 19:56:30 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: 1353450    

Description Daniel Horák 2016-07-11 10:17:51 UTC
Description of problem:
  Config file for logrotate for rhscon-agent (skynet) is named diferently on RHEL and on Ubuntu.

Version-Release number of selected component (if applicable):
  # rpm -q rhscon-agent
    rhscon-agent-0.0.13-1.el7scon.noarch
  
  # dpkg -l rhscon-agent
    rhscon-agent   0.0.11-2redhat1xenia all

How reproducible:
  100%

Steps to Reproduce:
1. List logrotate related configuration files from rhscon-agent package on Ubuntu and RHEL and compare them:
  Ubuntu:
  # dpkg -L rhscon-agent | grep logrotate
  RHEL:
  # rpm -ql rhscon-agent | grep logrotate

Actual results:
  Ubuntu:
  # dpkg -L rhscon-agent | grep logrotate
  /etc/logrotate.d/skynet

  RHEL:
  # rpm -ql rhscon-agent | grep logrotate
  /etc/logrotate.d/rhscon-agent

Expected results:
  The logrotate configuration file in downstream package should be named "rhscon-agent" and not skynet.

Comment 4 Daniel Horák 2016-07-28 11:10:38 UTC
The logrotate configuration file in downstream package is properly named "rhscon-agent" now.

# dpkg -L rhscon-agent | grep logrotate
  /etc/logrotate.d
  /etc/logrotate.d/rhscon-agent

Tested on:
  rhscon-agent 0.0.16-2redhat1xenial

Comment 6 errata-xmlrpc 2016-08-23 19:56:30 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2016:1754