agama/live/live-root/etc
Ladislav Slezák d382e4d6d5
Break a systemd service dependency cycle (#3665)
## Problem

- https://bugzilla.suse.com/show_bug.cgi?id=1268901
- When systemd detects a cycle in the service dependencies then it
deletes some services to break the cycle. But that services are missing
in the boot sequence and that can have nasty side effects.

```
Jun 24 15:03:54 localhost systemd[1]: NetworkManager-initrd.service: Found ordering cycle: ignition-enable-network.service/start after ignition-fetch-offline.service/start after basic.target/start after sysinit.target/start after cryptsetup.target/start after systemd-ask-password-console.path/start after plymouth-start.service/start after initrd-nmtui.service/start after network-online.target/start after network.target/start after NetworkManager-initrd.service/start - after ignition-enable-network.service
Jun 24 15:03:54 localhost systemd[1]: NetworkManager-initrd.service: Job cryptsetup.target/start deleted to break ordering cycle starting with NetworkManager-initrd.service/start
```

## Solution

- Remove the `Before=plymouth-start.service` dependency which was used
to start the interactive TUI tool before the splashscreen (otherwise it
would not be visible).
- Instead ordering the services quit plymouth before starting the TUI
tool.

## Notes

- As written in the comment, it should be enough to use the `plymouth
hide-splash` and `plymouth show-splash` pair in the pre/post scripts but
unfortunately then the `nmtui` ignores pressing the `Enter` key and
cannot be used. It is strange as the `dialog` tool used before running
`nmtui` works fine.
- As a workaround quit the splash screen completely. As this boot option
will be used rarely it is an acceptable solution.

## Testing

- Tested manually, no dependency cycle is reported and the `nmtui` tool
works fine.

---------

Co-authored-by: Martin Vidner <mvidner@suse.com>
2026-06-24 17:55:03 +02:00
..
avahi/services Rename "root" to "live-root" to avoid confusion 2025-04-23 13:26:35 +02:00
fonts/conf.d feat(live): use a config file to add agama-web-ui fonts 2025-06-18 08:56:57 +01:00
modules-load.d Rename "root" to "live-root" to avoid confusion 2025-04-23 13:26:35 +02:00
ssh/sshd_config.d Rename "root" to "live-root" to avoid confusion 2025-04-23 13:26:35 +02:00
sysconfig Adapted to change in live root main directory 2025-06-03 09:36:39 +02:00
systemd/system Break a systemd service dependency cycle (#3665) 2026-06-24 17:55:03 +02:00
zypp/repos.d remove internal only agama staging repo (bsc#1249616) 2025-09-16 09:14:22 +02:00
multipath.conf Rename "root" to "live-root" to avoid confusion 2025-04-23 13:26:35 +02:00