> Date: Mon, 21 May 2012 12:31:09 -0400
> Subject: Re: [libvirt-users] Problem with pty
> From: [email protected]
> To: [email protected]; [email protected]; [email protected]; 
> [email protected]; [email protected]
> 
> 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 <[email protected]> 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
                                          
--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to