Your message dated Tue, 28 Jun 2016 07:52:01 +0000
with message-id <[email protected]>
and subject line Re: Bug#828782: libeatmydata1: Please install library setuid
has caused the Debian Bug report #828782,
regarding libeatmydata1: Please install library setuid
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
828782: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=828782
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
tag 828782 wontfix

On Mon, Jun 27, 2016 at 12:39:20PM -0700, Nikolaus Rath wrote:
> 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:

eatmydata setuid, what could possibly go wrong.

Besides, random internet posts (so no idea how right they are), say that
it wouldn't work anyway, as linux would refuse to load setuid libs for
security reasons.

Whatever linux and ld do, I'm not going to ship a setuid library,
especially eatmydata.

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

if you really need eatmydata to run fusermount (not sure of the gains),
then you are by yourself, and you can just use dpkg-stateoverride.
If I were you I'd just ignore the error.

> ..yet the command also succeeds.

of course it does...

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to