Re: [chrony-users] Delaying postfix until chronyd gets the time |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Delaying postfix until chronyd gets the time
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Fri, 21 Apr 2017 14:35:06 +0200
- Authentication-results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=mlichvar@xxxxxxxxxx
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 4FDBDDB009
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 4FDBDDB009
On Fri, Apr 21, 2017 at 08:26:31AM -0400, Robert Moskowitz wrote:
> On 04/21/2017 06:21 AM, Miroslav Lichvar wrote:
> > However, you could force chronyd to ignore the RTC by setting
> > rtcdevice to a nonexistent device and always use the driftfile, e.g.
> >
> > rtcdevice /dev/doesnotexist
>
> Where do I get the command, rtcdevice? It is not on my system. Then how do
> I run it? Do I add an ExecStartPre= to the chronyd.service file?
It should be in chrony.conf. It specifies the path to the RTC device,
which is /dev/rtc by default.
> And do I create a /etc/sysconfig/chronyd with the single line:
>
> OPTIONS= -s
Yes. If there are multiple options, I think they need to be in double
quotes, e.g. OPTIONS="-s -4".
--
Miroslav Lichvar
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.