Bug 195617
Summary: | autobreak stuffs are not called before configure ---> no SCHED_FIFO etc | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Sami Farin <hvtaifwkbgefbaei> | ||||
Component: | ntp | Assignee: | Miroslav Lichvar <mlichvar> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Brian Brock <bbrock> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | Keywords: | Reopened | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-01-29 13:54:42 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Sami Farin
2006-06-15 22:02:24 UTC
Ok, thanks. The mlockall() call will be enabled in ntp-4.2.2-3. But I didn't found anything wrong with the sched_setscheduler, strace ntpd -N shows: sched_setscheduler(0, SCHED_FIFO, { 99 }) = 0 Can you provide more info? strace showed sched_setscheduler was not being called. This happened because I wasn't using -N option ;-O HAVE_SCHED_SETSCHEDULER is defined in config.h, after all... without calling automake etc. Fixed in ntp-4.2.2-3. Broken in 4.2.4-1, 4.2.4-3. No mlockall. Created attachment 146470 [details]
Do it the cruel way: define HAVE_MLOCKALL and include sys/mman.h
Since ntp-4.2.4 mlocking shouldn't be needed as ntpd uses SO_TIMESTAMP option for sockets. Or is there another reason why you need memory locked? Yes, refclock. Ok. Majority of users don't need the locking, so I will probably add an option to ntpd that will enable mlockall(). Will this solution be ok for you? Fine with me. Ok, ntpd in package ntp-4.2.4-4.fc7 has new option -m to enable memory locking. |