Hi,

Patch [1] resulted in docker build failing due to a non root user not
having permissions to write to /usr/lib/python2.7, as seen in job [2]. To
address this I opened [3] and pushed patch [4] which implements a
virtualenv, but this now fails as the anteater path is not known.

There are two ways to resolve this.

1. We hardcode the path to anteater in anteaters jjb scripts.
2. We revert back to running docker as before (root) user.

I guess 1 makes sense, but has some risk if the POSIX path were to change.
For '2' I am not opposed as I don't see any security risk running the
commands as root in the container. As I understand, this is a create /
destroy scenario with no data persisting in any volumes or pulled in
externally. Looking around others such as functest also run as root to
create their needed env.

[1] https://gerrit.opnfv.org/gerrit/#/c/36325/
[2]
https://build.opnfv.org/ci/job/releng-anteater-docker-build-push-master/14/console
[3] https://jira.opnfv.org/browse/RELENG-260
[4] https://gerrit.opnfv.org/gerrit/#/c/36571
[5]
https://build.opnfv.org/ci/job/opnfv-security-audit-verify-master/133/console

-- 
Luke Hinds | NFV Partner Engineering | Office of Technology | Red Hat
e: [email protected] | irc: lhinds @freenode | m: +44 77 45 63 98 84 | t: +44
12 52 36 2483
_______________________________________________
opnfv-tech-discuss mailing list
[email protected]
https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss

Reply via email to