Displaying 2 results from an estimated 2 matches for "jail_set_hostname_allow".
2005 Dec 22
0
jails and sysctl in freebsd 6.0
....allow_raw_sockets: 1
security.jail.chflags_allowed: 0
security.jail.jailed: 0
The variable points to 1. You can't change the hostname
in jail (that's what I want). But booting OS hangs a little
if you put 'security.jail.set_hostname_allowed=0' to /etc/sysctl.conf.
If I put 'jail_set_hostname_allow="NO"' to /etc/rc.conf and remove it
from /etc/sysctl.conf it boots OK without delay and sysctl outputs the
correct value.
<mother-mail>[~]# uname -a
FreeBSD mother-mail.optima-telekom.hr 6.0-STABLE FreeBSD 6.0-STABLE #0:...
2006 Dec 19
3
/etc/rc.d/jail: losing IPs if jail_x_interface set and syntax error in jails /etc/rc?
...gured
the jail(s) like evry jail I set up in the past:
On the jail-hosts /etc/rc.conf:
# ---- Jail-Globals ----
jail_enable="YES" # Set to NO to disable starting of any jails
jail_list="ftp mx1 relay" # Space separated list of names of jails
jail_set_hostname_allow="NO" # Allow root user in a jail to change its hostname
jail_socket_unixiproute_only="YES" # Route only TCP/IP within a jail
jail_sysvipc_allow="NO" # allow SystemV IPC use from within a jail
# ---- Jail-Defaults ----
jail_interface=&q...