From: Miroslav Lichvar Date: Thu, 7 Jun 2018 14:54:59 +0000 (+0200) Subject: configure: move default pidfile to /var/run/chrony X-Git-Tag: 3.4-pre1~87 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e50dc739d88feca6e0da034406034f3d3cf60ca4;p=thirdparty%2Fchrony.git configure: move default pidfile to /var/run/chrony This allows chronyd to remove its pidfile on exit after dropping the root privileges in order to prevent another chronyd instance from failing to start, e.g. due to a wrong SELinux label from chronyd -q. --- diff --git a/configure b/configure index 25773dee..c5de5ea4 100755 --- a/configure +++ b/configure @@ -108,7 +108,7 @@ For better control, use the options below. since 1970-01-01 [50*365 days ago] --with-user=USER Specify default chronyd user [root] --with-hwclockfile=PATH Specify default path to hwclock(8) adjtime file - --with-pidfile=PATH Specify default pidfile [/var/run/chronyd.pid] + --with-pidfile=PATH Specify default pidfile [/var/run/chrony/chronyd.pid] --with-rtcdevice=PATH Specify default path to RTC device [/dev/rtc] --with-sendmail=PATH Path to sendmail binary [/usr/lib/sendmail] --enable-debug Enable debugging support @@ -229,7 +229,7 @@ feat_ntp_signd=0 ntp_era_split="" default_user="root" default_hwclockfile="" -default_pidfile="/var/run/chronyd.pid" +default_pidfile="/var/run/chrony/chronyd.pid" default_rtcdevice="/dev/rtc" mail_program="/usr/lib/sendmail"