[PATCH v2 00/15] Fedora on Debian

Daniel Gomez <[email protected]> Wed, 29 Oct 2025 13:40:42 +0100
Newsgroups dev.linux.lists.kdevops
Message-ID <[email protected]>
This series enables testing Fedora guest VMs on Debian host systems,
addressing cross-distribution compatibility issues in guestfs workflow
and adding manual CI workflow support for multi-distro testing.

The key technical challenge solved is SELinux context handling
when building Fedora images on non-SELinux hosts like Debian, where
libguestfs cannot persist security.selinux extended attributes. The
series also fixes Ansible variable scope issues in 9P builds and adds
configuration infrastructure to support distribution-specific guest
selection.

The GitHub Actions workflow gains manual guest OS selection to validate
distro-specific fixes across both Debian and Fedora environments.

kdevops-ci blktests_nvme validation test using Fedora on Debian:
https://github.com/linux-kdevops/kdevops/actions/runs/18883031353

Signed-off-by: Daniel Gomez <[email protected]>
---
Changes in v2:
- Update patch 9p os detection and leverage Kconfig distro variables as
Chuck's suggestion
- Drop include/import grub changes as unnecessary
- Fix same issue in selftests install-deps step
- CI tests :
1. Fedora on Debian
https://github.com/linux-kdevops/kdevops/actions/runs/18903303694
2. Debian on Debian
https://github.com/linux-kdevops/kdevops/actions/runs/18903311654
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Daniel Gomez (15):
      base_image: restore locales-all installation for Debian Trixie
      guestfs: fix Kconfig indentation style
      guestfs: remove unused bringup debug Kconfig options
      guestfs: fix spelling errors and Debian capitalization
      base_image: set selinux to permissive for fedora on debian hosts
      ansible_provisioning: fix help text indentation style
      devconfig: fix undefined custom repos/packages variables
      devconfig: fix Ansible boolean conditional for custom repos
      bootlinux: fix os detection for 9p build dependency installation
      selftests: fix os detection for 9p build dependency installation
      guestfs: generate fedora distribution-specific hostname prefixes
      defconfigs: add fedora-41 fragment for guestfs
      defconfigs: add debian-13 fragment for guestfs
      github: add guest OS selection for CI testing
      guestfs: increase SSH config timeout for Fedora on Debian hosts

 .github/actions/configure/action.yml               | 22 ++++++-
 .github/workflows/kdevops.yml                      | 10 ++++
 Makefile                                           |  7 ---
 defconfigs/configs/guestfs-debian-13.config        |  2 +
 defconfigs/configs/guestfs-fedora-41.config        |  2 +
 kconfigs/Kconfig.ansible_provisioning              | 58 +++++++++---------
 kconfigs/Kconfig.guestfs                           | 68 +++++++++-------------
 kconfigs/Kconfig.kdevops                           |  1 +
 playbooks/roles/base_image/tasks/base-image.yml    | 34 +++++++++++
 .../roles/base_image/templates/virt-builder.j2     |  1 +
 playbooks/roles/bootlinux/defaults/main.yml        |  6 ++
 playbooks/roles/bootlinux/tasks/build/9p.yml       |  2 +-
 .../roles/bootlinux/tasks/install-deps/main.yml    |  6 +-
 .../bootlinux/tasks/install-deps/redhat/main.yml   |  4 +-
 playbooks/roles/devconfig/defaults/main.yml        |  4 ++
 .../redhat/main.yml                                |  2 -
 playbooks/roles/guestfs/tasks/bringup/main.yml     |  4 ++
 playbooks/roles/selftests/defaults/main.yml        |  6 ++
 .../tasks/install-deps/main-localhost.yml          | 10 ++++
 playbooks/roles/selftests/tasks/main.yml           |  2 +-
 scripts/update_ssh_config_guestfs.py               |  8 ++-
 21 files changed, 172 insertions(+), 87 deletions(-)
---
base-commit: 8d223755643d5017562a632ea7f0aaa79f2f5563
change-id: 20251028-fedora-on-debian-73ed90d0fbd8

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