From: Michael Fritch Date: Thu, 10 Mar 2022 17:18:51 +0000 (-0700) Subject: cephadm: preserve `authorized_keys` file during upgrade X-Git-Tag: v18.0.0~1099^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=781be8d44a8543aca87bba4f61ba47acc6046b49;p=ceph.git cephadm: preserve `authorized_keys` file during upgrade Fixes: https://tracker.ceph.com/issues/54530 Signed-off-by: Michael Fritch --- diff --git a/ceph.spec.in b/ceph.spec.in index 21764d2865a..a53b85ce379 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -1548,7 +1548,7 @@ exit 0 %{_mandir}/man8/cephadm.8* %attr(0700,cephadm,cephadm) %dir %{_sharedstatedir}/cephadm %attr(0700,cephadm,cephadm) %dir %{_sharedstatedir}/cephadm/.ssh -%attr(0600,cephadm,cephadm) %{_sharedstatedir}/cephadm/.ssh/authorized_keys +%config(noreplace) %attr(0600,cephadm,cephadm) %{_sharedstatedir}/cephadm/.ssh/authorized_keys %files common %dir %{_docdir}/ceph