[Bug 980866] New: update-scripts leave ton of leftovers
http://bugzilla.suse.com/show_bug.cgi?id=980866 Bug ID: 980866 Summary: update-scripts leave ton of leftovers Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp Assignee: zypp-maintainers@forge.provo.novell.com Reporter: tchvatal@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- While we now have leftover mechanism to run scripts on posttrans of packages just once instead of for all invocations we keep the scripts that were not executed in /var/adm/update-scripts/ Most visible it is on update scripts for font scriptlets. One of the leftovers: dreamcrawler:/var/adm/update-scripts # cat ghostscript-fonts-9.06-7.4-reconfigure-fonts if [ -e /var/run/fontpackages/reconfigure-fonts ]; then if [ -x /usr/sbin/fonts-config ]; then /usr/sbin/fonts-config --quiet fi rm /var/run/fontpackages/reconfigure-fonts fi rm /var/adm/update-scripts/ghostscript-fonts-9.06-7.4-reconfigure-fonts I suppose proper solution would be to run just one of the scripts, but then delete them all and not keep any? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=980866 http://bugzilla.suse.com/show_bug.cgi?id=980866#c1 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|zypp-maintainers@forge.prov |jsmeix@suse.com |o.novell.com | --- Comment #1 from Michael Andres <ma@suse.com> ---
$ rpm -qf /var/adm/update-scripts/* fetchmsttfonts-11.4-17.3.1.noarch file /var/adm/update-scripts/ghostscript-fonts-9.06-6.1.5-reconfigure-fonts is not owned by any package
Packages are supposed to own their scripts, so they vanish together with the package. -> bugowner of Printing/ghostscript-fonts : jsmeix -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=980866 http://bugzilla.suse.com/show_bug.cgi?id=980866#c2 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #2 from Johannes Meixner <jsmeix@suse.com> --- No idea what to do different in ghostscript-fonts.spec ------------------------------------------------------------------ # osc cat Printing ghostscript-fonts ghostscript-fonts.spec \ | grep '%reconfigure_fonts' %reconfigure_fonts_post %reconfigure_fonts_postun %reconfigure_fonts_posttrans %reconfigure_fonts_post %reconfigure_fonts_postun %reconfigure_fonts_posttrans ------------------------------------------------------------------ -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com