Hi,
> Hello,
> 
> Debian support for Libvirt sanlock very insteresting me. I build a 
> sanlock and libvirt-sanlock Debian package from your proposal and I note 
> some problems :
> 
> * I had a bug about undefined constant SCHED_RESET_ON_FORK building 
> sanlock package. I had to apply this patch : 
> https://build.opensuse.org/package/view_file?file=sanlock-SCHED_RESET_ON_
> FORK-undefined.patch&package=sanlock&project=Virtualization&rev=
> 4bf0126638bb7c9e02f055b4aa92e543

I've no idea why I havn't hit that but I've added the patch.

> * In sanlock and wdmd init scripts, I put value of variable DESC in 
> quote to avoid this error during package installation :
> 
>    Setting up sanlock (2.1-1) ...
>    /etc/init.d/sanlock: 17: lock-manager: not found

Done

> * I had augeas-tools dependency to libvirt-bin package because augtool 
> command is required by virt-sanlock-cleanup script.

Done

> 
> Notes :
> 
>   * The Libvirt documentation recommends to weekly run 
> virt-sanlock-cleanup script (see 
> http://libvirt.org/locking.html#sanlockstorage). The corresponding cron 
> could be provide by the Debian package.

I've added a weekly cron to libvirt-sanlock which is disabled by 
default. I personally don't use virt-sanlock-cleanup on my 
production machines because it crashed sanlock one time. I will 
investigate that later
 
>   * I think virt-sanlock-cleanup script should logically provide by 
> libvirt-sanlock debian package.

I agree, that would logically be better, but it would increases .install 
complexity. So I've left it in libvirt-bin for now


I've uploaded the updated packages to mentors
http://mentors.debian.net/package/sanlock
http://mentors.debian.net/package/libvirt

There are still a few problems left but I'll try to fix them 
when I'm back at the office next week.
Can somebody give me a hint how to fix the 
"package-name-doesnt-match-sonames" error? I can install the 
libraries to /usr/lib/sanlock but then the sanlock daemon
doesn't find it anymore (I don't know much about linking on
Linux :) )


> Thank's for your work.

Thank's for your help!

David

> 
> Benjamin Renard
> 
> 


To: bren...@zionetrix.net, 669...@bugs.debian.org





-- 
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/00031c70.4f997...@pegasus.munzinger.de

Reply via email to