Comment 3 for bug 1968798

Revision history for this message
serenico (federico-ressi) wrote :

The reason of the failure is a security check that git does to avoid root user to execute unexpected actions. For example if a malicious guy puts some malicious script in git hooks, when pbr uses git as root to check some thing, because the directory is not owned by root git refuses to do anything instead of riskying to execute any of the hooks scripts. So the new behavior is good thing, bad thing is now using pip as root with pbr running git for stupid things as looking for the git folder or the version of the package is going to install. As a long term solution for DevStack I would install these packages as stack user. But in the while the solution you proposed looks pretty good I think. Cheers