[Refdb-users] Build Debian bin pkg from Ubunt scr pkg
Status: Beta
Brought to you by:
mhoenicka
From: Markus H. <mar...@mh...> - 2009-09-28 23:02:24
|
Stefan Schlee writes: > - I installed the binary package and accepted the error message of the post-installation script that resulted from being unable to start the refdbd server. > As mentioned in my reply to Torsten, the server could be modified to start but return error messages to each client request as long as the main database has not been created. > - After the binary installation I started the "refdb-init" script as root. To execute this script successfully I had to make two minor modifications (Torsten already notes difficulties concerning this script in the README.Debian file of the package.) > > -- I had the change the value of MYREFDBCTL to "/etc/init.d/refdb" > > -- I had to execute: "/usr/sbin/refdbd" as root and change the ownership of the "/var/lib/refdb/db" hierarchy afterwards. > I guess this amount of porting is acceptable for a binary package. I assume that Debian packages use the same sort of patch collections as BSD ports do to cope with the idiosyncrasies of these OSes. > > > After fiddling with the refdb-init script I have to questions concerning this script: > > - I do not understand why in the call to refdbd contains the -e flag set to 0 AND the -L flag set. Shouldn't the -e flag be set to 2 in this case or the -L flag be left out? But maybe this means falling back to stderr if the file is not accessible, which is not exactly what the manual says. > Which version of RefDB do you use? Actually, I can't find the -L flag being used with refdbd in the current svn revision of refdb-init.in > - In the refdb-init.in file most of the path-names (for example the path-name to the database-directory) are made configurable in the build-process, but this is not the case for the example-configuration files. In the way the software is currently setup there should not arise any inconsistencies. Nevertheless a cleaner solution seems to me to make the example-configuration files configurable in the build-process and to let the refdb-init script read these values from the selected configuration file. I'm not sure whether I can follow you here. The example config files are built from input files. All refdbdrc example config files are built from the same source refdbdrc. Which variables in particular are not adjusted properly? I may have missed something which happens to work on FreeBSD but not on other OSes. regards, Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38 |