Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   start-stop-daemon with LD_PRELOAD (http://www.linux-archive.org/debian-user/85699-start-stop-daemon-ld_preload.html)

Ross Boylan 05-10-2008 10:55 PM

start-stop-daemon with LD_PRELOAD
 
I want to use LD_PRELOAD so that a program can use some code that
substitutes for the usual system calls. The program, bacula-fd, is
started by an init script that uses start-stop-daemon.

Is there a way to get this to work?

I've seen some prior discussion of this issue on this list, but the only
suggestion was to try to customize the default file or pass arguments to
the program being started. My understanding of LD_PRELOAD is that it
must be in the environment when the program is launched to be effective.

The LD_PRELOAD code, by the way, is designed to speed access to ext3
directories. Some of my backups are taking > 24 hours because the
default handling is so slow.

Thanks.
Ross Boylan


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


All times are GMT. The time now is 01:29 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.