From 3ad4754b313d21d8969405e89f9b9aeb77d799ac Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Fri, 31 Jul 2026 14:47:57 -0500 Subject: rpi-base: drop the duplicate cloud-init logrotate config 26.04 ships the same snippet from both cloud-init and cloud-init-base; the duplicate log entry made every logrotate run exit 1 fleet-wide. Keep the base one; dpkg remembers conffile deletions across upgrades. --- rpi-base/tasks/main.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'rpi-base/tasks/main.yaml') diff --git a/rpi-base/tasks/main.yaml b/rpi-base/tasks/main.yaml index 087d964..2a94df5 100644 --- a/rpi-base/tasks/main.yaml +++ b/rpi-base/tasks/main.yaml @@ -33,6 +33,15 @@ become: yes copy: src="logrotate.conf" dest="/etc/logrotate.conf" +# 26.04 ships the same snippet from both cloud-init and cloud-init-base, +# and the duplicate log entry makes every logrotate run exit 1. Keep the +# base one; dpkg remembers conffile deletions across package upgrades. +- name: drop the duplicate cloud-init logrotate config + become: yes + file: + path: "/etc/logrotate.d/cloud-init" + state: absent + - name: configure journald max size become: yes copy: src="journald.conf" dest="/etc/systemd/journald.conf" -- cgit v1.2.3