Bugzilla – Bug 1216545
git-web package update overrides custom app armor profile in /etc
Last modified: 2024-03-25 13:56:22 UTC
The git-web subpackage for 15.X provides the apparmor profile /etc/apparmor.d/usr.share.git-web.gitweb.cgi which is missing the %config directive in its specfile. Any user-configuration is lost on reinstalls. Name : git-web Version : 2.35.3-150300.10.30.1 Source package : git-2.35.3-150300.10.30.1.src https://build.opensuse.org/package/show/SUSE:SLE-15-SP5:Update/git Sources inherited from project SUSE:SLE-15-SP3:Update %files web %doc README.gitweb INSTALL.gitweb %dir %{_sysconfdir}/apache2 %dir %{_sysconfdir}/apache2/conf.d/ %config(noreplace) %{_sysconfdir}/apache2/conf.d/gitweb.conf %{_datadir}/gitweb %{_sysconfdir}/apparmor.d Should be %config(noreplace) %{_sysconfdir}/apparmor.d/usr.share.git-web.gitweb.cgi
That's a packaging bug in the git package, I'll reassign to the git maintainer. FYI: This bug is for 15.x, but the latest Tumbleweed package also needs the profile marked as %config or %config(noreplace).
Thank you, Benjamin, for the report. I have sent requests for SLE and TW, I'll close the bug once they get accepted.
SUSE-RU-2024:0960-1: An update that has one fix can now be installed. Category: recommended (moderate) Bug References: 1216545 Maintenance Incident: [SUSE:Maintenance:32662](https://smelt.suse.de/incident/32662/) Sources used: openSUSE Leap 15.3 (src): git-2.35.3-150300.10.36.1 openSUSE Leap 15.5 (src): git-2.35.3-150300.10.36.1 SUSE Linux Enterprise Micro 5.5 (src): git-2.35.3-150300.10.36.1 Basesystem Module 15-SP5 (src): git-2.35.3-150300.10.36.1 Development Tools Module 15-SP5 (src): git-2.35.3-150300.10.36.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-RU-2024:0959-1: An update that has one fix can now be installed. Category: recommended (moderate) Bug References: 1216545 Maintenance Incident: [SUSE:Maintenance:32663](https://smelt.suse.de/incident/32663/) Sources used: SUSE Linux Enterprise Server for SAP Applications 15 SP2 (src): git-2.26.2-150000.53.1 SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2 (src): git-2.26.2-150000.53.1 SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (src): git-2.26.2-150000.53.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
The requests have been accepted, closing.