Re: slight problem with refdb 0.9.8-1 distribution

Markus Hoenicka <[email protected]> Tue, 03 Jul 2007 09:38:06 +0200
Newsgroups gmane.text.refdb.general
Message-ID <[email protected]>
Hi Vince,

Quoting Vincent Carey 525-2265 <[email protected]>:

>
> i apologize if i should be writing to some mailing list
>

Your message will reach me either way, but mailing lists have the  
benefit of a public archive. The list information is right on  
http://refdb.sourceforge.net. I've cc'ed my reply to the refdb-users  
list.

>
> note the *dump.sqlite* has a .2.
>
> in line 190  of refdb-init.in in the same folder we have
>     checkFile "<pkgdatadir>/sql/refdb.dump.sqlite" "read" \
>
> and the lack of the .2. is a problem for refdb-init
>

That's me being careless... however, the 0.9.9 prereleases use a  
different mechanism to create or update the main database. refdbd now  
has a maintenance mode that takes care of this stuff. Therefore the  
line above no longer exists in refdb-init. To the best of my knowledge  
the new mechanism does not show this problem, but I'll check again to  
make sure. I'll probably make a fixed version of the old refdb-init  
available on the web page for those who still use 0.9.8-1.

> while i have your attention, the default behavior of the config files
> is to do logging and pid saving in dirs that are typically root controlled.
> it would be nice to make these easily configurable, living under prefix value
> by default.
>

The log destinations, log files, and pid files are configurable in the  
init files (<prefix>/etc/refdb/refdbXrc) and via the command line (see  
the -e, -L, and -P switches). I agree that the default locations  
should include the prefix, although I think that on most systems both  
/var/log and /usr/local/var/log are root controlled. I'll add the  
prefix asap.

regards,
Markus

-- 
Markus Hoenicka
[email protected]
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/