From owner-freebsd-hackers Thu Jul 22 8: 4:25 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.palmerharvey.co.uk (mail.palmerharvey.co.uk [62.172.109.58]) by hub.freebsd.org (Postfix) with ESMTP id 7597B15203 for ; Thu, 22 Jul 1999 08:04:21 -0700 (PDT) (envelope-from Dom.Mitchell@palmerharvey.co.uk) Received: from ho-nt-01.pandhm.co.uk (unverified) by mail.palmerharvey.co.uk (Content Technologies SMTPRS 2.0.15) with ESMTP id ; Thu, 22 Jul 1999 16:03:51 +0100 Received: from voodoo.pandhm.co.uk (VOODOO [10.100.35.12]) by ho-nt-01.pandhm.co.uk with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id PJ2VDT7N; Thu, 22 Jul 1999 16:03:52 +0100 Received: from dom by voodoo.pandhm.co.uk with local (Exim 2.10 #1) id 117KNm-000DAv-00; Thu, 22 Jul 1999 16:03:38 +0100 Date: Thu, 22 Jul 1999 16:03:38 +0100 To: Kris Kennaway Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: PAM & LDAP in FreeBSD, and userfs too. Message-Id: <19990722160337.D50365@palmerharvey.co.uk> References: MIME-Version: 1.0 X-Mailer: Mutt 0.95.6i In-Reply-To: ; from Kris Kennaway on Thu, Jul 22, 1999 at 11:19:35PM +0930 From: Dominic Mitchell Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Jul 22, 1999 at 11:19:35PM +0930, Kris Kennaway wrote: > On Thu, 22 Jul 1999, Dominic Mitchell wrote: > > > > PAM is also "using masses of weird shared objects" but nevertheless it's > > > quite usable > > > > By statically linked binaries? > > This is also an issue for a modularized libcrypt(). Peter Wemm suggested > having the library fork and exec a static helper binary module and > communicate via a pipe. So essentially you'd have two files for each > module, one which is a shared library and loaded via dlopen() and one > which is the same code with a small amount of wrapper (main() etc) to make > it into a standalone binary. This is starting to get icky. This is also where the earlier idea of a userspace filesystem would probably fare better, in terms of both performance and simplicity. > Solaris seem to be deprecating static libraries; you cannot have a fully > static libc and they have to resort to keeping (a copy of) libdl (and > presumably the run-time linker) under /etc so it's available on the root > partition. Solaris hasn't supported static linking for some time. If you have a look at Casper Dik's FAQ, it goes into more detail. They do keep stuff on the root partition: admin# ls -l /etc/lib total 644 -rwxr-xr-x 1 bin bin 155060 Jul 1 1998 ld.so.1* -rwxr-xr-x 1 bin bin 4284 Jul 1 1998 libdl.so.1* -rwxr-xr-x 1 bin bin 25468 Jul 16 1997 nss_files.so.1* lrwxrwxrwx 1 root root 17 Sep 14 1998 pam_authen.so -> ./pam_authen.so.1* -rwxr-xr-x 1 root sys 14516 Jul 16 1997 pam_authen.so.1* lrwxrwxrwx 1 root root 16 Sep 14 1998 pam_entry.so -> ./pam_entry.so.1* -rwxr-xr-x 1 root sys 11540 Jul 16 1997 pam_entry.so.1* lrwxrwxrwx 1 root root 17 Sep 14 1998 pam_extern.so -> ./pam_extern.so.1* -rwxr-xr-x 1 root sys 11044 Jul 16 1997 pam_extern.so.1* lrwxrwxrwx 1 root root 16 Sep 14 1998 pam_pwmgt.so -> ./pam_pwmgt.so.1* -rwxr-xr-x 1 root sys 85764 Jul 16 1997 pam_pwmgt.so.1* lrwxrwxrwx 1 root root 18 Sep 14 1998 pam_session.so -> ./pam_session.so.1* -rwxr-xr-x 1 root sys 4748 Jul 16 1997 pam_session.so.1* -- Dom Mitchell -- Palmer & Harvey McLane -- Unix Systems Administrator In Mountain View did Larry Wall Sedately launch a quiet plea: That DOS, the ancient system, shall On boxes pleasureless to all Run Perl though lack they C. -- ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. ********************************************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message