<svc>_svcj_options="settime" enables the jail allow.settime privilege,
which allows to set and slew the system clock. this allows NTP daemons
to run in a service jail.
Details
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
The kernel side (PRIV) of this patch is missing (compared to to the github pull request).
The svcj part is OK.
because you can't put multiple commits in one Phabricator diff, i submitted the kernel patch as a parent diff: https://reviews.freebsd.org/D49846
share/man/man5/rc.conf.5 | ||
---|---|---|
5013 | Is it supposed to be skew? |
share/man/man5/rc.conf.5 | ||
---|---|---|
5013 | no, i intended to write 'slew' as this is the common NTP term for slowly adjusting a monotonic clock. but i don't mind changing it to "skew" if this is preferred (i feel like this is less accurate though). |
share/man/man5/rc.conf.5 | ||
---|---|---|
5013 | In that case, maybe a Roff comment above this line explaining that for the next person who thinks it's a typo? |
share/man/man5/rc.conf.5 | ||
---|---|---|
5013 | Slew means to adjust the phase error slowly over time while maintaining mobotonicity . It's a general time keeping term that NTP uses, but so does PTP and all the time keeping programs. |
adding kevans, des (mentors) to review. i am ready to land this but would appreciate approval from (at least) jamie@ and ziaee@ first.
The slew vs skew was my ignorance about timekeeping. My suggestion to comment that slew is correct so people in the future won't think it's a typo was incorrect. Please excuse my mistake.