Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: aesmd.service is shipped with mode 0755 instead of 0644. Per Fedora Packaging Guidelines for Systemd: "Unit files and drop-ins must be world-readable (i.e. mode 0644)" https://docs.fedoraproject.org/en-US/packaging-guidelines/Systemd/ systemd warns about this during boot: Configuration file .../aesmd.service is marked executable. Please remove executable permission bits. Proceeding anyway. Version-Release number: sgx-aesm-2.29-1.fc45.x86_64 How reproducible: Always Steps to Reproduce: 1. rpm -qlp --dump sgx-aesm-2.29-1.fc45.rpm | grep aesmd.service Actual Results: aesmd.service has mode 0100755 Expected Results: aesmd.service should have mode 0100644 Additional info: Root cause: file 5.47 classifies .service files as application/x-wine-extension-ini instead of text/plain, which breaks brp-mangle-shebangs. The spec uses install -p without -m 0644. Fix: use install -m 0644 (or %attr(0644,...)) for unit files and rebuild. See discussion: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/R43Z3MHSGOZPLHD6ORUQJUGYQ4RQ37IG/ Related bugs: https://bugzilla.redhat.com/show_bug.cgi?id=2513643 (file) https://bugzilla.redhat.com/show_bug.cgi?id=2513837 (redhat-rpm-config)
Fixed in linux-sgx-2.29-2.fc45