From 3c465d5ce6314479d806d4c6e1250b35fbe3ca1e Mon Sep 17 00:00:00 2001
From: Julien Leduc <julien.leduc@cern.ch>
Date: Fri, 15 Dec 2017 14:19:42 +0100
Subject: [PATCH] /etc/sysconfig/cta-rmcd should have noreplace as well,
 otherwise a production package update can kill the media changer on all
 tapeservers

---
 cta.spec.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cta.spec.in b/cta.spec.in
index 806d9b866a..2bf3b294cf 100644
--- a/cta.spec.in
+++ b/cta.spec.in
@@ -313,7 +313,7 @@ Tools to faciliate working with rmcd and smc in cta
 %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/cta/cta-rmcd.conf
 %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/cta/cta-smc.conf
 %attr(0644,root,root) %doc /usr/share/man/man1/cta-smc.1cta.gz
-%attr(0644,root,root) /etc/sysconfig/cta-rmcd
+%attr(0644,root,root) %config(noreplace) /etc/sysconfig/cta-rmcd
 %attr(0644,root,root) /etc/systemd/system/cta-rmcd.service
 
 %endif
-- 
GitLab