{"action":"created","issue":{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1428","labels_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1428/labels{/name}","comments_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1428/comments","events_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1428/events","html_url":"https://github.com/pyinstaller/pyinstaller/issues/1428","id":102354884,"number":1428,"title":"Errors out with \"libz.so.1 file too short\" (or something similar) when creating file in /tmp fails","user":{"login":"shrikrishnaholla","id":1164410,"avatar_url":"https://avatars.githubusercontent.com/u/1164410?v=3","gravatar_id":"","url":"https://api.github.com/users/shrikrishnaholla","html_url":"https://github.com/shrikrishnaholla","followers_url":"https://api.github.com/users/shrikrishnaholla/followers","following_url":"https://api.github.com/users/shrikrishnaholla/following{/other_user}","gists_url":"https://api.github.com/users/shrikrishnaholla/gists{/gist_id}","starred_url":"https://api.github.com/users/shrikrishnaholla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shrikrishnaholla/subscriptions","organizations_url":"https://api.github.com/users/shrikrishnaholla/orgs","repos_url":"https://api.github.com/users/shrikrishnaholla/repos","events_url":"https://api.github.com/users/shrikrishnaholla/events{/privacy}","received_events_url":"https://api.github.com/users/shrikrishnaholla/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-21T11:16:44Z","updated_at":"2015-08-21T12:42:41Z","closed_at":"2015-08-21T12:37:51Z","body":"Problem detected downstream with docker/compose#1761\r\n\r\nBasically, if creating files in `/tmp` fails for whatever reason, the executable panics and becomes useless. Maybe there should be some kind of fallback if file creation at `/tmp` fails?\r\n\r\nIn my case, somehow `/tmp` had gotten mounted to a block device with a `1M` size limit. So when the [docker-compose](https://github.com/docker/compose) binary tried to create files, it couldn't and the next stage (or whatever) expected those files to be present and panicked when they weren't found."},"comment":{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/comments/133414067","html_url":"https://github.com/pyinstaller/pyinstaller/issues/1428#issuecomment-133414067","issue_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1428","id":133414067,"user":{"login":"codewarrior0","id":307683,"avatar_url":"https://avatars.githubusercontent.com/u/307683?v=3","gravatar_id":"","url":"https://api.github.com/users/codewarrior0","html_url":"https://github.com/codewarrior0","followers_url":"https://api.github.com/users/codewarrior0/followers","following_url":"https://api.github.com/users/codewarrior0/following{/other_user}","gists_url":"https://api.github.com/users/codewarrior0/gists{/gist_id}","starred_url":"https://api.github.com/users/codewarrior0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codewarrior0/subscriptions","organizations_url":"https://api.github.com/users/codewarrior0/orgs","repos_url":"https://api.github.com/users/codewarrior0/repos","events_url":"https://api.github.com/users/codewarrior0/events{/privacy}","received_events_url":"https://api.github.com/users/codewarrior0/received_events","type":"User","site_admin":false},"created_at":"2015-08-21T12:42:41Z","updated_at":"2015-08-21T12:42:41Z","body":"If you need to direct a pyinstaller app to a different temp folder, you may use the `TMPDIR` environment variable."}}