Skip to content

[PQSWPRG-7343] Featureimage/systemd deps#424

Merged
jimklimov merged 122 commits intomasterfrom
featureimage/systemd-deps
Apr 8, 2020
Merged

[PQSWPRG-7343] Featureimage/systemd deps#424
jimklimov merged 122 commits intomasterfrom
featureimage/systemd-deps

Conversation

@jimklimov
Copy link
Copy Markdown
Member

@jimklimov jimklimov commented Apr 2, 2020

The centerpiece of service dependency and trackable milestone rearrangement (adding several intermediate target units and services to manage stuff as a bundle, and work around systemd deficiencies), to make startups and shutdowns of the system and selected services faster, more predictable and less conflicting. Greatly reduces the first-boot footprint (and so time taken to present the wizard).

As a side effect, not easy and quite pointless to excise into a separate PR (at best, would be a required prerequisite to merge the specifically service-related commits), this changeset changes hardcoded paths to delivered files into configure/build-time defined template expansions that should result in same strings as it is for the curent product bundling.

Accompanied by smaller PRs, mostly to reference these targets and/or further real required services, in numerous other components. Related changes in other 42ity components include:

Thoroughly tested as a feature image, deploys much faster than original state and fails less often in the CI runs (the few issues that were occasionally seen in certain components blocking the shutdown rarely, are backlogged).

…stead of hardcoding (ipc-meta-setup.service.in)
…just before the end to be sure nobody enables it
…arget and other high-profile units for first boot. Autostart only bios-pre-eula.target and fty-license-accepted.target; the latter service should enable the consumers disabled here
…t relax the check that IPC is listened after start so consumers can start up
…r, it is RequiredBy+PartOf fty-license-accepted.target and breaks units that began initializing already
… only wait for them if the OS is not currently shutting down (systemctl blocks on wait in this case)
…emergency targets in addition to shutdown/recovery
… sec is too long, half the test suite can not connect in case of a crash
…Exec* lines and update the comment about bios.service
… touch-file to enforce bios-shutdown.target staying active
@jimklimov jimklimov merged commit 6116fbe into master Apr 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant