Bugzilla – Bug 840159
Should there be a entry in Yast | Services Manager for msql/mariadb.
Last modified: 2013-11-06 08:37:54 UTC
Created attachment 557641 [details] listed services in Yast | Services Manager User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0 SeaMonkey/2.20 Hello, Should there be a entry in Yast | Services Manager for msql/mariadb. So you can start|stop & enable|disable this service. Part of lamp service. Thanks Glenn Reproducible: Always Steps to Reproduce: 1. missing service entry for msql/mariadb Expected Results: service entry for msql/mariadb
Hi Glenn, the internals of Services Manager relies currently on analyzing systemd unit files in /usr/lib/systemd/system/* . mariadb or even postgresql server packages do not provide any, that's why their entries are missing in the list. As workaround you can still use rcmysql [command] until we resolve this issue in the Services Manager internals.
In fact, Services Manager does not parse any files anywhere. It calls systemd to list all services. Can you attach output from: `systemctl list-units --type=service` If mariadb doesn't provide systemd support, it needs to be fixed directly in mariadb. Then this bug has a wrong assignee.
Glen, please see the comment #2.
# systemctl list-units --type=service UNIT LOAD ACTIVE SUB DESCRIPTION avahi-daemon.service loaded active running Avahi mDNS/DNS-SD Stack bluetooth.service loaded active running Bluetooth service cron.service loaded active running Command Scheduler dbus.service loaded active running D-Bus System Message Bus getty@tty1.service loaded active running Getty on tty1 kmod-static-nodes.service loaded active exited Create list of required static device nodes for the current kernel ModemManager.service loaded active running Modem Manager NetworkManager.service loaded active running Network Manager nscd.service loaded active running Name Service Cache Daemon polkit.service loaded active running Authorization Manager postfix.service loaded active running Postfix Mail Transport Agent rc-local.service loaded active exited /etc/init.d/boot.local Compatibility rsyslog.service loaded active running System Logging Service sshd.service loaded active running OpenSSH Daemon SuSEfirewall2.service loaded active exited SuSEfirewall2 phase 2 SuSEfirewall2_init.service loaded active exited SuSEfirewall2 phase 1 systemd-journald.service loaded active running Journal Service systemd-logind.service loaded active running Login Service systemd-modules-load.service loaded active exited Load Kernel Modules systemd-random-seed.service loaded active exited Load/Save Random Seed systemd-readahead-collect.service loaded active exited Collect Read-Ahead Data systemd-readahead-replay.service loaded active exited Replay Read-Ahead Data systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems systemd-sysctl.service loaded active exited Apply Kernel Variables systemd-tmpfiles-setup-dev.service loaded active exited Create static device nodes in /dev systemd-tmpfiles-setup.service loaded active exited Recreate Volatile Files and Directories systemd-udev-root-symlink.service loaded active exited Create dynamic rule for /dev/root link systemd-udev-trigger.service loaded active exited udev Coldplug all Devices systemd-udevd.service loaded active running udev Kernel Device Manager systemd-update-utmp.service loaded active exited Update UTMP about System Reboot/Shutdown systemd-user-sessions.service loaded active exited Permit User Sessions systemd-vconsole-setup.service loaded active exited Setup Virtual Console udisks2.service loaded active running Disk Manager upower.service loaded active running Daemon for power management xdm.service loaded active running LSB: X Display Manager LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 35 loaded units listed. Pass --all to see loaded but inactive units, too.
Thanks Glenn, then mariadb should be adapted to systemd.
Closing as this is an issue of mariadb package.
Reopening and reassigning back to Michal as this is (valid) mariadb issue.
MariaDB as many other daemons (for example xdm, which I would say is quite important) is using LSB wrapper and thus is shown in 'systemctl list-units --type=service --all' and works with systemctl quite ok. I have it even in normal list when it is running: $ systemctl list-units --type=service | grep mysql mysql.service loaded active running LSB: Start the MySQL database server So I would say, that this is at the same time feature request for MariaDB/bug(maybe feature request to include all services?) in YaST (as we have quite some services not converted to systemd, like for example xdm). Putting in new MySQL/MariaDB maintainer, but I think the more important issue is in YaST.
Marking as duplicate of the underlying problem. *** This bug has been marked as a duplicate of bug 846422 ***
*** Bug 846321 has been marked as a duplicate of this bug. ***