Bug 1089700

Summary: Cannot enable mariadb service as mariadb
Product: [Fedora] Fedora Reporter: Attila Fazekas <afazekas>
Component: mariadbAssignee: Honza Horak <hhorak>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: hhorak, jdornak
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-22 15:58:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Attila Fazekas 2014-04-21 17:26:32 UTC
Description of problem:
# systemctl enable mariadb.service
Failed to issue method call: No such file or directory
# chkconfig mariadb on
Note: Forwarding request to 'systemctl enable mariadb.service'.
Failed to issue method call: No such file or directory

Version-Release number of selected component (if applicable):
#rpm -qa |grep maria
mariadb-libs-5.5.36-1.fc19.x86_64
mariadb-5.5.36-1.fc19.x86_64
mariadb-server-5.5.36-1.fc19.x86_64
# rpm -qa |grep systemd
systemd-204-18.fc19.x86_64
systemd-libs-204-18.fc19.x86_64
systemd-sysv-204-18.fc19.x86_64


How reproducible:
always

Actual results:
Service enable fails.

Expected results:
Service enable is successful.


Additional info:
systemctl enable mysqld.service  # works
systemctl start/stop/status mariadb.service  # works

mariadb.service is a symbolic link.
ls -l /usr/lib/systemd/system/mariadb.service 
lrwxrwxrwx. 1 root root 14 Apr 21 17:15 /usr/lib/systemd/system/mariadb.service -> mysqld.service

Comment 1 Honza Horak 2014-04-22 15:58:04 UTC
This problem is already reported for systemd and I still believe it is responsibility of systemd to work the same with start command like with enable command.

*** This bug has been marked as a duplicate of bug 1014311 ***