Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed reading of extra config file #295

Merged
merged 1 commit into from
Oct 21, 2024
Merged

Conversation

schaefi
Copy link
Collaborator

@schaefi schaefi commented Oct 20, 2024

The MigrationConfig() was read in only once in the mount service. However in a more flexible workflow that does not require a mount service, the config file information would be missing. Also in case of an error in the mount service the data of the extra config file is not transported into other services that drives the cleanup.

For a more robust availability of the config information this patch adds the reading to all services that consumes it. In addition the change also prevents writing an 'all' status from systemd to the log file. This information is not relevant as the log contains information about the service runs. The data also floods the log with a lot of useless information and makes debugging more complicated

The MigrationConfig() was read in only once in the mount
service. However for the container use case there is mount
service. Thus the config file information was missing.
For a more robust availability of the config information
this patch adds the reading to all services that consumes it.
In addition the change also prevents writing an 'all' status
from systemd to the log file. This information is not relevant
as the log contains information about the service runs. The data
also floods the log with a lot of useless information and
makes debugging more complicated
@schaefi schaefi merged commit 89724d7 into master Oct 21, 2024
2 checks passed
@schaefi schaefi deleted the fix_reading_of_extra_config_file branch October 21, 2024 12:02
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.

2 participants