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@lists.xensource.com http://lists.xensource.com/xen-devel
> Message: 3 > Date: Mon, 04 Sep 2006 16:00:06 +0900 > From: Masaki Kanno <kanno.masaki@jp.fujitsu.com> > Subject: [Xen-devel] Question about ACMError > To: xen-devel@lists.xensource.com > Message-ID: <F4C6CFEFC0DBDFkanno.masaki@jp.fujitsu.com> > Content-Type: text/plain; charset=us-ascii > > 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, > KanHi Kan, I will fix this :-) Catching the exception is ok, but exiting without error code is not. Thanks! Reiner __________________________________________________________ Reiner Sailer, Research Staff Member, Secure Systems Department IBM T J Watson Research Ctr, 19 Skyline Drive, Hawthorne NY 10532 Phone: 914 784 6280 (t/l 863) Fax: 914 784 6205, sailer@us.ibm.com http://www.research.ibm.com/people/s/sailer/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
>> Message: 3 >> Date: Mon, 04 Sep 2006 16:00:06 +0900 >> From: Masaki Kanno <kanno.masaki@jp.fujitsu.com> >> Subject: [Xen-devel] Question about ACMError >> To: xen-devel@lists.xensource.com >> Message-ID: <F4C6CFEFC0DBDFkanno.masaki@jp.fujitsu.com> >> Content-Type: text/plain; charset=us-ascii >> >> 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 > >Hi Kan, > >I will fix this :-) > >Catching the exception is ok, but exiting without error code is not.Hi Reiner, Thanks. I hope that these problems are solved by you. Best regards, Kan> >Thanks! >Reiner >__________________________________________________________ >Reiner Sailer, Research Staff Member, Secure Systems Department >IBM T J Watson Research Ctr, 19 Skyline Drive, Hawthorne NY 10532 >Phone: 914 784 6280 (t/l 863) Fax: 914 784 6205, sailer@us.ibm.com >http://www.research.ibm.com/people/s/sailer/_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Possibly Parallel Threads
- [PATCH] Fix xm vcpu-pin command
- [PATCH] Fix argument check of xm reboot command (3)
- [Xen-ia64-devel] [PATCH][RFC] Fix error message for xm create command
- [PATCH] ACM: adding C-support for policy translation and labeling support for domains
- Many same managed domain