[Gluster-devel] Re: GlusterFS debian Package and Changes.

Anand Babu Periasamy ab at zresearch.com
Thu Feb 15 14:43:01 UTC 2007


,----[ Harshavardhana writes: ]
| Hi ab,
|      Ah ok didn't saw that one coming thanks. But i have some more
| queries if you think of having a debian package then the
| configuration maintainence scripts are needed or something like
| that.  My idea was to understand what FHS (Filesystem Hierarchical
| Section) of debain policy meants to say for this. They assume that
| we should not use /usr/etc even if we use it this should be a
| symbolic link to /etc (:O) .  And also the files should be marked as
| configuration files. I didn't understand that concept why do a
| package manager has to do with the custom binary configuration
| files.  That's why i considered moving glusterfs/doc/examples
| directory to /usr/share/glusterfs/examples .
| Regards
| -Harshavardhana
`----
As of now the only configuration files we have are the server and
client volume spec files (.vol). Do like this, copy
$SRC_REPO/doc/glusterfs-server.vol.sample and
$SRC_REPO/doc/glusterfs-client.vol.sample into 
/etc/glusterfs directory. configure script wont do this by
default. This is exactly package maintainer's job.

$SRC_REPO/doc/examples should go to /usr/share/doc/glusterfs/examples
--
Anand Babu
GPG Key ID: 0x62E15A31
Blog [http://ab.freeshell.org]
The GNU Operating System [http://www.gnu.org]


>> ,----[ Harshavardhana writes: ]
>> | Hi ab,
>> |      'gcc -Wl,-soname,libglusterfs.so.0' would suffice the criteria.
>> | Maintaining libtool is pain while cross compiling and stuff.  And
>> | there will be lots of unncessary hacks for fixing apparently which
>> | we did for many packages during Gluster Compilation (remember
>> | libusb, pcre... etc).
>> |      True translators don't need any soname but should be installed
>> | '--strip-unneeded'.
>> | Regards
>> `----
>> Hi Harsha,
>> Nope. GlusterFS is going to be installed on a wide variety of distros
>> (even FreeBSD, OpenSolaris..). Portability is key.  People natively
>> compile on heir platform mostly. Cross-compilation is a rare
>> requirement relatively. libtool does a good job of abstracting
>> portability for libglusterfs shared library across various platforms.
>>
>> Gluster project is a distro by itself, unlike GlusterFS.
>>
>> Happy Hacking,
>> --
>> Anand Babu
>> GPG Key ID: 0x62E15A31
>> Blog [http://ab.freeshell.org]
>> The GNU Operating System [http://www.gnu.org]






More information about the Gluster-devel mailing list