Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package munin for openSUSE:Factory checked in at 2023-01-14 20:31:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/munin (Old) and /work/SRC/openSUSE:Factory/.munin.new.32243 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "munin" Sat Jan 14 20:31:31 2023 rev:28 rq:1058301 version:2.0.71 Changes: -------- --- /work/SRC/openSUSE:Factory/munin/munin.changes 2022-12-17 20:36:09.172475678 +0100 +++ /work/SRC/openSUSE:Factory/.munin.new.32243/munin.changes 2023-01-14 20:31:51.617263374 +0100 @@ -1,0 +2,5 @@ +Thu Jan 12 13:16:28 UTC 2023 - Bernhard Wiedemann <bwiedem...@suse.com> + +- Drop harmful chown in %post scripts (boo#1155078) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ munin.spec ++++++ --- /var/tmp/diff_new_pack.vE8D5Q/_old 2023-01-14 20:31:54.381279699 +0100 +++ /var/tmp/diff_new_pack.vE8D5Q/_new 2023-01-14 20:31:54.385279721 +0100 @@ -228,12 +228,6 @@ %endif %post -chown -R munin:munin %{htmldir} -chown -R munin:munin %{dbdir} -chmod 755 %{dbdir} -touch %{logdir}/munin-graph.log %{logdir}/munin-html.log %{logdir}/munin-nagios.log %{logdir}/munin-limits.log %{logdir}/munin-update.log -chown munin:munin %{logdir}/* -chown root:root %{logdir}/munin-node.log* >/dev/null 2>&1 || true %tmpfiles_create munin.conf %service_add_post munin-cgi-graph.service %service_add_post munin-cgi-html.service @@ -273,12 +267,6 @@ if [ $1 = 1 ]; then %{_sbindir}/munin-node-configure --shell | sh fi -chown -R munin:munin %{dbdir} -chmod 755 %{dbdir} -touch %{logdir}/munin-node.log -chown munin:munin %{logdir}/* -chown root:root %{logdir}/munin-node.log* -chown -R nobody:nobody %{dbdir}/plugin-state/* >/dev/null 2>&1 %tmpfiles_create munin-node.conf %service_add_post munin-node.service %firewalld_reload @@ -368,6 +356,11 @@ %{_mandir}/man8/munin.8%{?ext_man} %attr(0750, munin, munin) %dir %{logdir} %attr(0755, munin, munin) %dir %{dbdir} +%ghost %attr(0644, munin, munin) %{logdir}/munin-graph.log +%ghost %attr(0644, munin, munin) %{logdir}/munin-html.log +%ghost %attr(0644, munin, munin) %{logdir}/munin-nagios.log +%ghost %attr(0644, munin, munin) %{logdir}/munin-limits.log +%ghost %attr(0644, munin, munin) %{logdir}/munin-update.log %ghost /run/munin %files node @@ -452,6 +445,7 @@ %attr(0750, munin, munin) %dir %{logdir} %attr(0755, munin, munin) %dir %{dbdir} %attr(0775, nobody, nobody) %dir %{dbdir}/plugin-state +%ghost %{logdir}/munin-node.log %ghost /run/munin %dir %{_prefix}/lib/firewalld %dir %{_prefix}/lib/firewalld/services