Update cgroup hook to work with systemd

Description

On newer systems with systemd205 and higher systemd wants to manage all cgroups excepts those in cpusets. To do this it removes cgroups out of its control and moves the pids to the root cgroup. This causes the cgroups hook to fail when it wants to write the pid to one of the job task files. It also fails to read the accounting information when the job completes.

Acceptance Criteria

  • cgroups hook works as expected on systems running systemd205+

Status

Assignee

Michael Karo

Reporter

Sam Goosen

Severity

None

OS

None

Start Date

None

Pull Request URL

None

Story Points

1

Fix versions

Priority

Low
Configure