Bug 840159 - Should there be a entry in Yast | Services Manager for msql/mariadb.
Summary: Should there be a entry in Yast | Services Manager for msql/mariadb.
Status: RESOLVED DUPLICATE of bug 846422
: 846321 (view as bug list)
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: 13.1 Milestone 4
Hardware: x86-64 Other
: P3 - Medium : Normal (vote)
Target Milestone: ---
Assignee: Roman Drahtmueller
QA Contact: Jiri Srain
URL:
Whiteboard: GOLD
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-13 06:11 UTC by Forgotten User Si7ddX0wxG
Modified: 2013-11-06 08:37 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
listed services in Yast | Services Manager (267.10 KB, image/png)
2013-09-13 06:11 UTC, Forgotten User Si7ddX0wxG
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Forgotten User Si7ddX0wxG 2013-09-13 06:11:03 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
Comment 1 Vladimir Moravec 2013-09-13 10:54:58 UTC
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.
Comment 2 Lukas Ocilka 2013-10-09 09:03:40 UTC
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.
Comment 3 Lukas Ocilka 2013-10-09 09:04:10 UTC
Glen, please see the comment #2.
Comment 4 Forgotten User Si7ddX0wxG 2013-10-09 10:52:03 UTC
# 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.
Comment 5 Lukas Ocilka 2013-10-09 10:59:54 UTC
Thanks Glenn, then mariadb should be adapted to systemd.
Comment 6 Vladimir Moravec 2013-10-14 12:43:17 UTC
Closing as this is an issue of mariadb package.
Comment 7 Lukas Ocilka 2013-10-14 13:29:17 UTC
Reopening and reassigning back to Michal as this is (valid) mariadb issue.
Comment 8 Michal Hrusecky 2013-10-14 15:45:19 UTC
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.
Comment 9 Michal Hrusecky 2013-10-17 13:43:24 UTC
Marking as duplicate of the underlying problem.

*** This bug has been marked as a duplicate of bug 846422 ***
Comment 10 Michal Hrusecky 2013-11-06 08:37:54 UTC
*** Bug 846321 has been marked as a duplicate of this bug. ***