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

Jelle van der Waa <[email protected]>
Newsgroups gmane.linux.redhat.fedora.devel
Message-ID <[email protected]>
On 13/08/2026 12:42, Petr Sklenar via devel wrote:
> Hi,
> 
> 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.
I tested file 5.48 on Arch Linux and it didn't have this issue. The 
unpushed Fedora update to 5.48 also doesn't have this issue, but was 
blocked on a different issue. [1]

[root@fedora-rawhide-127-0-0-2-2201 ~]# file --mime-type /tmp/test.service
/tmp/test.service: text/plain
[root@fedora-rawhide-127-0-0-2-2201 ~]# rpm -qa file
file-5.48-1.fc45.x86_64

[1] https://bodhi.fedoraproject.org/updates/FEDORA-2026-412ea7bd7b
-- 
_______________________________________________
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.