Bug 818958

Summary: Missing systemD unit file
Product: Red Hat Enterprise Linux 7 Reporter: Alex Sersen <asersen>
Component: memcachedAssignee: Miroslav Lichvar <mlichvar>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Ščotka <jscotka>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 7.0CC: jscotka, mmaslano, ohudlick, psklenar
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 10:11:58 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:
Bug Depends On: 783112    
Bug Blocks: 816135    

Description Alex Sersen 2012-05-04 13:33:31 UTC
Hi,

the script has marked your component with error 'missing systemD unit file'. Please review, comment and/or fix it.

Useful links:
http://fedoraproject.org/wiki/Features/SysVtoSystemd
http://fedoraproject.org/wiki/Features/systemd

Comment 1 Miroslav Lichvar 2012-05-04 13:46:26 UTC
In Fedora the request for a systemd service is in bug #783112.

Comment 2 Petr Sklenar 2012-06-21 11:41:55 UTC
hello,
I am trying 'reload-or-restart' of memcached service. And it fails.
Is it going to be fixed by this bug or that's different issue?

memcached-1.4.13-1.el7.ppc64


# systemctl status memcached.service
memcached.service - SYSV: The memcached daemon is a network memory cache service.
	  Loaded: loaded (/etc/rc.d/init.d/memcached)
	  Active: active (running) since Thu, 21 Jun 2012 20:39:12 +0900; 1s ago
	 Process: 25738 ExecStop=/etc/rc.d/init.d/memcached stop (code=exited, status=0/SUCCESS)
	 Process: 25722 ExecReload=/etc/rc.d/init.d/memcached reload (code=exited, status=0/SUCCESS)
	 Process: 25791 ExecStart=/etc/rc.d/init.d/memcached start (code=exited, status=0/SUCCESS)
	Main PID: 25796 (memcached)
	  CGroup: name=systemd:/system/memcached.service
		  └ 25796 memcached -d -p 11211 -u memcached -m 64 -c 1024 -P /var/run/memcached/memcached.pid

# systemctl reload-or-restart memcached.service
# systemctl status memcached.service
memcached.service - SYSV: The memcached daemon is a network memory cache service.
	  Loaded: loaded (/etc/rc.d/init.d/memcached)
	  Active: failed (Result: signal) since Thu, 21 Jun 2012 20:39:18 +0900; 1s ago
	 Process: 25822 ExecStop=/etc/rc.d/init.d/memcached stop (code=exited, status=0/SUCCESS)
	 Process: 25806 ExecReload=/etc/rc.d/init.d/memcached reload (code=exited, status=0/SUCCESS)
	 Process: 25791 ExecStart=/etc/rc.d/init.d/memcached start (code=exited, status=0/SUCCESS)
	Main PID: 25814 (code=killed, signal=KILL)
	  CGroup: name=systemd:/system/memcached.service

Comment 3 Miroslav Lichvar 2012-09-24 09:34:39 UTC
Yes, with the native systemd service the reload-or-restart command works.

Comment 7 Ludek Smid 2014-06-13 10:11:58 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.