Mailinglist Archive: opensuse-bugs (2150 mails)

< Previous Next >
[Bug 873334] systemctl enable mysql.service doesn't work, it is necessary to start it manually every boot

https://bugzilla.novell.com/show_bug.cgi?id=873334

https://bugzilla.novell.com/show_bug.cgi?id=873334#c3


Ludwig Nussel <lnussel@xxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME

--- Comment #3 from Ludwig Nussel <lnussel@xxxxxxxx> 2014-04-14 10:15:01 CEST
---
tanana:~ # find /etc/init.d/|grep mys
/etc/init.d/mysql
tanana:~ # systemctl enable mysql.service
mysql.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig mysql on
The unit files have no [Install] section. They are not meant to be enabled
using systemctl.
Possible reasons for having this kind of units are:
1) A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
2) A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
3) A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).
tanana:~ # find /etc/init.d/|grep mys
/etc/init.d/rc5.d/K50mysql
/etc/init.d/rc5.d/S50mysql
/etc/init.d/rc3.d/K50mysql
/etc/init.d/rc3.d/S50mysql
/etc/init.d/mysql
tanana:~ #

the warning from systemd is useless but the enabling works.

--
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.

< Previous Next >
References