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

install --keyring does not work with rauc.service #288

Closed
ilkondr opened this issue Jul 12, 2018 · 4 comments
Closed

install --keyring does not work with rauc.service #288

ilkondr opened this issue Jul 12, 2018 · 4 comments
Labels

Comments

@ilkondr
Copy link

ilkondr commented Jul 12, 2018

root@board:/tmp# rauc --keyring=/etc/rauc/keyring.pem install bundle.raucb
rauc-Message: installing /tmp/bundle.raucb: installing
rauc-Message: installing /tmp/bundle.raucb:   0% Installing
rauc-Message: installing /tmp/bundle.raucb:   0% Determining slot states
rauc-Message: installing /tmp/bundle.raucb:  20% Determining slot states done.
rauc-Message: installing /tmp/bundle.raucb:  20% Checking bundle
rauc-Message: installing /tmp/bundle.raucb:  40% Checking bundle failed.
rauc-Message: installing /tmp/bundle.raucb: 100% Installing failed.
rauc-Message: installing /tmp/bundle.raucb: LastError: No keyring file provided
Installing /tmp/bundle.raucb failed

However rauc info --keyring=$keyring_path bundle.raucb works well.
install works for me only if keyring path provided with default conf file. So that means rauc install -c $config_path bundle.raucb also does not work even if keyring path is provided with custom config file.

@jluebbe
Copy link
Member

jluebbe commented Jul 13, 2018

You need to set the keyring to use in the config file used by the service. The expectation is that you only need one config file on any given system.
When used via D-Bus, the client should reject the these options as they don't have an effect on the service, to avoid confusing the users.

@ejoerns
Copy link
Member

ejoerns commented Jul 27, 2018

@ilkondr Did that answer your question?

I've opened #292 to face the issue @jluebbe mentioned

@ejoerns
Copy link
Member

ejoerns commented Aug 21, 2018

As there was no response and the issue behind it is addressed by another PR, I'll close that for now. If there are questions remaining feel free to reopen.

@ejoerns ejoerns closed this as completed Aug 21, 2018
@ilkondr
Copy link
Author

ilkondr commented Aug 21, 2018

I'm sorry for not providing response for a long time.
I'm OK with closing this since the ticket was raised just to show the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants