-
Notifications
You must be signed in to change notification settings - Fork 782
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
Main difference between "array" and "string" forms of buildah config --entrypoint
command not described in the man page buildah-config
#5598
Comments
workaround exists:
in this case all works as expected:
probably this is not a bug in |
buildah config --entrypoint
bug: /bin/sh
used as entrypoint instead of /usr/lib/systemd/systemd
buildah config --entrypoint
command not described in the man page buildah-config
Interested in opening a PR to fix documentation? |
Sorry, but not. Because English is not my native language, and I am not sure in the high quality of such my PR. |
A friendly reminder that this issue had no activity for 30 days. |
It's ironic that this issue was opened trying to add systemd, as it have the exact same issue with some keys randomly acting as array append while most others do not, e.g. But differently from systemd workaround, which is to set it to empty before you expect to set the only value (
) on buildah it seems to work but then add the
|
buildah already shows warnings for even more obvious things when
If you point me to the general direction of the code I can try a new PR to also warn when string values where appended to an array for all |
A friendly reminder that this issue had no activity for 30 days. |
So |
Fixes: containers#5598 Signed-off-by: Daniel J Walsh <[email protected]>
Fixes: containers#5598 Signed-off-by: Daniel J Walsh <[email protected]>
Description
Command
buildah config --entrypoint
not work as expected and as it documented.podman hung when try to stop such container, because it can't detect what entrypoint is systemd.
because container entrypoint is really
/bin/sh
, not/usr/lib/systemd/systemd
.Steps to reproduce the issue:
buildah from scratch
buildah config --entrypoint "/usr/lib/systemd/systemd" working-container
buildah inspect working-container | less
Describe the results you received:
Describe the results you expected:
Output of
rpm -q buildah
orapt list buildah
:Output of
buildah version
:Output of
cat /etc/*release
:Output of
uname -a
:Output of
cat /etc/containers/storage.conf
:The text was updated successfully, but these errors were encountered: