From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sukadev Bhattiprolu Subject: --freezer option to /bin/restart Date: Sat, 27 Mar 2010 12:14:53 -0700 Message-ID: <20100327191453.GA1533@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Oren Laadan Cc: Containers List-Id: containers.vger.kernel.org The help message for --freezer=CGROUP option says: freeze tasks in freezer group CGROUP on success and if this option specifies an existing cgroup, then (and only then) is the RESTART_FROZEN flag to sys_restart() set. Does the --freezer option have to specify an existing cgroup ? Is there a way to specify that the restarted application belong to a new (yet-to-be created) cgroup AND to leave the application FROZEN after restart ? Or would we need a new command line option and field in 'struct app_restart_args' to specify this ? Thanks, Sukadev