sqlite files end up owned by root

Bug #654452 reported by Soren Hansen
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Soren Hansen

Bug Description

Even if started with --uid (and --gid), the sqlite databases are created owned by root.

This can be reproduced by removing nova.sqlite and starting nova-network (and likely any of the other twisted worked) with --uid. It happens because register_models gets called during the Service object instantiation which happens before twistd sheds its privileges.

Related branches

Jay Pipes (jaypipes)
Changed in nova:
status: New → Fix Committed
importance: Undecided → Low
assignee: nobody → Soren Hansen (soren)
milestone: none → austin-feature-freeze
Eric Day (eday)
Changed in nova:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.