blue-build / modules

BlueBuild standard modules used for building your Atomic Images
Apache License 2.0
24 stars 25 forks source link

systemd module: Running enables before disables can cause errors #41

Closed zelikos closed 11 months ago

zelikos commented 11 months ago

Enabling services before disabling can cause an error in case of e.g. switching to a different display manager

=== Launching module of type: systemd ===
Failed to enable unit, file "/etc/systemd/system/display-manager.service" already exists and is a symlink to "/usr/lib/systemd/system/gdm.service".

In systemd.sh, running the systemctl disable loops before their respective enable loop should resolves this