From 6e918d166e4acea71facf59df58e2c3dbc7e86d5 Mon Sep 17 00:00:00 2001 From: Ludovic Poujol Date: Thu, 28 Nov 2019 10:59:29 +0100 Subject: [PATCH] evolinux-base: Don't make alert5.service executable Every 3 mins, systemd complain that the service file is marked as executable, and asks the executable bit to be remove. Nov 27 01:35:11 foo systemd[1]: Configuration file /etc/systemd/system/alert5.service is marked executable. Please remove executable permission bits. Proceeding anyway. --- CHANGELOG.md | 1 + evolinux-base/tasks/system.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e1a9b91..47d0b6c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -64,6 +64,7 @@ The **patch** part changes incrementally at each release. * tomcat: fix typo for default tomcat_version * evolinux-base: Fix our zsyslog rotate config that doesn't work on Debian 10 * certbot: Properly evaluate when apache is installed +* evolinux-base: Don't make alert5.service executable as systemd will complain ### Security diff --git a/evolinux-base/tasks/system.yml b/evolinux-base/tasks/system.yml index bd799363..dbf9cbd9 100644 --- a/evolinux-base/tasks/system.yml +++ b/evolinux-base/tasks/system.yml @@ -160,7 +160,7 @@ src: alert5.service dest: /etc/systemd/system/alert5.service force: yes - mode: "0755" + mode: "0644" when: - evolinux_system_alert5_init - ansible_distribution_major_version | version_compare('10', '>=')