From: Masaki Kanno Subject: Question about ACMError Date: Mon, 04 Sep 2006 16:00:06 +0900 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi all, Could you teach me about the behavior of xm commands when 'ACMError' occurred? I am testing the behavior of xm commands with wrong arguments. When I tested xm commands related to security (xm *label/*policy), I found that some of them. - return 0, - show ACMError's Traceback messages. Are these results specifications or bugs? Example: # xm cfgbootpolicy xyz ACMError: Illegal policy name 'xyz' # echo $? 0 # xm addlabel xyz dom acm-test1.conf ACMError: No active policy. Policy must be specified in command line. Traceback (most recent call last): File "//usr/lib/python/xen/xm/addlabel.py", line 129, in main security.err("No active policy. Policy must be specified in command line.") ACMError: 'No active policy. Policy must be specified in command line.' # echo $? 0 Best regards, Kan