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

--help option wants to log to non-existant directory #8

Open
olafhering opened this issue Jan 17, 2025 · 0 comments
Open

--help option wants to log to non-existant directory #8

olafhering opened this issue Jan 17, 2025 · 0 comments

Comments

@olafhering
Copy link

While packaging 6183e42, and do a very simple-minded verification by running $exe --help, it turned out the app does not run at all unless the log directory exist:

[   29s] Executing(%check): /usr/bin/bash -e /var/tmp/rpm-tmp.9Gik3M
[   29s] + umask 022
[   29s] + cd /home/abuild/rpmbuild/BUILD
[   29s] + cd trustauthority-cli-1.11.0
[   29s] + mkdir -vp /home/abuild/.config
[   29s] + ./v1 --help
[   29s] Error opening/creating log file: open /home/abuild/.config/trustauthorityctl/logs/trustauthorityctl.log: no such file or directo
ry
[   29s] error: Bad exit status from /var/tmp/rpm-tmp.9Gik3M (%check)
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

No branches or pull requests

1 participant