Bug 627328

Summary: /sbin/service command should handle detaching systemd cgroups
Product: [Fedora] Fedora Reporter: Matthew Miller <mattdm>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: iarlyy, jonathan, lpoetter, notting, plautrba, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-25 18:05:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matthew Miller 2010-08-25 17:14:03 UTC
Description of problem:

If I start a service with "sudo service daemond start", it remains attached to my systemd:/user/ cgroup.

The service command should, in addition to clearing the environment

Version-Release number of selected component (if applicable):

current rawhide.

How reproducible:

inherent

Steps to Reproduce:
1. start a server with 'sudo service httpd start'
2. note the pid of the running process
3. look at /proc/<pid/cgroup 
  
(Note that I'm just using httpd as an example here; httpd will probably really be started by and controlled natively by systemd once this all goes into production.)

Actual results:

1:name=systemd:/user/mattdm/1

Expected results:

Some other cgroup, corresponding to what you'd get if the service were started by sysvinit scripts at boot time.

Comment 2 Bill Nottingham 2010-08-25 18:05:34 UTC

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