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

[booth] pcs booth setup shall not jump to report "No such file or directory: '/etc/booth/booth.key'" when /etc/booth doesn't exist #225

Closed
jnpkrn opened this issue Dec 9, 2019 · 2 comments · Fixed by #411 or #415

Comments

@jnpkrn
Copy link
Contributor

jnpkrn commented Dec 9, 2019

The point is that lack of /etc/booth directory signifies that, with most
likelihood, booth is just not installed (pcs apparently refrains from
creating that directory if it do not exist), as opposed to other problems
that may arise when saving that file.

Also, with Fedora:

# dnf repoquery -f /etc/booth
> booth-core-0:1.0-3.f2d38ce.git.fc31.2.x86_64

# dnf repoquery -f /etc/booth/booth.key | grep -v '^$' || echo --nobody--
> --nobody--

making deciphering and fixing of

Error: Unable to write Booth key '/etc/booth/booth.key':
  No such file or directory: '/etc/booth/booth.key'

slightly more challenging.

If /etc/booth directory is missing, it shall rather customize the
wording:

Configuration directory for booth, /etc/booth, is missing.
Is booth installed?
@jnpkrn
Copy link
Contributor Author

jnpkrn commented Jan 9, 2020

Ditto pcs booth pull.

@tomjelinek
Copy link
Member

@tomjelinek tomjelinek linked a pull request Nov 25, 2021 that will close this issue
@tomjelinek tomjelinek linked a pull request Nov 26, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants