Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Aug 2005 08:43:06 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/etc/rc.d jail
Message-ID:  <200508160843.j7G8h68q052437@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
pjd         2005-08-16 08:43:06 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    etc/rc.d             jail 
  Log:
  MFC:    etc/rc.d/jail   1.25
  
  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).
  
  Approved by:    re (kensmith)
  
  Revision  Changes    Path
  1.23.2.2  +4 -0      src/etc/rc.d/jail



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508160843.j7G8h68q052437>