Alex Popa wrote:
man rc.conf
De aia avem documentatie! (pe 5.2.1 este, probabil va fi si pe 5.3)
Dl. Popa are dreptate. Am uitat de 'man rc.conf'.
Dar totusi, 'man rc.conf' este incomplet. Sau poate la d-voastra e altfel.
'man rc.conf' nu iti da informatii despre cum se setezi automat reguli
pt. devfs in jail de ex.
Ca sa lamurim complet problema, asta gasesti in /etc/defaults/rc.conf:
-----------------------------
##############################################################
### Jail Configuration #######################################
##############################################################
jail_enable="NO" # Set to NO to disable starting of any jails
jail_list="" # Space separated list of names of jails
jail_set_hostname_allow="YES" # 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_stop_jailer="NO" # Only stop jailer. Requires jail_*_exec be set
# to use sysutils/jailer port to start the jail.
#
# To use rc's built-in jail infrastructure create entries for
# each jail, specified in jail_list, with the following variables.
# NOTE: replace 'example' with the jail's name.
#
#jail_example_rootdir="/usr/jail/default" # Jail's root directory
#jail_example_hostname="default.domain.com" # Jail's hostname
#jail_example_ip="192.168.0.10" # Jail's IP number
#jail_example_exec="/bin/sh /etc/rc" # command to execute in jail
#jail_example_devfs_enable="NO" # mount devfs in the jail
#jail_example_fdescfs_enable="NO" # mount fdescfs in the jail
#jail_example_procfs_enable="NO" # mount procfs in jail
#jail_example_devfs_ruleset="123" # devfs ruleset to apply to jail
-----------------------------
Cred ca acum este suficient de clar cum si ce poti seta pt. un jail care
va fi initializat de catre scriptul /etc/rc.d/jail.
Sper ca acest mesaj multumeste pe toate lumea, inclusiv pe d-voastra Dle
Popa.
Cu stima,
--
Claudiu Dragalina-Paraipan
e-mail: dr.clau-aaj5L+LQ+kOvSplVBqRQBQ@xxxxxxxxxxxxxxxx
|