-
Notifications
You must be signed in to change notification settings - Fork 6
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
Wrong argument in update manager service unit template #63
Comments
The origin of the problem comes from the service template file that is committed in update-manager repository: https://github.com/eclipse-kanto/update-manager/blob/2025fdb8d813a070842934d017f4e0364ef32ef9/resources/update-manager.service Currently, it's a little bit of a mess with this config file flag between the Kanto components. There are several separate options used:
I think all these should be aligned with each other and limit the differences. Only the update manager is a new Kanto component, that has never been released up to now, the others are released with their different config options already. I see two options to fix the reported problem:
@k-gostev @dimitar-dimitrow What do you think? Which approach shall we go? Please, create the corresponding ticket in the update-manager issue tracker. In any case, a change in update-manager repository is required - either implementation or service resource needs to be fixed. |
Let's stick for now with |
[#63] Wrong argument in update manager service unit template -------------- Signed-off-by: Kristiyan Gostev <kristiyan.gostev@bosch.com>
[#63] Wrong argument in update manager service unit template -------------- Signed-off-by: Kristiyan Gostev <kristiyan.gostev@bosch.com>
Issue
The update manager recipe compiles and installs the UM config.json and binary in the final image, but the service unit fails to start the service. Looking at the logs, we can see the following error:
Comparing the error log and the
help
of UM we can see there is an error in the service unit template here:https://github.com/eclipse-kanto/meta-kanto/blob/kirkstone/recipes-management/update-manager/files/service.template#L10
Currently L10 is:
But should be:
That is, the option name is
-config-file
and not-configFile
.Expected Behavior
The service unit is patched with the proper option name and it starts successfully.
The text was updated successfully, but these errors were encountered: