[Bug 738693] New: upgrade from 11.4 enables mysql service for systemd
https://bugzilla.novell.com/show_bug.cgi?id=738693 https://bugzilla.novell.com/show_bug.cgi?id=738693#c0 Summary: upgrade from 11.4 enables mysql service for systemd Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Update Problems AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: sweet_f_a@gmx.de QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20100101 Firefox/9.0 zypper dup on 11.4 with mysql server installed but not enabled results in having it enabled for systemd. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- 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=738693
https://bugzilla.novell.com/show_bug.cgi?id=738693#c1
Sebastian Freundt
https://bugzilla.novell.com/show_bug.cgi?id=738693
https://bugzilla.novell.com/show_bug.cgi?id=738693#c2
Cristian Rodríguez
How can I turn mysql off?
systemctl mask mysql.service ??? reading the manual is recommended ! -- 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=738693
https://bugzilla.novell.com/show_bug.cgi?id=738693#c3
--- Comment #3 from Sebastian Freundt
https://bugzilla.novell.com/show_bug.cgi?id=738693
https://bugzilla.novell.com/show_bug.cgi?id=738693#c4
--- Comment #4 from Cristian Rodríguez
Why does systemctl disable not work? Shall I file this as a separate bug?
It does work, is in fact doing _exactly_ what it should. See /lib/systemd/system/postfix.service it has Wants=mysql.service and "Wants".. means. "A weaker version of Requires=. A unit listed in this option **will be started if the configuring unit is**." -- 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=738693
https://bugzilla.novell.com/show_bug.cgi?id=738693#c5
--- Comment #5 from Sebastian Freundt
https://bugzilla.novell.com/show_bug.cgi?id=738693
https://bugzilla.novell.com/show_bug.cgi?id=738693#c6
--- Comment #6 from Ruediger Meier
See /lib/systemd/system/postfix.service
it has
Wants=mysql.service
and "Wants".. means.
"A weaker version of Requires=. A unit listed in this option **will be started if the configuring unit is**."
Yes, mysql must be removed from "Wants". All we want is in case of having both mysql and postfix _enabled_ then postfix should be started after mysql. (because there might be postfix setups which require mysql) -- 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=738693
https://bugzilla.novell.com/show_bug.cgi?id=738693#c7
Cristian Rodríguez
https://bugzilla.novell.com/show_bug.cgi?id=738693
https://bugzilla.novell.com/show_bug.cgi?id=738693#c8
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=738693
https://bugzilla.novell.com/show_bug.cgi?id=738693#c9
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=738693
https://bugzilla.novell.com/show_bug.cgi?id=738693#c10
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=738693
https://bugzilla.novell.com/show_bug.cgi?id=738693#c11
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=738693
https://bugzilla.novell.com/show_bug.cgi?id=738693#c12
--- Comment #12 from Sebastian Freundt
https://bugzilla.novell.com/show_bug.cgi?id=738693
https://bugzilla.novell.com/show_bug.cgi?id=738693#c13
--- Comment #13 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=738693
https://bugzilla.novell.com/show_bug.cgi?id=738693#c14
Peter Varkoly
https://bugzilla.novell.com/show_bug.cgi?id=738693
https://bugzilla.novell.com/show_bug.cgi?id=738693#c15
Frederic Crozat
participants (1)
-
bugzilla_noreply@novell.com