sys-auth/keystone: use root perms for logrotate

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri 2022-05-30 01:02:15 +02:00
parent 2cdd140a84
commit e3d352d8fa
No known key found for this signature in database
GPG Key ID: 4E4140121372C837

View File

@ -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/