Re: service file permissions breaking due to file 5.47 / redhat-rpm-config

Steve Grubb via devel <[email protected]>
Newsgroups gmane.linux.redhat.fedora.devel
Organization Red Hat
Message-ID <[email protected]>
On Sunday, August 16, 2026 3:26:05 AM Eastern Daylight Time Lennart 
Poettering wrote:
> On Do, 13.08.26 12:42, Fedora Development ML
> ([email protected]) wrote:
> > while testing F45 Rawhide I noticed systemd complaining during boot:
> >    Configuration file
> >    /usr/lib/systemd/system/flatpak-add-fedora-repos.service
> > is marked executable. Please remove executable permission bits.
> > Proceeding anyway.
> >
> > It turns out file 5.47 now classifies .service files as
> > application/x-wine-extension-ini instead of text/plain. This breaks
> > brp-mangle-shebangs, which greps for text/ to find executable files
> > without shebangs and chmod -x them.
> 
> This sounds highly problematic, and really should be reverted.

This was so problematic that it was reverted in commit f37cc42c on March 25, 
2026, explicitly because it “matches too many unix stanza files.”

What appears to have happened, is commit 7a1ada9c landed Sept 6,2025. 
File-5.47 was released Feb 27. Complaints and it was reverted in March as 
noted. Then June 8, 2026 file 5.48 was released. If we just update to the 
latest, this problem goes away.

-Steve


-- 
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.