Do not change process UID

Registered by Alexej Ababilov on 2013-05-31

When run with sudo, Anvil changes process real UID to SUDO_UID thus easily creating files with different owners.
This mechanism can confuse some tools (like pip that creates a directory using effective UID and checks ownership for real UID that differs: https://bugs.launchpad.net/anvil/+bug/1179747).
Now, we can almost safely stop changing real UID and run `prepare` action as non-root and bootstrap, install, start, status, and stop as root.
Also, this will remove dependency on sudo.

Blueprint information

Status:
Complete
Approver:
Joshua Harlow
Priority:
High
Drafter:
None
Direction:
Needs approval
Assignee:
Alexej Ababilov
Definition:
New
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Joshua Harlow on 2013-06-02
Completed by
Alexej Ababilov on 2013-06-03

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bug/1179747,n,z

Addressed by: https://review.openstack.org/31225
    Do not change process UID

Gerrit topic: https://review.openstack.org/#q,topic:bp/build-only-missing,n,z

Addressed by: https://review.openstack.org/31537
    Do not change process UID

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.