From e3d352d8fade400644367fdd2b2344f657c404a8 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Mon, 30 May 2022 01:02:15 +0200 Subject: [PATCH] sys-auth/keystone: use root perms for logrotate Signed-off-by: Alessandro Barbieri --- ...{keystone-21.0.0-r1.ebuild => keystone-21.0.0-r2.ebuild} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename sys-auth/keystone/{keystone-21.0.0-r1.ebuild => keystone-21.0.0-r2.ebuild} (100%) diff --git a/sys-auth/keystone/keystone-21.0.0-r1.ebuild b/sys-auth/keystone/keystone-21.0.0-r2.ebuild similarity index 100% rename from sys-auth/keystone/keystone-21.0.0-r1.ebuild rename to sys-auth/keystone/keystone-21.0.0-r2.ebuild index bf08634626..4630d46952 100644 --- a/sys-auth/keystone/keystone-21.0.0-r1.ebuild +++ b/sys-auth/keystone/keystone-21.0.0-r2.ebuild @@ -100,6 +100,9 @@ python_compile_all() { python_install_all() { distutils-r1_python_install_all + insinto /etc/logrotate.d + newins "${FILESDIR}/keystone.logrotate" keystone.conf + diropts -m 0750 keepdir /etc/keystone /var/log/keystone insinto /etc/keystone @@ -115,9 +118,6 @@ python_install_all() { newtmpfiles "${FILESDIR}/keystone.tmpfile" keystone.conf - insinto /etc/logrotate.d - newins "${FILESDIR}/keystone.logrotate" keystone.conf - systemd_dounit "${FILESDIR}/openstack-keystone.service" insinto /usr/lib/sysctl.d/