Skip to main content
5 votes

LD_DEBUG_OUTPUT does not work

The LD_* environment variables are described in the man page. For LD_DEBUG_OUTPUT, it says: LD_DEBUG_OUTPUT (since glibc 2.1) By default, LD_DEBUG output is written to standard error. If ...
telcoM's user avatar
  • 101k
4 votes

LD_PRELOAD variable from /etc/profile is not saved in the environment when running sudo --preserve-env

sudo is setuid root, and the dynamic loader ( removes variables such as LD_PRELOAD from such programs’ environment before running them. So sudo doesn’t even see your LD_PRELOAD value, and ...
Stephen Kitt's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible