[PATCH 0/2] Locales fixes

Daniel Gomez <[email protected]> Mon, 29 Sep 2025 21:04:11 +0200
Newsgroups dev.linux.lists.kdevops
Message-ID <[email protected]>
This drops locales-all from devconfig playbook and make en-US.UTF tasks
distro agnostic. While at it, also fix guest image permissions when the
base image is not copied and ensure idempotency with permissions.

Note, the locales-all was in the wrong location (before removing
unattended-install Debian package) provoking the apt concurrency issue
(logs below) and not needed for en_US-UTF locale configuration added in
commit 2514a694 ("guestfs: fix locale warnings in VM deployment").

Error: : Task failed: Module failed: '/usr/bin/apt-get -y -o
"Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold"
-o DPkg::Lock::Timeout=60       install 'locales-all=2.41-12''
failed: E: Unable to acquire the dpkg frontend lock
(/var/lib/dpkg/lock-frontend), is another process using it?

Signed-off-by: Daniel Gomez <[email protected]>
---
Daniel Gomez (2):
      devconfig: drop locales-all leftovers
      base_image: ensure base image permissions are set

 playbooks/roles/base_image/tasks/custom-image.yml |  1 -
 playbooks/roles/devconfig/tasks/main.yml          | 50 ++++++++---------------
 2 files changed, 17 insertions(+), 34 deletions(-)
---
base-commit: 0f7daa6bf64052343ff1dc42b3da3a35bc89b234
change-id: 20250929-locales-all-removal-e67b23f6724e

Best regards,
--  
Daniel Gomez <[email protected]>