[Bug 223721] New: latest phpMyAdmin deletes configuration!
https://bugzilla.novell.com/show_bug.cgi?id=223721 Summary: latest phpMyAdmin deletes configuration! Product: SUSE LINUX 10.0 Version: unspecified Platform: i586 OS/Version: SuSE Linux 10.0 Status: NEW Severity: Blocker Priority: P5 - None Component: Update Problems AssignedTo: yast2-maintainers@suse.de ReportedBy: mhoppe@novell.com QAContact: kkaempf@novell.com Sorry but this is not funny. I saw a phpMyAdmin security update for 10.0 with a release change and after the you update my config.inc.php was gone. There was only a config.inc.php.rpmnew but the old configuration was deleted without a rpmsave or something like that. Thx guys for the work now! -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223721 meissner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ast@novell.com, security-team@suse.de, | |hmuelle@novell.com AssignedTo|yast2-maintainers@suse.de |anosek@novell.com ------- Comment #1 from meissner@novell.com 2006-11-25 03:01 MST ------- it should really not have deleted the configuration :( -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223721 ------- Comment #2 from meissner@novell.com 2006-11-25 03:02 MST ------- btw, the .rpmnew will have your configuration data, since it is not generated by RPM itself, but by the %post section -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223721 ------- Comment #3 from mhoppe@novell.com 2006-11-25 03:23 MST ------- Yes you are right, the .rpmnew file includes my old configuration. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223721 ------- Comment #5 from anosek@novell.com 2006-11-29 06:02 MST ------- I tried this security update for 10.0 and it does what Michal said. I found my old config in phpMyAdmin/libraries/config.inc.php and the new one was saved as phpMyAdmin/libraries/config.inc.php.rpmnew -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223721 ------- Comment #6 from mmarek@novell.com 2006-12-01 03:38 MST ------- Matthias, can you confirm / disconfirm comment #5? Thanks! -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223721 ------- Comment #7 from mhoppe@novell.com 2006-12-01 03:52 MST ------- Confirmed, I found my old config in this directory but the configuration must be located in phpMyAdmin/config.inc.php and this one was removed. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223721 mmarek@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Info Provider|mhoppe@novell.com |meissner@novell.com ------- Comment #8 from mmarek@novell.com 2006-12-01 04:09 MST ------- Yes, mv config.inc.php libraries/config.inc.php was a mistake and I'm sorry for that. I was just affraid that according to your comment #3 (old config in rpmnew) there was another mistake. Marcus, Anja, Harald: what to do now? Release anothe PMA update with if test -f %{serverroot}%{name}/libraries/config.inc.php -a ! \ -f %{serverroot}%{name}/config.inc.php; then mv %{serverroot}%{name}/libraries/config.inc.php %{serverroot}%{name}/ fi in %post (as attached to bug 223725)? Or release a YOU script doing the same? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223721 meissner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|meissner@novell.com | ------- Comment #9 from meissner@novell.com 2006-12-01 04:59 MST ------- we have to expect: - old phpMyAdmin - current security broken phpMyAdmin can you handle those cases? I would really suggest a new update to fix this. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223721 mmarek@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anosek@novell.com AssignedTo|anosek@novell.com |mmarek@novell.com ------- Comment #10 from mmarek@novell.com 2006-12-01 07:11 MST ------- Old phpMyAdmin won't have any config.inc.php in phpMyAdmin/libraries, so the if condition won't pass. I'll prepare the packages. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223721 mmarek@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |suse-beta@cboltz.de ------- Comment #11 from mmarek@novell.com 2006-12-01 07:12 MST ------- *** Bug 223725 has been marked as a duplicate of this bug. *** -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223721 ------- Comment #12 from mmarek@novell.com 2006-12-01 09:24 MST ------- It's not that simple, I'll have to keep phpMyAdmin/config.inc.php in %files... -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223721 mmarek@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mmarek@novell.com |security-team@suse.de Status|ASSIGNED |NEW ------- Comment #13 from mmarek@novell.com 2006-12-01 15:02 MST ------- I **hope** I got it right now: - For an update from the good old PMA, I added %ghost .../phpMyAdmin/config.inc.php, so that rpm doesn't delete the file (but there is no need to install it, that's why the ghost), the %post script skips the mv command. - For update from the broken PMA, the %post script moves the file back to the correct place. - For new installation, no config.inc.php gets installed, because the config.default.php is enough. I submitted the packages for 9.3, 10.0, 10.1 and 10.2 -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223721 ------- Comment #14 from lnussel@novell.com 2006-12-04 03:48 MST ------- MaintenanceTracker-7282 Is the update for 10.2 actually useful right now? The broken package is on the GM so there was no previous security that could have moved the config file away. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223721 ------- Comment #15 from mmarek@novell.com 2006-12-04 04:15 MST ------- If someone updates from an older distro to 10.2, the bug will appear, too. On the other hand, the broken package was already on 10.1 GM an noone complained until now. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223721 meissner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #16 from meissner@novell.com 2006-12-06 09:22 MST ------- approved this update. -- 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, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com