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
Everything works fine with slightly modified distrobox-export generated script, but when the editor leaves, there is sometime a temporary file left behind (..vis. pattern).
#!/bin/sh# distrobox_binary# name: vis# outside of any containerif [ -z"${CONTAINER_ID}" ];thenexec /usr/bin/distrobox-enter -n vis -- /usr/bin/vis "$@"# inside of the vis containerelif [ -x"/usr/bin/vis" ] ;then
/usr/bin/vis "$@"# inside of other containerelif [ -x"/usr/bin/distrobox-host-exec" ] ;then
/usr/bin/distrobox-host-exec ~/.bin/vis "$@"elseecho"Cannot run vis"exit 255
fi
The only problem is that this editor leaves behind zero-length temporary files named .*.vis.* (e.g., ~/projekty/git-fixup/.git/.COMMIT_EDITMSG.vis.Hf71uh). I think those files I created at https://github.com/martanne/vis/blob/master/text-io.c#L253, and I wonder how it could clash with distrobox.
This change martanne/vis#507 looks a bit suspicious to me, but I wonder whether it is truly an error and whether distrobox shouldn’t accommodate it.
The problem doesn’t happen 100% (perhaps vis doesn’t create temporary files with small files?), so this log of distrobox-enter doesn’t show anything which I would consider wrong.
Desktop (please complete the following information):
Are you using podman, docker or lilipod? podman
Which version or podman, docker or lilipod? 5.2.5
Which version of distrobox? 1.8.0
Which host distribution? MicroOS (packages from openSUSE/Tumbleweed)
How did you install distrobox? system packages
The text was updated successfully, but these errors were encountered:
Describe the bug
I am trying to use a
distrobox
-run container as an application, specifically my$EDITOR
. Specifically, the project is hosted at https://build.opensuse.org/package/show/home:mcepl:moldavite/vis-master-container.Everything works fine with slightly modified
distrobox-export
generated script, but when the editor leaves, there is sometime a temporary file left behind (..vis. pattern).The only problem is that this editor leaves behind zero-length temporary files named
.*.vis.*
(e.g.,~/projekty/git-fixup/.git/.COMMIT_EDITMSG.vis.Hf71uh
). I think those files I created at https://github.com/martanne/vis/blob/master/text-io.c#L253, and I wonder how it could clash with distrobox.This change martanne/vis#507 looks a bit suspicious to me, but I wonder whether it is truly an error and whether distrobox shouldn’t accommodate it.
The problem doesn’t happen 100% (perhaps
vis
doesn’t create temporary files with small files?), so this log ofdistrobox-enter
doesn’t show anything which I would consider wrong.Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: