- 追加された行はこの色です。
- 削除された行はこの色です。
#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
効果無し。相変わらずエラー
* freebsd-update: Cannot upgrade from 9.3-RELEASE to itself [#d9b8fd33]
root@blackhole:~ # freebsd-update -r 9.3-RELEASE upgrade
freebsd-update: Cannot upgrade from 9.3-RELEASE to itself
# setenv UNAME_r 9.2-RELEASE
root@blackhole:~ # uname -a
FreeBSD blackhole.smb.net 9.2-RELEASE FreeBSD 9.3-RELEASE-p24 #0: Sat Aug 22 01:54:44 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
root@blackhole:~ # freebsd-update -r 9.3-RELEASE upgrade
Looking up update.FreeBSD.org mirrors... none found.
Fetching metadata signature for 9.2-RELEASE from update.FreeBSD.org... done.
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 2 metadata files... done.
Inspecting system... done.
The following components of FreeBSD seem to be installed:
kernel/generic world/base world/games world/lib32
The following components of FreeBSD do not seem to be installed:
src/src world/doc
Does this look reasonable (y/n)? y
FreeBSD blackhole.smb.net 9.3-RELEASE-p24 FreeBSD 9.3-RELEASE-p24 #0: Sat Aug 22 01:54:44 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
root@blackhole:~ # 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)
これも効果無し。相変わらずエラー
*ntpに修正が入った模様 2015年11月5日 [#t56290b3]
The following files will be updated as part of updating to 9.3-RELEASE-p30:
/boot/kernel/cd9660.ko
/boot/kernel/cd9660.ko.symbols
/boot/kernel/coda.ko
/boot/kernel/coda.ko.symbols
/boot/kernel/coda5.ko
/boot/kernel/coda5.ko.symbols
/boot/kernel/ext2fs.ko
/boot/kernel/ext2fs.ko.symbols
/boot/kernel/fdescfs.ko
/boot/kernel/fdescfs.ko.symbols
/boot/kernel/kernel
/boot/kernel/kernel.symbols
/boot/kernel/linux.ko
/boot/kernel/linux.ko.symbols
/boot/kernel/mqueuefs.ko
/boot/kernel/mqueuefs.ko.symbols
/boot/kernel/msdosfs.ko
/boot/kernel/msdosfs.ko.symbols
/boot/kernel/nfscl.ko
/boot/kernel/nfscl.ko.symbols
/boot/kernel/nfsclient.ko
/boot/kernel/nfsclient.ko.symbols
/boot/kernel/nfsserver.ko
/boot/kernel/nfsserver.ko.symbols
/boot/kernel/ntfs.ko
/boot/kernel/ntfs.ko.symbols
/boot/kernel/nullfs.ko
/boot/kernel/nullfs.ko.symbols
/boot/kernel/portalfs.ko
/boot/kernel/portalfs.ko.symbols
/boot/kernel/pseudofs.ko
/boot/kernel/pseudofs.ko.symbols
/boot/kernel/reiserfs.ko
/boot/kernel/reiserfs.ko.symbols
/boot/kernel/smbfs.ko
/boot/kernel/smbfs.ko.symbols
/boot/kernel/tmpfs.ko
/boot/kernel/tmpfs.ko.symbols
/boot/kernel/udf.ko
/boot/kernel/udf.ko.symbols
/boot/kernel/ufs.ko
/boot/kernel/ufs.ko.symbols
/boot/kernel/unionfs.ko
/boot/kernel/unionfs.ko.symbols
/boot/kernel/xfs.ko
/boot/kernel/xfs.ko.symbols
/boot/kernel/zfs.ko
/boot/kernel/zfs.ko.symbols
/usr/bin/ntpq
/usr/include/sys/vnode.h
/usr/sbin/ntpd
/usr/sbin/ntpdc
/usr/src/sys/conf/newvers.sh
/usr/src/sys/sys/vnode.h
/usr/src/sys/vm/vm_map.c
/usr/src/usr.sbin/ntp/config.h
/usr/src/usr.sbin/ntp/ntpdc/Makefile
/usr/src/usr.sbin/ntp/ntpq/Makefile
Installing updates... done.
root@hotshot:~ # ntpq
ntpq> exit
なおた。
*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]);