diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2011-01-25 20:16:15 +0000 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2011-01-25 20:16:15 +0000 |
| commit | 30547451e168fda9c9383dee39b1ec72468d0003 (patch) | |
| tree | 02155c814f2065eecd9166f27c69c3357bf41c54 /man7 | |
| parent | 8172a352e768a261091dccb0e2b1fc5a19482a7f (diff) | |
Several clarifications added to man pages
Diffstat (limited to 'man7')
| -rw-r--r-- | man7/ezjail.7 | 64 |
1 files changed, 34 insertions, 30 deletions
diff --git a/man7/ezjail.7 b/man7/ezjail.7 index 8b3b2fb..03f11c5 100644 --- a/man7/ezjail.7 +++ b/man7/ezjail.7 | |||
| @@ -352,46 +352,50 @@ librairies, you may want to remove the old library versions. It is | |||
| 352 | often a good idea to update the jails when a new kernel is installed | 352 | often a good idea to update the jails when a new kernel is installed |
| 353 | in the host, using the same sources. | 353 | in the host, using the same sources. |
| 354 | .Ss Starting Jails | 354 | .Ss Starting Jails |
| 355 | The ezjail script | 355 | Like all |
| 356 | .Xr rc 8 | ||
| 357 | scripts, the ezjail script | ||
| 356 | .Pa EZJAIL_PREFIX/etc/rc.d/ezjail.sh | 358 | .Pa EZJAIL_PREFIX/etc/rc.d/ezjail.sh |
| 357 | takes parameters | 359 | accepts parameters |
| 358 | .Cm start , startcrypto , restart | 360 | .Cm start , restart No and Cm stop, No running, restarting and stopping |
| 359 | and | 361 | all (non-blocking) jails under ezjail's control by default. When passed an |
| 360 | .Cm stop . | 362 | additional list of jails, only these jails are acted upon. |
| 361 | It may be passed an additional list of jails. If no jail name is | ||
| 362 | specified (usually when the script is called by the rc system at boot | ||
| 363 | and shutdown time), all jails in ezjail's scope, except crypto image | ||
| 364 | jails (or jails marked as blocking), are started/stopped. To start all | ||
| 365 | crypto image jails (or those depending on them), use the | ||
| 366 | .Cm startcrypto | ||
| 367 | parameter. | ||
| 368 | .Pp | 363 | .Pp |
| 369 | The | 364 | The order in which jails are started is determined by the |
| 370 | .Nm Cm start | 365 | .Xr rcorder 8 |
| 371 | command provides the same functionnality. | 366 | tool, using cues from the jail configurations in ezjails |
| 367 | .Pa EZJAIL_PREFIX/etc/ezjail | ||
| 368 | control directory. | ||
| 372 | .Pp | 369 | .Pp |
| 373 | The script examines its config, attaches and mounts images, and sets | 370 | The script examines its config, attaches and mounts images, and sets |
| 374 | variables for each jail in the jail_list before passing its command on | 371 | variables for each jail in the list before passing its command on |
| 375 | to the | 372 | to the |
| 376 | .Pa /etc/rc.d/jail | 373 | .Pa /etc/rc.d/jail |
| 377 | script. | 374 | script. |
| 378 | .Pp | 375 | .Pp |
| 379 | .Cm ezjail.sh | 376 | To interactively start all crypto image jails (or those depending on |
| 380 | enforces the execution of \fB/etc/rc.d/jail\fR, by prepending | 377 | them), that were not automatically started during booting, use the |
| 381 | .Em one | 378 | .Cm startcrypto |
| 382 | to the start, restart, and stop commands so it is | 379 | parameter. |
| 383 | .Em NOT NECESSARY | 380 | .Pp |
| 384 | to set | 381 | Note that jails configured to be in the |
| 385 | .Dq Li $jail_enable | ||
| 386 | in the | ||
| 387 | .Xr /etc/rc.conf 5 | ||
| 388 | config file. | ||
| 389 | .Pp | ||
| 390 | It is possible to set jails as either | ||
| 391 | .Em norun | 382 | .Em norun |
| 392 | (using | 383 | state (using |
| 393 | .Nm Cm config Fl r Ar norun Ar jailname ) | 384 | .Nm Cm config Fl r Ar norun Ar jailname ) |
| 394 | or as blocking | 385 | are never started by the ezjail.sh script. |
| 386 | .Pp | ||
| 387 | As a convenient shortcut, the | ||
| 388 | .Nm Cm | ||
| 389 | command invokes the rc.d script and passes the corresponding parameters, | ||
| 390 | if they look like valid parameters. | ||
| 391 | .Pp | ||
| 392 | Even if ezjail is not enabled in the | ||
| 393 | .Xr rc.conf 5 , | ||
| 394 | ezjail.sh can be used to start and stop jails by prepending | ||
| 395 | .Cm force No or Cm one No to the Cm start, restart No or Cm stop No parameter. | ||
| 396 | Refer to | ||
| 397 | .Xr rc 8 | ||
| 398 | for details. | ||
| 395 | .Ss Remarks & Tips | 399 | .Ss Remarks & Tips |
| 396 | Jails can be either accessed from the network, for instance by using | 400 | Jails can be either accessed from the network, for instance by using |
| 397 | .Xr ssh 1 , | 401 | .Xr ssh 1 , |
