[Bug 743125] New: systemd starts mysqld for postfix even if it is not used
https://bugzilla.novell.com/show_bug.cgi?id=743125 https://bugzilla.novell.com/show_bug.cgi?id=743125#c0 Summary: systemd starts mysqld for postfix even if it is not used Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: All OS/Version: Other Status: NEW Severity: Minor Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: yuvalery@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1 Postfix is default MTA in openSUSE. It lists mysql.service as "Wants" in /lib/systemd/system/postfix.service By default postfix is enabled as system MTA and configured NOT to use mysql: POSTFIX_WITH_MYSQL="no" is set in /etc/sysconfig/postfix It means that systemd will start mysqld if it is installed and postfix.service is enabled (it is enabled by default). Whether mysql.service is enabled or not plays no role. Whether it is actually used by postfix or not plays no role. On typical freshly installed desktop system mysqld is installed as dependence of KDE programs (akodadi, amarok, etc). But all those programs by default start their own instance of mysqld. All in all, that means that there is unused system-wide instance of mysqld which is started as optional "Wants" dependence of postfix. Reproducible: Always Steps to Reproduce: 1. Boot system with postfix MTA and with mysql installed Actual Results: useless system-wide mysql.service starts irrespectively of any settings Expected Results: mysql.service should start only if explicitly enabled or actually required. Now the only way to stop mysql.service from starting as postfix dependence is to use masking feature of systemd -- 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=743125 https://bugzilla.novell.com/show_bug.cgi?id=743125#c zj jia <zjjia@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@suse.com AssignedTo|bnc-team-screening@forge.pr |fcrozat@suse.com |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=743125 https://bugzilla.novell.com/show_bug.cgi?id=743125#c1 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #1 from Frederic Crozat <fcrozat@suse.com> 2012-01-30 08:53:10 UTC --- marking as duplicate *** This bug has been marked as a duplicate of bug 738693 *** http://bugzilla.novell.com/show_bug.cgi?id=738693 -- 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.
participants (1)
-
bugzilla_noreply@novell.com