[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#669102: ITP: sanlock -- a shared storage lock manager - useful for accessing vm, images on a NAS or SAN



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

* 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

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


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 think virt-sanlock-cleanup script should logically provide by libvirt-sanlock debian package.

Thank's for your work.

Benjamin Renard



Reply to: