{"action":"created","issue":{"url":"https://api.github.com/repos/machinekit/machinekit/issues/754","labels_url":"https://api.github.com/repos/machinekit/machinekit/issues/754/labels{/name}","comments_url":"https://api.github.com/repos/machinekit/machinekit/issues/754/comments","events_url":"https://api.github.com/repos/machinekit/machinekit/issues/754/events","html_url":"https://github.com/machinekit/machinekit/issues/754","id":106644442,"number":754,"title":"INI file loading always creates tmp file","user":{"login":"strahlex","id":1467368,"avatar_url":"https://avatars.githubusercontent.com/u/1467368?v=3","gravatar_id":"","url":"https://api.github.com/users/strahlex","html_url":"https://github.com/strahlex","followers_url":"https://api.github.com/users/strahlex/followers","following_url":"https://api.github.com/users/strahlex/following{/other_user}","gists_url":"https://api.github.com/users/strahlex/gists{/gist_id}","starred_url":"https://api.github.com/users/strahlex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strahlex/subscriptions","organizations_url":"https://api.github.com/users/strahlex/orgs","repos_url":"https://api.github.com/users/strahlex/repos","events_url":"https://api.github.com/users/strahlex/events{/privacy}","received_events_url":"https://api.github.com/users/strahlex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-15T20:55:59Z","updated_at":"2015-09-16T14:26:22Z","closed_at":null,"body":"Some replacement magic is used to handle includes and environment variables when loading INI files with the linuxcnc script. However, it looks like replacement also happens when no includes and environment variables are used. This can be verified by echoing the `INIFILE` variable after the replacement operations. It is always located in the `tmp` folder.\r\n\r\nThe culprit of this problem is somewhere here in the linuxcnc script:\r\nhttps://github.com/machinekit/machinekit/blob/master/scripts/linuxcnc.in#L349\r\n\r\nEDIT: is very likely that this command does not only replace environment variables:\r\nhttps://github.com/machinekit/machinekit/blob/master/scripts/linuxcnc.in#L360"},"comment":{"url":"https://api.github.com/repos/machinekit/machinekit/issues/comments/140757392","html_url":"https://github.com/machinekit/machinekit/issues/754#issuecomment-140757392","issue_url":"https://api.github.com/repos/machinekit/machinekit/issues/754","id":140757392,"user":{"login":"strahlex","id":1467368,"avatar_url":"https://avatars.githubusercontent.com/u/1467368?v=3","gravatar_id":"","url":"https://api.github.com/users/strahlex","html_url":"https://github.com/strahlex","followers_url":"https://api.github.com/users/strahlex/followers","following_url":"https://api.github.com/users/strahlex/following{/other_user}","gists_url":"https://api.github.com/users/strahlex/gists{/gist_id}","starred_url":"https://api.github.com/users/strahlex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strahlex/subscriptions","organizations_url":"https://api.github.com/users/strahlex/orgs","repos_url":"https://api.github.com/users/strahlex/repos","events_url":"https://api.github.com/users/strahlex/events{/privacy}","received_events_url":"https://api.github.com/users/strahlex/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T14:26:22Z","updated_at":"2015-09-16T14:26:22Z","body":"Looks like this was added by mistake: https://github.com/machinekit/machinekit/commit/34c00e082c6446dfbc541de6163a4382e8473dfe#diff-d91a2e9cb50a65ff52946ba9a6546f38R335"}}