Running nova-manage as the correct user is awkward

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

Bug Description

nova-manage should be run as the nova user. Having to type "sudo -u nova nova-manage" is really annoying. nova-manage should sort this out on its own. Something like reexecuting itself using sudo to the owner of nova.conf.

Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/3777

Changed in nova:
assignee: nobody → Soren Hansen (soren)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/3777
Committed: http://github.com/openstack/nova/commit/e9fd01e58b6a83b400ce9825f2543cb6ef476f00
Submitter: Jenkins
Branch: master

commit e9fd01e58b6a83b400ce9825f2543cb6ef476f00
Author: Soren Hansen <email address hidden>
Date: Sat Feb 4 00:02:41 2012 +0100

    Re-run nova-manage under sudo if unable to read conffile

    Having to manually sudo to the nova user to make things work is
    tedious. Make it so that if we can't read the conffile, we just
    re-exec under sudo.

    Fixes bug 805695

    Change-Id: I322cece80ca757c69147fb3f8474ad137d9bff82

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → essex-4
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: essex-4 → 2012.1
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.