{"action":"created","issue":{"url":"https://api.github.com/repos/probonopd/AppImageKit/issues/267","repository_url":"https://api.github.com/repos/probonopd/AppImageKit","labels_url":"https://api.github.com/repos/probonopd/AppImageKit/issues/267/labels{/name}","comments_url":"https://api.github.com/repos/probonopd/AppImageKit/issues/267/comments","events_url":"https://api.github.com/repos/probonopd/AppImageKit/issues/267/events","html_url":"https://github.com/probonopd/AppImageKit/issues/267","id":186108542,"number":267,"title":"Union/overlay \"filesystem\" using LD_PRELOAD","user":{"login":"probonopd","id":2480569,"avatar_url":"https://avatars.githubusercontent.com/u/2480569?v=3","gravatar_id":"","url":"https://api.github.com/users/probonopd","html_url":"https://github.com/probonopd","followers_url":"https://api.github.com/users/probonopd/followers","following_url":"https://api.github.com/users/probonopd/following{/other_user}","gists_url":"https://api.github.com/users/probonopd/gists{/gist_id}","starred_url":"https://api.github.com/users/probonopd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/probonopd/subscriptions","organizations_url":"https://api.github.com/users/probonopd/orgs","repos_url":"https://api.github.com/users/probonopd/repos","events_url":"https://api.github.com/users/probonopd/events{/privacy}","received_events_url":"https://api.github.com/users/probonopd/received_events","type":"User","site_admin":false},"labels":[{"id":293006406,"url":"https://api.github.com/repos/probonopd/AppImageKit/labels/idea","name":"idea","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2016-10-30T00:11:44Z","updated_at":"2016-11-08T22:07:07Z","closed_at":null,"body":"We experimented with this for klik 9 years ago:\r\nhttps://www.winehq.org/pipermail/wine-devel/2007-November/060627.html\r\n\r\nSomeone else seems to have had some success with this idea:\r\nhttp://algoholic.eu/unionfs_by_intercept/\r\n\r\ndeb2snap seems to be going down that path, too:\r\nhttps://github.com/mikix/deb2snap/blob/master/src/preload.c\r\nActually the whole deb2snap thing could be massaged into a deb2appimage thing relatively easily, it seems.\r\n\r\nuser-union:\r\nhttp://www.dwheeler.com/user-union/ (thanks for the hint @stsp)\r\n\r\nOr we could use FUSE:\r\nhttps://github.com/rpodgorny/unionfs-fuse"},"comment":{"url":"https://api.github.com/repos/probonopd/AppImageKit/issues/comments/259274686","html_url":"https://github.com/probonopd/AppImageKit/issues/267#issuecomment-259274686","issue_url":"https://api.github.com/repos/probonopd/AppImageKit/issues/267","id":259274686,"user":{"login":"stsp","id":3295627,"avatar_url":"https://avatars.githubusercontent.com/u/3295627?v=3","gravatar_id":"","url":"https://api.github.com/users/stsp","html_url":"https://github.com/stsp","followers_url":"https://api.github.com/users/stsp/followers","following_url":"https://api.github.com/users/stsp/following{/other_user}","gists_url":"https://api.github.com/users/stsp/gists{/gist_id}","starred_url":"https://api.github.com/users/stsp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stsp/subscriptions","organizations_url":"https://api.github.com/users/stsp/orgs","repos_url":"https://api.github.com/users/stsp/repos","events_url":"https://api.github.com/users/stsp/events{/privacy}","received_events_url":"https://api.github.com/users/stsp/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T22:07:07Z","updated_at":"2016-11-08T22:07:07Z","body":"So I guess if you have just one mount\r\nwith one overlay and one underlay, and\r\nthe mount-point is equal to the underlay path,\r\nthen user-union is very unlikely to offer anything\r\nover preload.c.\r\nThis is what you can do with\r\nuser-union -a $APPDIR /\r\n\r\nTo avoid the script, you can do the trick:\r\nuser-union -a $APPDIR / -n\r\n\r\n-n will just print the needed env vars and exit.\r\nYou can set those vars yourself and use LD_PRELOAD then."}}
{"actor":{"display_login":"stsp"}}