Re: svn commit: r337624 - in head: etc sbin/sysctl

2018-08-15 Thread John Baldwin
On 8/11/18 2:28 PM, Brad Davis wrote:
> Author: brd
> Date: Sat Aug 11 13:28:03 2018
> New Revision: 337624
> URL: https://svnweb.freebsd.org/changeset/base/337624
> 
> Log:
>   Move sysctl.conf to sbin/sysctl/ and switch to CONFS.
>   
>   This helps with pkgbase to tag this config file as a config file.
>   
>   Approved by:allanjude (mentor), will (mentor)
>   Differential Revision:  https://reviews.freebsd.org/D16559

This one is kind of odd because sysctl itself doesn't natively use it,
instead /etc/rc.d/sysctl does.

-- 
John Baldwin
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r337624 - in head: etc sbin/sysctl

2018-08-11 Thread Brad Davis
Author: brd
Date: Sat Aug 11 13:28:03 2018
New Revision: 337624
URL: https://svnweb.freebsd.org/changeset/base/337624

Log:
  Move sysctl.conf to sbin/sysctl/ and switch to CONFS.
  
  This helps with pkgbase to tag this config file as a config file.
  
  Approved by:  allanjude (mentor), will (mentor)
  Differential Revision:https://reviews.freebsd.org/D16559

Added:
  head/sbin/sysctl/sysctl.conf
 - copied unchanged from r337623, head/etc/sysctl.conf
Deleted:
  head/etc/sysctl.conf
Modified:
  head/etc/Makefile
  head/sbin/sysctl/Makefile

Modified: head/etc/Makefile
==
--- head/etc/Makefile   Sat Aug 11 13:25:39 2018(r337623)
+++ head/etc/Makefile   Sat Aug 11 13:28:03 2018(r337624)
@@ -41,7 +41,6 @@ BIN1= crontab \
remote \
rpc \
services \
-   sysctl.conf \
syslog.conf \
termcap.small
 

Modified: head/sbin/sysctl/Makefile
==
--- head/sbin/sysctl/Makefile   Sat Aug 11 13:25:39 2018(r337623)
+++ head/sbin/sysctl/Makefile   Sat Aug 11 13:28:03 2018(r337624)
@@ -2,6 +2,7 @@
 # $FreeBSD$
 
 PACKAGE=runtime
+CONFS= sysctl.conf
 PROG=  sysctl
 WARNS?=3
 MAN=   sysctl.8

Copied: head/sbin/sysctl/sysctl.conf (from r337623, head/etc/sysctl.conf)
==
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/sbin/sysctl/sysctl.confSat Aug 11 13:28:03 2018
(r337624, copy of r337623, head/etc/sysctl.conf)
@@ -0,0 +1,9 @@
+# $FreeBSD$
+#
+#  This file is read when going to multi-user and its contents piped thru
+#  ``sysctl'' to adjust kernel values.  ``man 5 sysctl.conf'' for details.
+#
+
+# Uncomment this to prevent users from seeing information about processes that
+# are being run under another UID.
+#security.bsd.see_other_uids=0
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"