Bug 627328 - /sbin/service command should handle detaching systemd cgroups
Summary: /sbin/service command should handle detaching systemd cgroups
Keywords:
Status: CLOSED DUPLICATE of bug 612728
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-25 17:14 UTC by Matthew Miller
Modified: 2014-03-17 03:24 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-08-25 18:05:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.