Public bug reported:

The latest nova-compute adds a new command which needs sudo privs:

2012-01-13 22:24:27,385 DEBUG nova.utils [-] Running cmd (subprocess):
sudo guestmount --rw -a /var/lib/nova/instances/instance-0000000c/disk
-m /dev/sda1 /tmp/tmpXrLkev from (pid=2743) execute /data/backups-
meta/linux/x220/data/src/openstack/nova/nova/utils.py:201

This command is not set up in /etc/sudoers.d/nova_sudoers, and therefore
my test instance prompts for the password. Interestingly I can't find
the command guestmount packaged anywhere, so I'm not sure what its meant
to be doing.

The code to call guestmount seems to have been around for a while, so
I'm not sure why this is only just coming up now. Perhaps I only just
noticed it.

I see that guestmount is packaged for precise, but not for oneiric.

** Affects: nova (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/915971

Title:
  New command "guestmount"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/915971/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to