summaryrefslogtreecommitdiffstats
path: root/molecule/archlinux
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-01-09 00:57:27 +0100
committerAhmed Abdelhalim <[email protected]>2026-01-09 00:57:27 +0100
commit5aae2eb3fe5b0045df93bb0203b0e1548c4b8e62 (patch)
treee20e6e8cc3768ebec330737e2f6f2d21c530b9a2 /molecule/archlinux
parent56e48cf124d1ce1639a1768f8569451001923afb (diff)
Remove systemd cleanup from archlinux
This might be the reason for the pipewire systemctl --user failure
Diffstat (limited to 'molecule/archlinux')
-rw-r--r--molecule/archlinux/Dockerfile.j212
-rw-r--r--molecule/archlinux/converge.yml29
2 files changed, 0 insertions, 41 deletions
diff --git a/molecule/archlinux/Dockerfile.j2 b/molecule/archlinux/Dockerfile.j2
index 7f098c87..1d1244bd 100644
--- a/molecule/archlinux/Dockerfile.j2
+++ b/molecule/archlinux/Dockerfile.j2
@@ -5,18 +5,6 @@ ENV container docker
RUN pacman -Syu --noconfirm --needed python3 systemd udev dbus \
&& pacman -Scc --noconfirm
-RUN (cd /lib/systemd/system/sysinit.target.wants/; \
- for i in *; do [ $i == systemd-tmpfiles-setup.service ] || rm -f $i; done); \
- rm -f /lib/systemd/system/multi-user.target.wants/*;\
- rm -f /etc/systemd/system/*.wants/*;\
- rm -f /lib/systemd/system/local-fs.target.wants/*; \
- rm -f /lib/systemd/system/sockets.target.wants/*initctl*; \
- rm -f /lib/systemd/system/basic.target.wants/*;\
- rm -f /lib/systemd/system/anaconda.target.wants/*;
-
-# Workaround systemctl --user failing in testing
-RUN systemctl enable dbus.service systemd-logind.service
-
# Workaround archlinux not including any non-indo-european locales
# https://gitlab.archlinux.org/archlinux/archlinux-docker/-/issues/59
RUN cp -r /usr/share/i18n/locales/en_US /usr/share/i18n/locales/de_DE;
diff --git a/molecule/archlinux/converge.yml b/molecule/archlinux/converge.yml
index ceec6384..d8c1dea0 100644
--- a/molecule/archlinux/converge.yml
+++ b/molecule/archlinux/converge.yml
@@ -77,35 +77,6 @@
- role: "btop"
- role: "bluetui"
- role: "wlctl"
- tasks:
- - name: "Debug systemd-logind status"
- ansible.builtin.shell:
- cmd: "{{ item }}"
- loop:
- - "systemctl is-active dbus"
- - "systemctl is-active systemd-logind"
- - "loginctl list-sessions"
- - "ls -la /run/user/ || echo 'no /run/user'"
- - "ls -la /run/user/1000/ || echo 'no user dir'"
- - "systemctl --user status || echo 'user systemd failed'"
- become: true
- become_user: "{{ username }}"
- register: debug_output
- failed_when: false
-
- - name: "Show debug output"
- ansible.builtin.debug:
- var: debug_output
-
-- name: "Configure pipewire"
- hosts: "archlinux"
- gather_facts: true
- remote_user: "{{ username }}"
- environment:
- PATH: "{{ ansible_env.HOME }}/.local/bin:{{ ansible_env.PATH }}"
- vars:
- ansible_become_method: sudo
- roles:
- role: "pipewire"
- role: "brightnessctl"
- role: "wiremix"