Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: perlbal.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 .../perlbal.service is marked executable. Please remove executable permission bits. Proceeding anyway. Version-Release number: Perlbal-1.80-68.fc45.noarch How reproducible: Always Steps to Reproduce: 1. rpm -qlp --dump Perlbal-1.80-68.fc45.rpm | grep perlbal.service Actual Results: perlbal.service has mode 0100755 Expected Results: perlbal.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)