Package: libeatmydata1
Version: 82-6
Severity: normal

Dear Maintainer,

Please consider installing /usr/lib/x86_64-linux-gnu/libeatmydata.so.1.1.2 
with the setuid bit set. Without that, executing some commands (like
fusermount) in eatmydata-enabled chroots give weird error messages like:

$ fusermount -u sshfs_mountpoint
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded 
(cannot open shared object file): ignored.
$ 

..yet the command also succeeds.

This is because (from ld.so(8)):

       LD_PRELOAD
              A  list of additional, user-specified, ELF shared libraries to be 
loaded before all others.  The
              items of the list can be separated by spaces or colons.  This can 
be used to  selectively  over‐
              ride  functions in other shared libraries.  The libraries are 
searched for using the rules given
              under DESCRIPTION.  For set-user-ID/set-group-ID  ELF  binaries,  
preload  pathnames  containing
              slashes  are  ignored,  and  libraries in the standard search 
directories are loaded only if the
              set-user-ID permission bit is enabled on the library file.


Thanks!
-Nikolaus

Reply via email to