In bind.spec: %defattr(0640,root,named,0750) <...> %config(noreplace) %{_sysconfdir}/logrotate.d/named There is no need to own this config by named group. It must be owned by root:root.
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle. Changing version to 34.
Does it cause any harm to be readable by named group? There is no secret in that file, it might change also group to root and mode to 644. It is the only logrotate on my machine not readable by world. I think there might be some historical reason for it, but it seems safe to be readable just by everyone, including named. It is important to be writeable just by root, which it is already.
(In reply to Petr Menšík from comment #2) > Does it cause any harm to be readable by named group? There is no secret in > that file, it might change also group to root and mode to 644. It is the > only logrotate on my machine not readable by world. I think there might be > some historical reason for it, but it seems safe to be readable just by > everyone, including named. > > It is important to be writeable just by root, which it is already. application by itself must not be able to change any configs for security reasons, so, to my mind, it is a very good idea to avoid unneeded writability
Hm, 0640 (-rw-r-----) does not give write access to the named group. Then it is not so bad. > but it seems safe to be readable just by everyone, including named. +1
FEDORA-2021-8b4744f152 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-8b4744f152
FEDORA-2021-8b4744f152 has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-8b4744f152` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-8b4744f152 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-8b4744f152 has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report.