From: Alexandre Oliva (oliva@dcc.unicamp.br)
Date: Tue Jan 26 1999 - 13:45:42 EST
Should we disable this by default, and create a configure option to
enable it? Or should we just disable this completely, based on the
assumption that ldconfig is only supposed to speed things up, and
such optimizations should be left up to the sysadmin?
-- Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org} oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org} Universidade Estadual de Campinas, SP, Brasil ------- Start of forwarded message ------- Resent-From: kaffe-core@rufus.w3.org Resent-Date: Tue, 26 Jan 1999 01:25:00 -0500 Resent-Message-Id: <199901260625.BAA11302@rpmfind.net> From: Godmar Back <gback@marker.cs.utah.edu> Message-Id: <199901260624.XAA03225@marker.cs.utah.edu> Subject: ldconfig To: kaffe-core@rufus.w3.org (Kaffe Core Team) Date: Mon, 25 Jan 1999 23:24:58 -0700 (MST) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Reply-To: kaffe-core@rufus.w3.org Content-Type: text/plain; charset=US-ASCIIIf I type gmake install, it says:
ldconfig: /var/run/ld.so.hints: Permission denied
Aside from the fact that it's stupid for it to run it when I'm not root, the real danger here is that people who are root have their ld.so.hints files changed *without my having said so*
We need to make this an option that an administrator has to explicitly enable.
- Godmar
------- End of forwarded message ------- ------- Start of forwarded message ------- Resent-From: kaffe-core@rufus.w3.org Resent-Date: Tue, 26 Jan 1999 11:30:55 -0500 Resent-Message-Id: <199901261630.LAA09923@rpmfind.net> From: Godmar Back <gback@cs.utah.edu> Message-Id: <199901261632.JAA15582@sal.cs.utah.edu> Subject: ldconfig To: kaffe-core@rufus.w3.org (Kaffe Core Team) Date: Tue, 26 Jan 1999 09:32:03 -0700 (MST) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Reply-To: kaffe-core@rufus.w3.org Content-Type: text/plain; charset=US-ASCII
I consulted with one of the local BSD experts (Jeff Forys), and he's telling me that he would not want ldconfig to add libraries to the hint file without him saying so, for security reasons.
The ldconfig manual says:
In addition to building a set of hints for quick lookup, it also serves to specify the trusted collection of directories from which shared objects can be safely loaded. It is presumed that the set of directories specified to ldconfig are under control of the system's administrator.
- Godmar
------- End of forwarded message -------
This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:49 EDT