[Bug 894107] New: update of phpmyadmin tries to execute deprecated /etc/init.d/apache2
https://bugzilla.novell.com/show_bug.cgi?id=894107 https://bugzilla.novell.com/show_bug.cgi?id=894107#c0 Summary: update of phpmyadmin tries to execute deprecated /etc/init.d/apache2 Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: wagner-thomas@gmx.at QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.143 Safari/537.36 just did a zypper up: (2/4) Installing: phpMyAdmin-4.1.14.3-8.1 ...............................[done] Additional rpm output: /var/tmp/rpm-tmp.6bQefx: line 13: /etc/init.d/apache2: No such file or directory /var/tmp/rpm-tmp.cmpLma: line 8: /etc/init.d/apache2: No such file or directory Seems that phpMyAdmin from the OpenSUSE 13.1 Update repo tryies to exec /etc/init.d/apache2 which is missing since OpenSUSE 13.1 uses systemd. Reproducible: Always # zypper info phpmyadmin Loading repository data... Reading installed packages... Information for package phpMyAdmin: ----------------------------------- Repository: openSUSE-13.1-Update Name: phpMyAdmin Version: 4.1.14.3-8.1 Arch: noarch Vendor: openSUSE Installed: Yes Status: up-to-date Installed Size: 25.2 MiB -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=894107
https://bugzilla.novell.com/show_bug.cgi?id=894107#c
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=894107
https://bugzilla.novell.com/show_bug.cgi?id=894107#c1
Christian Wittmer
https://bugzilla.novell.com/show_bug.cgi?id=894107
https://bugzilla.novell.com/show_bug.cgi?id=894107#c2
--- Comment #2 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=894107
https://bugzilla.novell.com/show_bug.cgi?id=894107#c3
Christian Wittmer
https://bugzilla.novell.com/show_bug.cgi?id=894107
https://bugzilla.novell.com/show_bug.cgi?id=894107#c4
--- Comment #4 from Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=894107
https://bugzilla.novell.com/show_bug.cgi?id=894107#c
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=894107 https://bugzilla.novell.com/show_bug.cgi?id=894107#c5 Christian Wittmerchanged: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW AssignedTo|chris@computersalat.de |qa-bugs@suse.de --- Comment #5 from Christian Wittmer 2014-09-05 18:37:42 UTC --- problem depends on suse_macro "%restart_on_update" which is trying to execute '/etc/init.d/$service try-restart'. This isn't available anymore cause of 'systemd' and should be replaced with '/usr/bin/systemctl reload $service' So it is better to fix 'rpm' pkg. os131:/usr/lib/rpm # diff -ruN suse_macros.orig suse_macros --- suse_macros.orig 2013-11-27 14:00:04.000000000 +0100 +++ suse_macros 2014-09-05 20:36:24.000000000 +0200 @@ -31,7 +31,7 @@ if test "$YAST_IS_RUNNING" != "instsys" -a "$DISABLE_RESTART_ON_UPDATE" != yes ; then \ test -x /bin/systemctl && /bin/systemctl daemon-reload >/dev/null 2>&1 || : \ for service in %{?*} ; do \ - /etc/init.d/$service try-restart > /dev/null || : \ + /usr/bin/systemctl reload $service > /dev/null || : \ done \ fi \ fi \ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=894107
https://bugzilla.novell.com/show_bug.cgi?id=894107#c6
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=894107
https://bugzilla.novell.com/show_bug.cgi?id=894107#c7
--- Comment #7 from Christian Wittmer
http://bugzilla.novell.com/show_bug.cgi?id=894107
--- Comment #8 from Thomas Wagner
http://bugzilla.novell.com/show_bug.cgi?id=894107
http://bugzilla.novell.com/show_bug.cgi?id=894107#c10
--- Comment #10 from Bernhard Wiedemann
http://bugzilla.novell.com/show_bug.cgi?id=894107
http://bugzilla.novell.com/show_bug.cgi?id=894107#c11
--- Comment #11 from Eric Schirra
if config of phpMyAdmin changes ... apache needs to reload his config. There are a lot of other 'webapps' which trigger a 'restart on update' to apache.
This worked without problems ... until 12.3 Since 13.1 the 'restart_on_update' macro is broken, which is a problem of 'rpm' pkg, not of pkg phpMyAdmin.
This have i reporteted here: https://bugzilla.opensuse.org/show_bug.cgi?id=960491 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com