[sheepdog] sheep daemon, custom unix socket location

Alexandre DERUMIER aderumier at odiso.com
Tue Jun 11 18:06:35 CEST 2013


>>Creating a symlink to /var/run doesn't work for you? 
Oh, didn't have thinked about it :/  , thanks.


What is the qemu drive syntax to use unix socket ?

>From doc, I have tried

-drive file=sheepdog+unix:///vm-115-disk-1?socket=/var/lib/sheepdog/sock,if=none,id=drive-virtio1,aio=native,cache=none: could not open disk image sheepdog+unix:///vm-115-disk-1?socket=/var/lib/sheepdog/sock: No such file or directory

or

-drive file=sheepdog:unix:/var/lib/sheepdog/sock:vm-115-disk-1,if=none,id=drive-virtio1,aio=native,cache=none: could not open disk image sheepdog:unix:/var/lib/sheepdog/sock:vm-115-disk-1: Socket operation on non-socket

both doesn't work. (I'm using qemu 1.4.2)


----- Mail original ----- 

De: "MORITA Kazutaka" <morita.kazutaka at gmail.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: sheepdog at lists.wpkg.org 
Envoyé: Jeudi 6 Juin 2013 23:26:39 
Objet: Re: [sheepdog] sheep daemon, custom unix socket location 

At Wed, 05 Jun 2013 18:15:15 +0200 (CEST), 
Alexandre DERUMIER wrote: 
> 
> Hello, 
> 
> I would like to known if we can start a sheep daemon with a custom unix socket location ? 
> 
> I would like to have the unix socket in /var/run/ and the sheep daemon directory in /var/lib/sheepdog/ by example. 

Creating a symlink to /var/run doesn't work for you? 

Thanks, 

Kazutaka 



More information about the sheepdog mailing list