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] [XM] "xm labels type=any" command error ?

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [XM] "xm labels type=any" command error ?
From: Syunsuke HAYASHI <syunsuke@xxxxxxxxxxxxxx>
Date: Tue, 13 Nov 2007 14:59:53 +0900
Delivery-date: Mon, 12 Nov 2007 22:00:44 -0800
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
User-agent: Thunderbird 2.0.0.5 (Windows/20070716)
Hi,

When xen-api is not effective and "xm labels type=any" command is input,
the output is wrong.
(Xen-api is correctly output when it is effective. )

Which result is correct?


The result is shown as follows.
--------When xen-api is not effective-------
# xm labels type=any
__NULL_LABEL__ <--------__NULL_LABEL__??
dom_BoincClient
dom_Fun
dom_HomeBanking
dom_NetworkDomain
dom_StorageDomain
dom_SystemManagement
res_EthernetCard
res_GraphicsAdapter
res_HardDrive(hda)
res_ImageFile1
res_ImageFile2
res_LogicalDiskPartition1(hda1)
res_LogicalDiskPartition2(hda2)
res_ManagementResource

--------When xen-api is not effective-------
# xm labels type=any
dom_BoincClient
dom_Fun
dom_HomeBanking
dom_NetworkDomain
dom_StorageDomain
dom_SystemManagement
res_EthernetCard
res_GraphicsAdapter
res_HardDrive(hda)
res_ImageFile1
res_ImageFile2
res_LogicalDiskPartition1(hda1)
res_LogicalDiskPartition2(hda2)
res_ManagementResource
-------------------------------------------

#cat /etc/xen/acm-security/policies/example/client_v1.map
POLICYREFERENCENAME    example.client_v1
MAGIC                  0001debc
POLICFILE
/etc/xen/acm-security/policies/example/client_v1-security_policy.xml
BINARYFILE             /etc/xen/acm-security/policies/example/client_v1.bin
MAX-CHWALL-TYPES       00000004
MAX-CHWALL-SSIDS       00000007
MAX-CHWALL-LABELS      00000007
MAX-STE-TYPES          00000006
MAX-STE-SSIDS          0000000f
MAX-STE-LABELS         0000000f

PRIMARY                CHWALL
SECONDARY              STE

LABEL->SSID ANY CHWALL __NULL_LABEL__       0 <------------
LABEL->SSID VM  CHWALL dom_SystemManagement 1
LABEL->SSID VM  CHWALL dom_BoincClient      2
LABEL->SSID VM  CHWALL dom_Fun              3
LABEL->SSID VM  CHWALL dom_HomeBanking      4
LABEL->SSID VM  CHWALL dom_NetworkDomain    5
LABEL->SSID VM  CHWALL dom_StorageDomain    6

LABEL->SSID ANY STE    __NULL_LABEL__       00000000 <------------
LABEL->SSID VM  STE    dom_SystemManagement 1
LABEL->SSID VM  STE    dom_BoincClient      2
LABEL->SSID VM  STE    dom_Fun              3
LABEL->SSID VM  STE    dom_HomeBanking      4
LABEL->SSID VM  STE    dom_NetworkDomain    5
LABEL->SSID VM  STE    dom_StorageDomain    6
LABEL->SSID RES STE    res_EthernetCard     7
LABEL->SSID RES STE    res_GraphicsAdapter  8
LABEL->SSID RES STE    res_HardDrive(hda)   9
LABEL->SSID RES STE    res_ImageFile1       a
LABEL->SSID RES STE    res_ImageFile2       b
LABEL->SSID RES STE    res_LogicalDiskPartition1(hda1) c
LABEL->SSID RES STE    res_LogicalDiskPartition2(hda2) d
LABEL->SSID RES STE    res_ManagementResource e

SSID->TYPE CHWALL      00000000
SSID->TYPE CHWALL      00000001 cw_SystemManagement
SSID->TYPE CHWALL      00000002 cw_Isolated
SSID->TYPE CHWALL      00000003 cw_Distrusted
SSID->TYPE CHWALL      00000004 cw_Sensitive
SSID->TYPE CHWALL      00000005 cw_SystemManagement
SSID->TYPE CHWALL      00000006 cw_SystemManagement

SSID->TYPE STE         00000000
SSID->TYPE STE         00000001 ste_SystemManagement
ste_PersonalFinances ste_InternetInsecure ste_DonatedCycles
ste_PersistentStorageA ste_NetworkAdapter0
SSID->TYPE STE         00000002 ste_DonatedCycles
SSID->TYPE STE         00000003 ste_InternetInsecure
SSID->TYPE STE         00000004 ste_PersonalFinances
SSID->TYPE STE         00000005 ste_NetworkAdapter0 ste_PersonalFinances
ste_InternetInsecure ste_DonatedCycles
SSID->TYPE STE         00000006 ste_PersistentStorageA
ste_PersonalFinances ste_InternetInsecure
SSID->TYPE STE         00000007 ste_NetworkAdapter0
SSID->TYPE STE         00000008 ste_SystemManagement
SSID->TYPE STE         00000009 ste_PersistentStorageA
SSID->TYPE STE         0000000a ste_PersonalFinances
SSID->TYPE STE         0000000b ste_InternetInsecure
SSID->TYPE STE         0000000c ste_PersonalFinances
SSID->TYPE STE         0000000d ste_InternetInsecure
SSID->TYPE STE         0000000e ste_SystemManagement

TYPE CHWALL            cw_Distrusted        0
TYPE CHWALL            cw_Isolated          1
TYPE CHWALL            cw_Sensitive         2
TYPE CHWALL            cw_SystemManagement  3

TYPE STE               ste_DonatedCycles    0
TYPE STE               ste_InternetInsecure 1
TYPE STE               ste_NetworkAdapter0  2
TYPE STE               ste_PersistentStorageA 3
TYPE STE               ste_PersonalFinances 4
TYPE STE               ste_SystemManagement 5

Thanks,

Syunsuke HAYASHI




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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [XM] "xm labels type=any" command error ?, Syunsuke HAYASHI <=