Bug#926823: executable-not-elf-or-script should consider PE binaries
Felix Lechner
felix.lechner at lease-up.com
Tue Aug 6 01:12:12 BST 2019
Hi Michael,
On Mon, Aug 5, 2019 at 3:23 PM Michael Biebl <biebl at debian.org> wrote:
>
> Why is this a bug in systemd then?
Dunno. I did not file the bug. I just know it's not in Lintian. :)
> If ld creates those files with the executable bit set, it feels weird
> that we have to work around that by manually removing that bit again.
Is the bit required? With a view toward security, it seems
disadvantageous to grant execution privileges to files not intended to
run in Debian. I checked both the UEFI [1] and the systemd boot [2]
specs, but found nothing about the executable bit. I planned to unset
the bit locally until I realized my GRUB2 boot sequence may not use
those files.
Kind regards,
Felix
[1] https://uefi.org/sites/default/files/resources/UEFI_Spec_2_8_final.pdf
[2] https://systemd.io/BOOT_LOADER_SPECIFICATION
More information about the Pkg-systemd-maintainers
mailing list