All of lore.kernel.org
 help / color / mirror / Atom feed
From: Syunsuke HAYASHI <syunsuke@jp.fujitsu.com>
To: xen-devel@lists.xensource.com
Subject: [XM] "xm labels type=any" command error ?
Date: Tue, 13 Nov 2007 14:59:53 +0900	[thread overview]
Message-ID: <47393D59.4030302@jp.fujitsu.com> (raw)

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

                 reply	other threads:[~2007-11-13  5:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47393D59.4030302@jp.fujitsu.com \
    --to=syunsuke@jp.fujitsu.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.