[Pkg-glusterfs-devel] i want help packaging of glusterfs

Andre Felipe Machado andremachado at techforce.com.br
Tue May 27 00:46:20 UTC 2008


Hello,
I thougth that Mr. Laine was the sponsor of the packaging effort.
IMHO, the packaging needs a bit more minor improvements before looking
for a DD sponsor.
The init.d is not being installed correctly with 1.3.9. Beyond the
trivial file name issue, it is not installing the init.d script
completely and correctly at a Debian machine the "debian way",
leveraging the debhelper tools for these tasks.
Also, the samples  placed at /etc/glusterfs/ could be renamed (worse) or
the init.d script modified for using the CONFIGFILE parameter for the 

same name without ".sample" (better), leaving the file names as they
are. The user will know that editing file and simply removing the
".sample" suffix will work. It is even possible to place them as "final"
names, without ".sample" , configuring only for localhost, and using
debhelper for configuration files. This way, if user modifies the files
(and he/she should), the debconf will know that and offer to
preserve/merge/substitute them. Or these sample files moved
to /etc/default (using only localhost) and init script adapted for using
them.
Also, the init script uses functions of lsb-base, and the control file
does not list it as a dependency.
The rules file is almost not using the debhelper scripts, that could
make things easier for packagers.
I hope these help.
Regards.
Andre Felipe Machado
http://www.techforce.com.br






More information about the Pkg-glusterfs-devel mailing list