Bug 2517731 - perlbal.service has wrong permissions 0755 instead of 0644
Summary: perlbal.service has wrong permissions 0755 instead of 0644
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: Perlbal
Version: 45
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Luis Bazan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-18 09:08 UTC by Petr Sklenar
Modified: 2026-08-18 09:08 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Petr Sklenar 2026-08-18 09:08:34 UTC
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)


Note You need to log in before you can comment on or make changes to this bug.