Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 587406

Summary: sys-apps/watchdog: add ControlGroup=cpu:/ to [Service] in systemd service
Product: Gentoo Linux Reporter: Ian Kumlien <ian.kumlien>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED CANTFIX    
Severity: major CC: candrews, systemd
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugzilla.redhat.com/show_bug.cgi?id=805397
Whiteboard:
Package list:
Runtime testing required: ---

Description Ian Kumlien 2016-06-28 12:16:11 UTC
Please see:
https://bugzilla.redhat.com/show_bug.cgi?id=805397

If you don't put "ControlGroup=cpu:/" in the "[Service]" section, the realtime scheduling setting will get a permission denied and the watchdog will eventually miss it's deadline.

I have just had my machine reboot twice due to this....
Comment 1 Craig Andrews gentoo-dev 2016-07-27 03:13:02 UTC
pull request: https://github.com/gentoo/gentoo/pull/1978
Comment 2 Craig Andrews gentoo-dev 2016-08-08 15:05:40 UTC
The "ControlGroup" directive was removed:
https://github.com/systemd/systemd/commit/dc7adf202b82fc0054c457ce6ca3bcedb88dde57