[PC-BSD Commits] r15654 - pcbsd/current/src-qt4/warden/bin

svn at pcbsd.org svn at pcbsd.org
Wed Feb 29 09:53:32 PST 2012


Author: kris
Date: 2012-02-29 17:53:31 +0000 (Wed, 29 Feb 2012)
New Revision: 15654

Modified:
   pcbsd/current/src-qt4/warden/bin/warden
Log:

Make sure we remove cleartmp when doing portjail



Modified: pcbsd/current/src-qt4/warden/bin/warden
===================================================================
--- pcbsd/current/src-qt4/warden/bin/warden	2012-02-29 17:48:29 UTC (rev 15653)
+++ pcbsd/current/src-qt4/warden/bin/warden	2012-02-29 17:53:31 UTC (rev 15654)
@@ -387,6 +387,9 @@
     		       rm ${JDIR}/${IP}/etc/${file} >/dev/null 2>&1
                        cp /etc/${file} ${JDIR}/${IP}/etc/${file}
                      done
+		     # Make sure we remove our cleartmp rc.d script, causes issues
+                     [ -e "${JDIR}/${IP}/etc/rc.d/cleartmp" ] && rm ${JDIR}/${IP}/etc/rc.d/cleartmp
+		     # Flag this type
 		     touch ${JDIR}/${IP}/etc/.wardenxjail
                      ;;
 	   standard) rm ${JDIR}/${IP}/etc/.wardenxjail >/dev/null 2>/dev/null ;;



More information about the Commits mailing list