{"action":"created","issue":{"url":"https://api.github.com/repos/sylabs/singularity/issues/2420","repository_url":"https://api.github.com/repos/sylabs/singularity","labels_url":"https://api.github.com/repos/sylabs/singularity/issues/2420/labels{/name}","comments_url":"https://api.github.com/repos/sylabs/singularity/issues/2420/comments","events_url":"https://api.github.com/repos/sylabs/singularity/issues/2420/events","html_url":"https://github.com/sylabs/singularity/issues/2420","id":386940823,"node_id":"MDU6SXNzdWUzODY5NDA4MjM=","number":2420,"title":"Temporary files in /tmp/sbuild-* are not cleaned up after unsuccessful or aborted singularity builds","user":{"login":"MInner","id":5229267,"node_id":"MDQ6VXNlcjUyMjkyNjc=","avatar_url":"https://avatars1.githubusercontent.com/u/5229267?v=4","gravatar_id":"","url":"https://api.github.com/users/MInner","html_url":"https://github.com/MInner","followers_url":"https://api.github.com/users/MInner/followers","following_url":"https://api.github.com/users/MInner/following{/other_user}","gists_url":"https://api.github.com/users/MInner/gists{/gist_id}","starred_url":"https://api.github.com/users/MInner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MInner/subscriptions","organizations_url":"https://api.github.com/users/MInner/orgs","repos_url":"https://api.github.com/users/MInner/repos","events_url":"https://api.github.com/users/MInner/events{/privacy}","received_events_url":"https://api.github.com/users/MInner/received_events","type":"User","site_admin":false},"labels":[{"id":1082790476,"node_id":"MDU6TGFiZWwxMDgyNzkwNDc2","url":"https://api.github.com/repos/sylabs/singularity/labels/Image%20Building","name":"Image Building","color":"cdf9a9","default":false},{"id":271060105,"node_id":"MDU6TGFiZWwyNzEwNjAxMDU=","url":"https://api.github.com/repos/sylabs/singularity/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"ikaneshiro","id":15389064,"node_id":"MDQ6VXNlcjE1Mzg5MDY0","avatar_url":"https://avatars0.githubusercontent.com/u/15389064?v=4","gravatar_id":"","url":"https://api.github.com/users/ikaneshiro","html_url":"https://github.com/ikaneshiro","followers_url":"https://api.github.com/users/ikaneshiro/followers","following_url":"https://api.github.com/users/ikaneshiro/following{/other_user}","gists_url":"https://api.github.com/users/ikaneshiro/gists{/gist_id}","starred_url":"https://api.github.com/users/ikaneshiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikaneshiro/subscriptions","organizations_url":"https://api.github.com/users/ikaneshiro/orgs","repos_url":"https://api.github.com/users/ikaneshiro/repos","events_url":"https://api.github.com/users/ikaneshiro/events{/privacy}","received_events_url":"https://api.github.com/users/ikaneshiro/received_events","type":"User","site_admin":false},"assignees":[{"login":"ikaneshiro","id":15389064,"node_id":"MDQ6VXNlcjE1Mzg5MDY0","avatar_url":"https://avatars0.githubusercontent.com/u/15389064?v=4","gravatar_id":"","url":"https://api.github.com/users/ikaneshiro","html_url":"https://github.com/ikaneshiro","followers_url":"https://api.github.com/users/ikaneshiro/followers","following_url":"https://api.github.com/users/ikaneshiro/following{/other_user}","gists_url":"https://api.github.com/users/ikaneshiro/gists{/gist_id}","starred_url":"https://api.github.com/users/ikaneshiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikaneshiro/subscriptions","organizations_url":"https://api.github.com/users/ikaneshiro/orgs","repos_url":"https://api.github.com/users/ikaneshiro/repos","events_url":"https://api.github.com/users/ikaneshiro/events{/privacy}","received_events_url":"https://api.github.com/users/ikaneshiro/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-12-03T18:12:24Z","updated_at":"2018-12-04T23:37:35Z","closed_at":null,"author_association":"NONE","body":"Hi, thank you for an amazing work! I was experiencing a similar error #2305 and stumbled upon 16Gb of root-owned partial builds in `/tmp/sbuild-*` folders. They were not properly reported by either `du` or other utilities (with user privileges) since they had `drwx------.  4 root  root` permissions. This is probably due to me experimenting and `sudo singularity build` failing to finish the build. It still should clean these temporary folders after unsuccessful or aborted build, I guess."},"comment":{"url":"https://api.github.com/repos/sylabs/singularity/issues/comments/444301360","html_url":"https://github.com/sylabs/singularity/issues/2420#issuecomment-444301360","issue_url":"https://api.github.com/repos/sylabs/singularity/issues/2420","id":444301360,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDMwMTM2MA==","user":{"login":"jmstover","id":947106,"node_id":"MDQ6VXNlcjk0NzEwNg==","avatar_url":"https://avatars0.githubusercontent.com/u/947106?v=4","gravatar_id":"","url":"https://api.github.com/users/jmstover","html_url":"https://github.com/jmstover","followers_url":"https://api.github.com/users/jmstover/followers","following_url":"https://api.github.com/users/jmstover/following{/other_user}","gists_url":"https://api.github.com/users/jmstover/gists{/gist_id}","starred_url":"https://api.github.com/users/jmstover/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmstover/subscriptions","organizations_url":"https://api.github.com/users/jmstover/orgs","repos_url":"https://api.github.com/users/jmstover/repos","events_url":"https://api.github.com/users/jmstover/events{/privacy}","received_events_url":"https://api.github.com/users/jmstover/received_events","type":"User","site_admin":false},"created_at":"2018-12-04T23:37:35Z","updated_at":"2018-12-04T23:37:35Z","author_association":"COLLABORATOR","body":"@MInner \r\nSorry, I missed the update....\r\n\r\n> Could one get a shell into a failed \"half-baked\" build\r\n\r\nIn theory yes depending on the stage it failed at. You can just do:\r\n```\r\nsudo chroot /tmp/sbuild-########/fs/ /bin/sh\r\n```"}}
{"actor":{"display_login":"jmstover"}}