- 追加された行はこの色です。
- 削除された行はこの色です。
#author("2021-06-14T10:13:18+09:00","default:kuji","kuji")
CONTENTS
#contents
----
Lastmodified &lastmod;
----
*ntp [#v5e83a6f]
*ntp (Base System) [#z162c36f]
FreeBSD 13.0-R にUPしたら、NTP回りが・・・
FreeBSD 9.3-RELEASE-p24
https://www.facebook.com/groups/freebsd.labo.japan/permalink/2493192240752658/
[[freebsd-update 2015 10 27]]した後から、piano2nd security run output が
上記の作業だけだとntpdが動かないことがあるのでpwd_mkdbとchown実行すればntpdが動きます
# pwd_mkdb -p /etc/master.passwd
# chown ntpd:ntpd /var/db/ntp/{ntpd.drift,ntpd.pid}
piano2nd kernel log messages:
+++ /tmp/security.jC55ehC2 2015-10-30 03:09:25.000000000 +0900
+pid 35812 (ntpq), uid 65534: exited on signal 6
+pid 35819 (ntpq), uid 65534: exited on signal 6
+pid 35900 (ntpq), uid 65534: exited on signal 6
+pid 35902 (ntpq), uid 65534: exited on signal 6
+pid 35919 (ntpq), uid 65534: exited on signal 6
+pid 35922 (ntpdc), uid 65534: exited on signal 6
+pid 36005 (ntpq), uid 65534: exited on signal 6
pwd_mkdb -p /etc/master.passwd && chown ntpd:ntpd /var/db/ntp/{ntpd.drift,ntpd.pid}
portinstall net/ntp してみる。
Installing ntp-4.2.8p4...
===> SECURITY REPORT:
This port has installed the following files which may act as network
servers and may therefore pose a remote security risk to the system.
/usr/local/sbin/ntpdate
/usr/local/sbin/sntp
/usr/local/sbin/ntpd
If there are vulnerabilities in these programs there may be a security
risk to the system. FreeBSD makes no guarantee about the security of
ports included in the Ports Collection. Please type 'make deinstall'
to deinstall the port if this is a concern.
For more information, and contact details about the security
status of this software, see the following webpage:
http://www.ntp.org/
===> Cleaning for libevent2-2.0.22_1
===> Cleaning for ntp-4.2.8p4
*portinstall net/ntp [#q700018a]
root@hotshot:/usr/src/usr.sbin # ntpq
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/lib/isc/unix/net.c:221: fatal error: RUNTIME_CHECK(((pthread_once((&once), (initialize_action)) == 0) ? 0 : 34) == 0) failed
Abort (core dumped)
1020 5:51 ntpq
1029 6:16 cd /usr/src/usr.sbin/
1031 6:18 tar cvfzp ntp_2151027.tar.gz ntp/
1041 6:27 cd /usr/src/contrib
1043 6:28 tar cvfzp ntp_20151027.tar.gz ntp
*MUNIN de Watch [#p382ee82]
munin-node-configure -suggest
munin-node-configure --shell | sh
----
Total access &counter(total);:本日 &counter(today);:昨日 &counter(yesterday);
#counter([total|today|yesterday]);