You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you run the container but provide a /data that can't be written to, such as for permission issues, the entrypoint script just exits with code 0. It should exit with a non-zero code to make it clear that a problem was encountered, and it should not continue the script past a step that failed.
[mhrivnak@localhost ]$ podman run --rm -it -v /:/data ghcr.io/oxtyped/gpodder2go:main
No database found, intializing gpodder2go ...
2024/12/12 13:33:00 unable to open database file: out of memory (14)
... database initialized
VERIFIER_SECRET_KEY not found, intializing VERIFIER_SECRET_KEY ...
/entrypoint.sh: line 9: /data/VERIFIER_SECRET_KEY: Permission denied
... VERIFIER_SECRET_KEY initialized
cat: /data/VERIFIER_SECRET_KEY: No such file or directory
VERIFIER_SECRET_KEY is missing
[mhrivnak@localhost ]$ echo $?
0
Eagle-eyed readers may also notice the incorrect out of memory (14) message, but that appears to be coming from the sqlite3 driver.
The text was updated successfully, but these errors were encountered:
mhrivnak
added a commit
to mhrivnak/gpodder2go
that referenced
this issue
Dec 12, 2024
If you run the container but provide a
/data
that can't be written to, such as for permission issues, the entrypoint script just exits with code0
. It should exit with a non-zero code to make it clear that a problem was encountered, and it should not continue the script past a step that failed.Eagle-eyed readers may also notice the incorrect
out of memory (14)
message, but that appears to be coming from the sqlite3 driver.The text was updated successfully, but these errors were encountered: