Fw: [Pkg-firebird-general] Lock file location

Grzegorz B. Prokopski gadek@debian.org
Thu, 29 Jul 2004 14:45:50 -0400


On Thu, 2004-07-29 at 13:52, Daniel Urban wrote:
> > > I have another problem to report.
> > >
> > > Firebird2 1.5.0/unstable tries to create its lockfiles in
> > > /usr/lib/firebird2, which fails if ran by a non-root user. Not to
> > > mention it violates the FHS and/or policy :-).
> > >
> > > My guess about where to fix is gds__prefix_lock routine in
> > > src/jrd/gds.cpp, but since my skills in Firebird code are void, I may be
> > > completely wrong.
> >
> > Ok, I know this allready and this is on my TODO list (for now only this
> > one), I've tried to change the dir, but it breaks during compilation, I've spent
> > some time on it and postponed it on later. So now it's time to make it.

IIRC there were some lock files created there in 1.0.x version.
AFAIR I worked it around by adding a directory /usr/lib/firebird/locks
which in fact was a symlink to /var/run/firebird and by modyfying
the source code to create this lock in a subdirectory of
/usr/lib/firebird.  

HTH

				GBP
-- 
Grzegorz B. Prokopski      <gadek@debian.org>
Debian GNU/Linux           http://www.debian.org
SableVM - LGPL'ed Java VM  http://www.sablevm.org
Why SableVM ?!?            http://devel.sablevm.org/wiki/Features