ntp: change location of drift file to /var/db/ntpd to fix EPERM issues.
This commit is contained in:
parent
67e3c293e4
commit
8dc5a449ac
3 changed files with 4 additions and 3 deletions
|
@ -14,6 +14,6 @@ restrict default nomodify nopeer
|
||||||
restrict 127.0.0.1
|
restrict 127.0.0.1
|
||||||
|
|
||||||
# Location of drift and log files
|
# Location of drift and log files
|
||||||
driftfile /var/db/ntpd.drift
|
driftfile /var/db/ntpd/drift
|
||||||
logfile /var/log/ntpd.log
|
logfile /var/log/ntpd.log
|
||||||
pidfile /var/run/ntpd.pid
|
pidfile /run/ntpd.pid
|
||||||
|
|
1
srcpkgs/ntp/files/ntpd.tmpfiles
Normal file
1
srcpkgs/ntp/files/ntpd.tmpfiles
Normal file
|
@ -0,0 +1 @@
|
||||||
|
d /var/db/ntpd 0755 ntpd ntpd
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'ntp'
|
# Template file for 'ntp'
|
||||||
pkgname=ntp
|
pkgname=ntp
|
||||||
version=4.2.6p5
|
version=4.2.6p5
|
||||||
revision=12
|
revision=13
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-crypto --enable-linuxcap --enable-ipv6 --with-lineeditlibs=readline"
|
configure_args="--with-crypto --enable-linuxcap --enable-ipv6 --with-lineeditlibs=readline"
|
||||||
hostmakedepends="bison perl-HTML-Parser"
|
hostmakedepends="bison perl-HTML-Parser"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue