Bug 810801
Summary: | ntpd cann't set the realtime scheduler | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michael Tatarinov <kukabu> |
Component: | ntp | Assignee: | Miroslav Lichvar <mlichvar> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 16 | CC: | lpoetter, mlichvar, pertusus |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | ntp-4.2.6p5-2.fc17 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-05-08 04:15:52 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Michael Tatarinov
2012-04-09 08:37:44 UTC
ups... sorry... another version ntpd Actual results: Apr 9 12:38:32 n3331 ntpd[1176]: ntpd 4.2.6p4 Thu Oct 6 15:37:56 UTC 2011 (1) Apr 9 12:38:32 n3331 ntpd[1176]: sched_setscheduler(): Operation not permitted Apr 9 12:38:32 n3331 ntpd[1176]: proto: precision = 0.679 usec and so on... It seems to be blocked by systemd. Lennart, are the processes supposed to be able to change the scheduler and priority or should it be controlled only by the CPU* settings in the service file? By default every system service gets its own cgroup in the "cpu" hierarchy, so that an apache with 100 CGI scripts doesn't get 20x more CPU than mysql with 5 processes. Unfortunately that breaks RT for system services. (This is something that should be fixed in the kernel one day) The fix is to specifically move ntpd back into the root "cpu" cgroup, with ControlGroup=cpu:/ in the [Service] section where RT is available. Hope this helps. ntp-4.2.6p5-2.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/ntp-4.2.6p5-2.fc17 Package ntp-4.2.6p5-2.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing ntp-4.2.6p5-2.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-6798/ntp-4.2.6p5-2.fc17 then log in and leave karma (feedback). ntp-4.2.6p5-2.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. whether it will be fixed in the Fedora 16? I'm not sure this change alone is enough for an F16 update, it's just a config file modification and the real time scheduling is not that useful with kernel packet timestamps. If there are other bugs to be fixed, this will be included. |