osa: file /etc/init.d/rc does not exist

Bug #1662545 reported by Christian Berendt
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Low
Major Hayden

Bug Description

The task "V-38642 - System default umask for daemons must be 027 or 022" in tasks/rhel6stig/file_perms.yml tries to modify a line in the file /etc/init.d/rc without checking if the file exists first. Because of that this test will fail on systems without this file.

The problem is that CentOS uses a different file: /etc/init.d/rc --> /etc/init.d/functions

description: updated
Changed in openstack-ansible:
assignee: nobody → Major Hayden (rackerhacker)
Changed in openstack-ansible:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-security (master)

Fix proposed to branch: master
Review: https://review.openstack.org/453236

Changed in openstack-ansible:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-security (master)

Reviewed: https://review.openstack.org/453236
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-security/commit/?id=701c0b1e32f4a7e1b38a9809cf814a337e5dfdb1
Submitter: Jenkins
Branch: master

commit 701c0b1e32f4a7e1b38a9809cf814a337e5dfdb1
Author: Major Hayden <email address hidden>
Date: Tue Apr 4 10:51:11 2017 -0500

    Fix path to daemon init params file

    Ubuntu 14.04 and CentOS 7 have their daemon inititalization
    parameters file in different places. This fixes a bug where
    the path in CentOS was incorrect.

    Closes-Bug: 1662545
    Change-Id: Ie0b30848a73f8a1fbc7fe6a475d93d87a72ce40f

Changed in openstack-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-security (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/453815

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-security (stable/ocata)

Reviewed: https://review.openstack.org/453815
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-security/commit/?id=c58c839f9cc9fcb75d32fc8de00b4f27add36661
Submitter: Jenkins
Branch: stable/ocata

commit c58c839f9cc9fcb75d32fc8de00b4f27add36661
Author: Major Hayden <email address hidden>
Date: Tue Apr 4 10:51:11 2017 -0500

    Fix path to daemon init params file

    Ubuntu 14.04 and CentOS 7 have their daemon inititalization
    parameters file in different places. This fixes a bug where
    the path in CentOS was incorrect.

    Closes-Bug: 1662545
    Change-Id: Ie0b30848a73f8a1fbc7fe6a475d93d87a72ce40f
    (cherry picked from commit 701c0b1e32f4a7e1b38a9809cf814a337e5dfdb1)

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-security 16.0.0.0b1

This issue was fixed in the openstack/openstack-ansible-security 16.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-security 15.1.2

This issue was fixed in the openstack/openstack-ansible-security 15.1.2 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.