[libvirt] [libvirt-users] Problem with pty

Daniele Milani dano1988 at hotmail.it
Mon May 21 16:34:54 UTC 2012




> Date: Mon, 21 May 2012 12:31:09 -0400
> Subject: Re: [libvirt-users] Problem with pty
> From: javi at legido.com
> To: dano1988 at hotmail.it; libvir-list at redhat.com; libvirt-users at redhat.com; roberto.sassu at polito.it; paolo.smiraglia at polito.it
> 
> Are you running the command as root?
> 
> Regards
> 

Yes, if I run it from standard libvirt directory it works, if I run it from not standard directory (I configured it with option --prefix=/usr/local/recompiledlibvirt/) it doesn't.

Daniele

> On 21/05/2012, Daniele Milani <dano1988 at hotmail.it> wrote:
> >
> > Dear all
> > I have the following problem:
> > -I'm running libvirt 0.9.11 on ubuntu 12.04;
> > -when I try to create a VM with the following configuration:
> > ...
> > <serial type='pty'>
> >       <source path='/dev/pts/2'/>
> >       <target port='0'/>
> >       <alias name='serial0'/>
> > </serial>
> > <console type='pty' tty='/dev/pts/2'>
> >       <source path='/dev/pts/2'/>
> >       <target type='serial' port='0'/>
> >       <alias name='serial0'/>
> > </console>
> > ...
> > I obtain this output:
> > errore: Impossibile creare il dominio da domain_alpha_1.xml
> > (error, impossible to create a domain from domain_alpha_1.xml)
> > errore: errore interno Process exited while reading console log output:
> > chardev: opening backend "pty" failed: Permission denied
> >
> > Does anyone know what's going wrong and ho to fix it?
> >
> > Thanks,
> >
> > Daniele Milani
> >  		 	   		
> 
> -- 
> Sent from my mobile device
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120521/a6988094/attachment-0001.htm>


More information about the libvir-list mailing list