On Thu, Aug 26, 2004 at 02:53:17AM +0000, [EMAIL PROTECTED] wrote:
> Michael Gernoth <[EMAIL PROTECTED]> wrote:
> > # strace /opt/SUNWut/sbin/utresdef
> > fstat64(4, {st_mode=S_IFREG|0644, st_size=13036, ...}) = 0
> > fcntl64(4, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = -1 EAGAIN
> utres* (and a bunch of other admininstrative commands) should be specifying
> "no locking" when attempting to open these files.  I wonder if there's a
> library mismatch that's causing the "no lock" flag to be ignored.

I now think that the utils are innocent, because if I LD_PRELOAD the
SuSE-version of the gdbm library, everything works perfectly. It seems
debian (even in the new sarge release) is slightly out of date with
libgdbm.so.2 (they are using 1.7.3, suse is using 1.8.0).
But as libgdbm.so.2 is old and deprecated, I don't think this will ever
get fixed in debian...

> The real answer is that the administrative commands shouldn't be opening
> these files at all.  This is a longstanding piece of brokenness in a
> library function that's never been important enough to be worth fixing.
> I'll open a bug but since this only happens on an "unsupported" platform
> it won't be handled as a high priority.

Thanks :-)

Regards,
  Michael
_______________________________________________
SunRay-Users mailing list
[EMAIL PROTECTED]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to