[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 <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chris@computersalat.de, | |meissner@suse.com AssignedTo|bnc-team-screening@forge.pr |Andreas.Stieger@gmx.de |ovo.novell.com | -- 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#c1 Christian Wittmer <chris@computersalat.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|Andreas.Stieger@gmx.de |chris@computersalat.de --- Comment #1 from Christian Wittmer <chris@computersalat.de> 2014-08-29 15:16:30 UTC --- ongoing work -- 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#c2 --- Comment #2 from Bernhard Wiedemann <bwiedemann@suse.com> 2014-08-29 18:00:10 CEST --- This is an autogenerated message for OBS integration: This bug (894107) was mentioned in https://build.opensuse.org/request/show/246858 13.1+12.3 / phpMyAdmin -- 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#c3 Christian Wittmer <chris@computersalat.de> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|chris@computersalat.de |qa-bugs@suse.de --- Comment #3 from Christian Wittmer <chris@computersalat.de> 2014-08-29 16:37:03 UTC --- sr created -- 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#c4 --- Comment #4 from Marcus Meissner <meissner@suse.com> 2014-09-02 08:51:02 UTC --- as i wrote in the decline, you should not start apache2 services in the phpMyAdmin scripts. Probalby just leave the apache2 restart try out completely. -- 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 <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|qa-bugs@suse.de |chris@computersalat.de -- 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#c5 Christian Wittmer <chris@computersalat.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW AssignedTo|chris@computersalat.de |qa-bugs@suse.de --- Comment #5 from Christian Wittmer <chris@computersalat.de> 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 <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|qa-bugs@suse.de |chris@computersalat.de --- Comment #6 from Marcus Meissner <meissner@suse.com> 2014-09-08 09:07:31 UTC --- I would suggest not to do a restart of foreign services at all. why did you assign this to qa-bugs@suse.de, its an auto-only address no one reads -- 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#c7 --- Comment #7 from Christian Wittmer <chris@computersalat.de> 2014-09-12 17:04:58 UTC --- 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. -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=894107 --- Comment #8 from Thomas Wagner <wagner-thomas@gmx.at> --- In the newest version of the phpMyAdmin package the bug still extist: (3/3) Installation von: phpMyAdmin-4.1.14.6-20.1 ............................[fertig] Zusätzliche rpm-Ausgabe: /var/tmp/rpm-tmp.aZLPPJ: line 13: /etc/init.d/apache2: No such file or directory /var/tmp/rpm-tmp.ysrden: line 8: /etc/init.d/apache2: No such file or directory # zypper info phpmyadmin Daten des Repositories laden ... Installierte Pakete lesen ... Informationen für Paket phpMyAdmin: ----------------------------------- Repository: openSUSE-13.1-Update Name: phpMyAdmin Version: 4.1.14.6-20.1 Arch: noarch Anbieter: openSUSE Installiert: Ja Status: aktuell Installierte Größe: 25,3 MiB Zusammenfassung: Administration of MySQL over the web Beschreibung: phpMyAdmin can manage a whole MySQL server (needs a super-user) as well as a single database. To accomplish the latter you'll need a properly set up MySQL user who can read/write only the desired database. It's up to you to look up the appropriate part in the MySQL manual. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=894107 http://bugzilla.novell.com/show_bug.cgi?id=894107#c10 --- Comment #10 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (894107) was mentioned in https://build.opensuse.org/request/show/403125 13.1 / rpm -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=894107 http://bugzilla.novell.com/show_bug.cgi?id=894107#c11 --- Comment #11 from Eric Schirra <ecsos@schirra.net> --- (In reply to Christian Wittmer from comment #7)
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