Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jul 1999 16:03:38 +0100
From:      Dominic Mitchell <Dom.Mitchell@palmerharvey.co.uk>
To:        Kris Kennaway <kkenn@rebel.net.au>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: PAM & LDAP in FreeBSD, and userfs too.
Message-ID:  <19990722160337.D50365@palmerharvey.co.uk>
In-Reply-To: <Pine.BSF.4.10.9907222319210.42616-100000@morden.rebel.net.au>; from Kris Kennaway on Thu, Jul 22, 1999 at 11:19:35PM %2B0930
References:  <Pine.BSF.4.10.9907222319210.42616-100000@morden.rebel.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990722160337.D50365>