WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Question about ACMError

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Question about ACMError
From: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Date: Mon, 04 Sep 2006 16:00:06 +0900
Delivery-date: Mon, 04 Sep 2006 00:01:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>