{"action":"created","issue":{"url":"https://api.github.com/repos/cdsteinkuehler/QuartusBuildVMs/issues/3","repository_url":"https://api.github.com/repos/cdsteinkuehler/QuartusBuildVMs","labels_url":"https://api.github.com/repos/cdsteinkuehler/QuartusBuildVMs/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/cdsteinkuehler/QuartusBuildVMs/issues/3/comments","events_url":"https://api.github.com/repos/cdsteinkuehler/QuartusBuildVMs/issues/3/events","html_url":"https://github.com/cdsteinkuehler/QuartusBuildVMs/issues/3","id":155979424,"number":3,"title":"running the docker image as non-root","user":{"login":"mhaberler","id":901479,"avatar_url":"https://avatars.githubusercontent.com/u/901479?v=3","gravatar_id":"","url":"https://api.github.com/users/mhaberler","html_url":"https://github.com/mhaberler","followers_url":"https://api.github.com/users/mhaberler/followers","following_url":"https://api.github.com/users/mhaberler/following{/other_user}","gists_url":"https://api.github.com/users/mhaberler/gists{/gist_id}","starred_url":"https://api.github.com/users/mhaberler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhaberler/subscriptions","organizations_url":"https://api.github.com/users/mhaberler/orgs","repos_url":"https://api.github.com/users/mhaberler/repos","events_url":"https://api.github.com/users/mhaberler/events{/privacy}","received_events_url":"https://api.github.com/users/mhaberler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-20T14:44:56Z","updated_at":"2016-05-20T15:02:55Z","closed_at":null,"body":"I'm trying to run the docker image as a non-root user - jenkins runs docker images as user jenkins by default which is a vanilla user, to make it easier to parameterize\r\n\r\nfor that, a minor touchup is needed : `chmod 755 /root` so a non-root user can get at the files under /root\r\n\r\nbut the thing I cannot get baked is this: if running as non-root everything works until almost done, then this:\r\n\r\n`````\r\nInfo: Command: quartus_stp DE0_NANO\r\nInconsistency detected by ld.so: dl-close.c: 762: _dl_close: Assertion `map->l_init_called' failed!\r\nError (262009): Can't open SignalTap II Logic Analyzer. Verify that the license file exists and is stored in the correct location. If you are using the Quartus Prime Lite Edition software, you must turn on the TalkBack feature to use the SignalTap II Logic Analyzer.\r\nError: Quartus Prime SignalTap II was unsuccessful. 1 error, 0 warnings\r\n    Error: Peak virtual memory: 1035 megabytes\r\n    Error: Processing ended: Fri May 20 14:36:32 2016\r\n    Error: Elapsed time: 00:00:03\r\n    Error: Total CPU time (on all processors): 00:00:04\r\n`````\r\n\r\nit must be this stupid talkback feature. Any ideas how to make that work from a non-root user? some file from the home dir missing or somesuch?"},"comment":{"url":"https://api.github.com/repos/cdsteinkuehler/QuartusBuildVMs/issues/comments/220630603","html_url":"https://github.com/cdsteinkuehler/QuartusBuildVMs/issues/3#issuecomment-220630603","issue_url":"https://api.github.com/repos/cdsteinkuehler/QuartusBuildVMs/issues/3","id":220630603,"user":{"login":"cdsteinkuehler","id":1993109,"avatar_url":"https://avatars.githubusercontent.com/u/1993109?v=3","gravatar_id":"","url":"https://api.github.com/users/cdsteinkuehler","html_url":"https://github.com/cdsteinkuehler","followers_url":"https://api.github.com/users/cdsteinkuehler/followers","following_url":"https://api.github.com/users/cdsteinkuehler/following{/other_user}","gists_url":"https://api.github.com/users/cdsteinkuehler/gists{/gist_id}","starred_url":"https://api.github.com/users/cdsteinkuehler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdsteinkuehler/subscriptions","organizations_url":"https://api.github.com/users/cdsteinkuehler/orgs","repos_url":"https://api.github.com/users/cdsteinkuehler/repos","events_url":"https://api.github.com/users/cdsteinkuehler/events{/privacy}","received_events_url":"https://api.github.com/users/cdsteinkuehler/received_events","type":"User","site_admin":false},"created_at":"2016-05-20T15:02:54Z","updated_at":"2016-05-20T15:02:54Z","body":"It's likely one of two things:\n\nEither the talkback 'magic' isn't installed properly for the user\nyou're running as (in which case this might help:\nhttps://github.com/cdsteinkuehler/QuartusBuildVMs/blob/master/Jessie-Quartus-15.1.2/Dockerfile#L27\n)\n\n...or the signal-tap program isn't working properly.  I had to change\nthe makefile to get around a similar problem, but I don't recall if it\nwas the signal-tap program or something else that was failing:\n\nhttps://github.com/cdsteinkuehler/QuartusBuildVMs/blob/master/Jessie-Quartus-15.1.2/Dockerfile#L27\n\nAlso, I'd recommend simply adding a user to the Docker install and\ninstalling all the Quartus tools non-root.  I can do this if you like.\n\n-- \nCharles Steinkuehler\ncharles@steinkuehler.net\n\n"}}
{"actor":{"display_login":"cdsteinkuehler"}}