cvs commit: src/etc/rc.d jail

Pawel Jakub Dawidek pjd at FreeBSD.org
Sun Aug 7 23:43:59 GMT 2005


pjd         2005-08-07 23:19:02 UTC

  FreeBSD src repository

  Modified files:
    etc/rc.d             jail 
  Log:
  Skip jails which are already running and inform why.
  We're checking for /var/run/jail_<name>.id file and if it exists, we don't
  start the jail. It should be also safe in case of reboot(8), because
  rc.d/cleanvar script is going to remove /var/run/jail_* files.
  
  It helps to avoid potential mess when the same jail is started twice,
  because of an administrator mistake (been there, done that).
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.25      +4 -0      src/etc/rc.d/jail


More information about the cvs-src mailing list