Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 – lomsansnom 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

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

Your Answer


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.