svn commit: r368509 - in stable/12: share/man/man5 usr.sbin/periodic

Gordon Bergling gbe at FreeBSD.org
Thu Dec 10 10:00:44 UTC 2020


Author: gbe (doc committer)
Date: Thu Dec 10 10:00:43 2020
New Revision: 368509
URL: https://svnweb.freebsd.org/changeset/base/368509

Log:
  MFC r365508 (by rew):
  
  periodic.conf(5): don't truncate interface names reported by 420.status-network.
  
  The daily periodic script, 420.status-network uses netstat(1) to report
  interface status. By default, netstat(1) truncates interface names.
  
  Add the '-W' flag (avoid truncating interface names) as the default for
  'daily_status_network_netstat_flags' in periodic.conf(5).
  
  The default 420.status-network command is now 'netstat -i -d -W -n'.
  
  PR:		163572
  Reported by:	kes-kes at yandex.ru
  Reviewed by:	allanjude (mentor), bcr (manpages)
  Approved by:	allanjude (mentor)
  Differential Revision:	https://reviews.freebsd.org/D26023

Modified:
  stable/12/share/man/man5/periodic.conf.5
  stable/12/usr.sbin/periodic/periodic.conf
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/share/man/man5/periodic.conf.5
==============================================================================
--- stable/12/share/man/man5/periodic.conf.5	Thu Dec 10 09:57:18 2020	(r368508)
+++ stable/12/share/man/man5/periodic.conf.5	Thu Dec 10 10:00:43 2020	(r368509)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd June 16, 2020
+.Dd September 9, 2020
 .Dt PERIODIC.CONF 5
 .Os
 .Sh NAME
@@ -439,7 +439,7 @@ utility when
 is set to
 .Dq Li YES .
 The default is
-.Fl d .
+.Fl d W .
 .It Va daily_status_network_usedns
 .Pq Vt bool
 Set to

Modified: stable/12/usr.sbin/periodic/periodic.conf
==============================================================================
--- stable/12/usr.sbin/periodic/periodic.conf	Thu Dec 10 09:57:18 2020	(r368508)
+++ stable/12/usr.sbin/periodic/periodic.conf	Thu Dec 10 10:00:43 2020	(r368509)
@@ -123,7 +123,7 @@ daily_status_mfi_enable="NO"				# Check mfiutil(8)
 # 420.status-network
 daily_status_network_enable="YES"			# Check network status
 daily_status_network_usedns="YES"			# DNS lookups are ok
-daily_status_network_netstat_flags="-d"			# netstat(1) flags
+daily_status_network_netstat_flags="-d -W"		# netstat(1) flags
 
 # 430.status-uptime
 daily_status_uptime_enable="YES"			# Check system uptime


More information about the svn-src-all mailing list