Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to install juju on local environment. For that I installed Ubuntu Server 12.10 and I followed this juju Getting Started tutorial. At the step where I run the following command:

sudo usermod -a -G libvirtd <YOUR_USER>

The error is reported:

usermod : group 'libvirtd' does not exist

Does someone have ever had this problem and can help me?

share|improve this question
    
Welcome to Ask Ubuntu! Do you have Libvirt installed? This system group is being created by the package libvirt-bin if I recall correctly. The steps just above that command will have you install this... –  gertvdijk Jan 31 '13 at 14:54
    
No I haven't install libvirt-bin maybe it's the problem. Edit : It works ! Thanks for you quick answer –  user127589 Jan 31 '13 at 15:17
    
I was reading the guide too quickly for my previous comment. See my answer. –  gertvdijk Jan 31 '13 at 16:46
add comment

1 Answer 1

You don't need to run this command. The guide states:

pre v0.6 users only Then you need to add yourself to the libvirtd group:

sudo usermod -a -G libvirtd <YOUR_USER>

As Ubuntu 12.10 provides juju version 0.6, this does not apply.


To explain a bit more on the error you got, the libvirt-bin package (the base of Libvirt basically) will create this system user group for you. Because you don't need to install this for 0.6 version of Juju, it's not installed and you'll get the error about the group specified not being a valid existent group. The command is listed for pre-0.6 versions and the guide also lists this package to the lists of packages to install for these older versions.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.