From d5c03bf64f4c2389adc24b514949e0db3e00b6bb Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 29 May 2012 17:58:39 +1200 Subject: Add some caveats I just thought of --- README.markdown | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.markdown b/README.markdown index 9745ecd..13d5e6e 100644 --- a/README.markdown +++ b/README.markdown @@ -28,6 +28,17 @@ on `stdout`. # clubber --chroot=/chroot/apache --dry /usr/bin/php +Caveats +------- + +This only works for compile-time dynamic linking that `ldd` understands. Any +files a program might require to run that `ldd` wouldn't tell you about won't +get imported. A good example might be `/etc/resolv.conf` or `/etc/passwd`. + +It's also up to you to make sure that the library paths that your program uses +in `chroot` will enable it to actually find all these libraries you're +importing from the host system directories. + License ------- -- cgit v1.2.3