Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153242460
D7465.id19191.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D7465.id19191.diff
View Options
Index: etc/defaults/rc.conf
===================================================================
--- etc/defaults/rc.conf
+++ etc/defaults/rc.conf
@@ -695,6 +695,7 @@
### Jail Configuration (see rc.conf(5) manual page) ##########
##############################################################
jail_enable="NO" # Set to NO to disable starting of any jails
+jail_confwarn="YES" # Prevent warning about obsolete per-jail configuration
jail_parallel_start="NO" # Start jails in the background
jail_list="" # Space separated list of names of jails
jail_reverse_stop="NO" # Stop jails in reverse order
Index: etc/rc.d/jail
===================================================================
--- etc/rc.d/jail
+++ etc/rc.d/jail
@@ -147,7 +147,8 @@
#
# To relieve confusion, show a warning message.
#
- _confwarn=1
+ : ${jail_confwarn:=YES}
+ checkyesno jail_confwarn && _confwarn=1
if [ -r "$jail_conf" -o -r "$_jconf" ]; then
if ! checkyesno jail_parallel_start; then
warn "$_conf is created and used for jail $_j."
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 21, 12:39 AM (12 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31875223
Default Alt Text
D7465.id19191.diff (1 KB)
Attached To
Mode
D7465: Make warning configurable for obsolete per-jail configuration
Attached
Detach File
Event Timeline
Log In to Comment