Philipp Thomas
On Thu, 05 Jun 2008 14:02:09 -0500, Jim Flanagan wrote:
This method uses configure > make > checkinstall (instead of make install).
Checkinstall has been dropped from openSUSE because it doesn't work anymore. Checkinstall's trick is to load a library via LD_PRELOAD that redirects all functions dealing with files. Now for installing a package you need to be root and for programs running with root privileges the dynamic loader ignores LD_PRELOAD as this would otherwise be a huge security problem.
The behaviour is: For programs being setuid root, LD_PRELOAD is ignored - or more exactly: /* The LD_PRELOAD environment variable gives list of libraries separated by white space or colons that are loaded before the executable's dependencies and prepended to the global scope list. If the binary is running setuid all elements containing a '/' are ignored since it is insecure. */ Andreas -- Andreas Jaeger, Director Platform/openSUSE, aj@suse.de SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126