Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
pam_userdb.so from pam-0.75-48 is linked against threaded libdb-4.0

pam_userdb.so from pam-0.75-48 is linked against threaded libdb-4.0

2004-04-17       - By Robert Scheck

 Back
Hi all,

"pam_userdb.so" from pam-0.75-48 is linked against threaded libdb-4.0, that
can cause bigger problems. This was the reason to bundle a libdb with pam
(see changelog from pam-0.77-0), but at Red Hat Linux 9 this wasn't done.
So "Very Bad Things" can happen if a unthreaded application uses the
threaded pam_userdb.so...

I reported that as bug (#120558) a week ago, but if I'm realistic, I don't
believe that my issue is fixed before the end of lifetime of Red Hat Linux
9 is reached :-(

So I started my own test to link pam against a unthreaded libdb-4.0, which
always fails with the following error:

--- snipp ---
+ make
/bin/sh ./libtool --mode=compile cc -c -I. -I../dist/../include
-I../dist/../include_auto  -D_GNU_SOURCE -D_REENTRANT -fPIC -O2 -g
-march=i386
-mcpu=i686 ../dist/../btree/bt_compare.c
cc -c -I. -I../dist/../include -I../dist/../include_auto -D_GNU_SOURCE
-D_REENTRANT -fPIC -O2 -g -march=i386 -mcpu=i686 ../dist/../btree/bt_com
pare.c  -fPIC -DPIC -o bt_compare.o
In file included from db_int.h:435,
                from ../btree/bt_compare.c:53:
../include/mutex.h:648: parse error before "tsl_t"
../include/mutex.h:648: warning: no semicolon at end of struct or union
../include/mutex.h:663: parse error before '}' token
In file included from db_int.h:436,
                from ../btree/bt_compare.c:53:
../include/region.h:142: field `mutex' has incomplete type
../include/region.h:177: confused by earlier errors, bailing out
make: *** [bt_compare.o] Error 1
--- snapp ---

I did the following (it's more or less a simple hack, that should
theoretically work):

--- snipp ---
--- pam-0.77-40.spec (from Fedora Development)
+++ pam-0.77-40.rh9.spec
@@ -1,11 +1,11 @@
-%define WITH_SELINUX 1
+%define WITH_SELINUX 0
%define build6x 0

%define _sbindir /sbin
%define _sysconfdir /etc

%define pwdb_version 0.62
-%define db_version 4.2.52
+%define db_version 4.0.14

Summary: A security tool which provides authentication for applications.
Name: pam
--- snapp ---

Any ideas? I would be very happy, if someone could help me to solve that
problem :-)


With kind regards,

Robert Scheck


--
Shrike-list mailing list
Shrike-list@(protected)
https://www.redhat.com/mailman/listinfo/shrike-list

Earn $52 per hosting referral at Lunarpages.