>>> So for mime types to distinguish, "file" needs to grow reporting of
the INTERP presence.
Distinguish between shared libraries and PIC executables based on INTERP
ELF header is not always correct. Consider following 2 exceptions:
GLIBC main library libc-2.24.so
This shared object has an INTERP
>>> Yes, this is very much a bug. While ELF position independent
executables are ELF shared objects, they weren't being recognized as
executables by desktop launchers. So they wouldn't run.
So those launchers should accept shared objects
(application/x-sharedlib) as executables from now.
--
You
Electron applications using Electron 4.0.0 beta/nightly are effected by
this bug making it impossible for developers to create Linux
applications and have it easily work using that version, doesn't effect
applications developed Electron 3.0.6 latest but this is a seriously
annoying bugs that will c
What does "file --mime-type" return for dynamic libraries?
Yes, this is very much a bug. While ELF position independent executables
are ELF shared objects, they weren't being recognized as executables by
desktop launchers. So they wouldn't run.
--
You received this bug notification because you a
And I don't think this is a bug because technically an ELF position
independent executable IS a ELF shared object, right?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1747711
Title:
file mis-identi
Looks like the upstream fix makes many dynamic libraries wrongly detected as
'pie executable's.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906727
** Bug watch added: Debian Bug tracker #906727
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906727
--
You received this bug notificati
Has this been fixed upstream? Looking at the changelog, there has been a
related change, but I'm not sure if it resolves the issue yet, it now
says they're both executables.
https://github.com/file/file/blob/219846094c7593e27453e62855e61181089c48cf/ChangeLog
file 5.3.3:
python3.6: ELF 64-bit LS
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: file (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1747711
Title:
file
** Tags removed: rls-bb-incoming
** Tags added: rls-bb-notfixing
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1747711
Title:
file mis-identifies modern executables as application/x-sharedlib
To ma
** Tags added: rls-bb-incoming
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1747711
Title:
file mis-identifies modern executables as application/x-sharedlib
To manage notifications about this bug
I've had a discussion with Christos Zoulas, the root maintainer of
‘file’, and they will make the necessary changes in due course. Whether
this will be noticed by all the forks and re-implementations such as
xdgmime in Gnome, I don't know.
--
You received this bug notification because you are a m
This is (sort of) a bug in file. The problem is not being able to
distinguish between shared objects and PIE binaries. (The latter have
INTERP ELF sections and can be run directly.)
$ readelf -l /bin/true
...
Elf file type is EXEC (Executable file)
...
INTERP 0x0238 0x000
It is also an issue on bionic:
$ schroot -u root -c bionic-amd64
(bionic-amd64)root@impulse:/tmp# echo "int main() { return 0; }" > foo.c
(bionic-amd64)root@impulse:/tmp# gcc -o foo foo.c
(bionic-amd64)root@impulse:/tmp# file foo
foo: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynami
** Tags added: bionic
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1747711
Title:
file mis-identifies modern executables as application/x-sharedlib
To manage notifications about this bug go to:
ht
** Information type changed from Private Security to Public Security
** Description changed:
file doesn't recognize modern PIE (Position Independent Executable) x86
executables as such, reporting them as “application/x-sharedlib”.
Consequently, only non-PIE executables can be opened in grap
15 matches
Mail list logo