← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1881312] [NEW] systemd-run does not make the new scope unit part of the slice specified via the --slice arg

 

Public bug reported:

[impact]

running 'systemd-run --scope --slice=$SLICE $PROGRAM' does not start the
program under $SLICE, instead it starts it under system.slice

[test case]

root:~# systemd-run --scope --slice=user-1000.slice sleep 1000
Running scope as unit run-r16d872f1b0894b88a79421a890269e6c.scope.
^Z
[3]+  Stopped                 systemd-run --scope --slice=user-1000.slice sleep 1000
root:~# bg
[3]+ systemd-run --scope --slice=user-1000.slice sleep 1000 &
root:~# systemctl show -p Slice run-r16d872f1b0894b88a79421a890269e6c.scope
Slice=system.slice

[regression potential]

TBD

[scope]

this is needed only for Xenial.

this is fixed upstream by
https://github.com/systemd/systemd/pull/3094
which is included starting in v230, so is included in Bionic and later.

** Affects: systemd
     Importance: Unknown
         Status: Unknown

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: systemd (Ubuntu Xenial)
     Importance: Medium
     Assignee: Dan Streetman (ddstreet)
         Status: In Progress

** Also affects: systemd (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Changed in: systemd (Ubuntu Xenial)
       Status: New => In Progress

** Changed in: systemd (Ubuntu)
       Status: New => Fix Released

** Changed in: systemd (Ubuntu Xenial)
     Assignee: (unassigned) => Dan Streetman (ddstreet)

** Changed in: systemd (Ubuntu Xenial)
   Importance: Undecided => Medium

** Bug watch added: github.com/systemd/systemd/issues #2991
   https://github.com/systemd/systemd/issues/2991

** Also affects: systemd via
   https://github.com/systemd/systemd/issues/2991
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1881312

Title:
  systemd-run does not make the new scope unit part of the slice
  specified via the --slice arg

Status in systemd:
  Unknown
Status in systemd package in Ubuntu:
  Fix Released
Status in systemd source package in Xenial:
  In Progress

Bug description:
  [impact]

  running 'systemd-run --scope --slice=$SLICE $PROGRAM' does not start
  the program under $SLICE, instead it starts it under system.slice

  [test case]

  root:~# systemd-run --scope --slice=user-1000.slice sleep 1000
  Running scope as unit run-r16d872f1b0894b88a79421a890269e6c.scope.
  ^Z
  [3]+  Stopped                 systemd-run --scope --slice=user-1000.slice sleep 1000
  root:~# bg
  [3]+ systemd-run --scope --slice=user-1000.slice sleep 1000 &
  root:~# systemctl show -p Slice run-r16d872f1b0894b88a79421a890269e6c.scope
  Slice=system.slice

  [regression potential]

  TBD

  [scope]

  this is needed only for Xenial.

  this is fixed upstream by
  https://github.com/systemd/systemd/pull/3094
  which is included starting in v230, so is included in Bionic and later.

To manage notifications about this bug go to:
https://bugs.launchpad.net/systemd/+bug/1881312/+subscriptions


Follow ups