Skip to content

Commit

Permalink
Remove chown for non-existent script on centos (2/2)
Browse files Browse the repository at this point in the history
Centos doesnt create symlink to contrail-cassandra-{status|repair}.py files.
Instead files are copied in /usr/bin/. So chown statements not needed for .py files.

Change-Id: I56ee8d9dd8978b9f93f8779da26c64fa3632eb07
Partial-Bug: #1773412
  • Loading branch information
Santosh Gupta committed Jun 11, 2018
1 parent 21d6815 commit 6f0286a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions common/rpm/contrail-openstack-database.spec
Expand Up @@ -57,8 +57,7 @@ chown -R contrail:adm /var/log/contrail
chmod 0750 /var/log/contrail
chown -R contrail:contrail /var/lib/contrail/ /etc/contrail/
chmod 0750 /etc/contrail/
chown contrail:contrail /usr/share/contrail/contrail-cassandra-status.py
chown -h contrail:contrail /usr/bin/contrail-cassandra-status
chown contrail:contrail /usr/bin/contrail-cassandra-status

if [ -f /var/log/cassandra/status.log]; then
mv /var/log/cassandra/status-up /var/log/contrail/cassandra-status-up
Expand Down

0 comments on commit 6f0286a

Please sign in to comment.