Closed gouttegd closed 1 year ago
Note that the test suite is running for absolutely nothing: we do not test running under the identity of the superuser (and I don’t think we should), so the code path that is modified by this PR is not tested. Leaving it running anyway since passing the tests is now needed for merging…
Please, for the love of Ken Thompson, Dennis Ritchie, and everything sacred in the Unix world, do not take this PR as an encouragement to keep running complex processes as root.
Had the ticket been opened by anyone else than you, I’d have closed it with “running the test suite as root is unsupported, go back to your quarters and think hard about your habits, #wontfix”. Then I would have banned you from ever opening a ticket on this repo again. :D
(I’m almost serious.)
:D I know.. I will make myself a user on my server called "noob"!
It worked perfect by the way!
When we run with ODK_USER_ID=0, meaning the process inside the container must run under the identify of the superuser, make sure the arguments to the entrypoint script are quoted before exec'ing.
closes #899