|
From: | Anand Avati |
Subject: | Re: [Gluster-devel] RPM re-structuring |
Date: | Wed, 14 Aug 2013 02:03:15 -0700 |
Actually this *wasnt* what we discussed. glusterfs-api was supposed to depend on glusterfs-libs *ONLY*. This is because it has a linking (hard) relationship with glusterfs-libs, and glusterfs.rpm is only a run-time dependency - everything here is dlopen()ed.rpm uses 'ldd' command to get dependencies for 'glusterfs-api' to 'glusterfs-libs' - automatically. You don't need a forced specification.Specifying runtime time dependency is done this way%package apiSummary: Clustered file-system api libraryGroup: System Environment/DaemonsRequires: %{name} = %{version}-%{release} -----------> Install-time dependency.Just allowing qemu to execute by way of installing-libs and -api only won't help, since once qemu executes and someone tries qemu w/ gluster backend.. things will fail unless User has installed glusterfs rpm (which has all the client xlators)I think this was exactly what we concluded. That a user would need to install glusterfs rpm if they wanted to store VM images on gluster (independent of the fact that qemu was linked with glusterfs-api). Do you see a problem with this?The problem here is user awareness - it generates additional cycles of communication. In this case 'qemu' should have a direct dependency on 'glusterfs.rpm' and 'glusterfs-api' when provided with "gfapi support" - wouldn't this solve the problem?
[Prev in Thread] | Current Thread | [Next in Thread] |