About xm poart of XSM-FLASK
Hi,
I'm giving a try for XSM-FLASK, but I could not find its xm part in the xen-unstable tree. When I tried to create a guest with FLASK enabled, xm showed the following error and xend had its detail in xend.log:
# xm create /etc/xen/guest3_pv Internal error: 'security_label'.
In /var/log/xen/xend.log,
[2008-11-17 18:27:04 4269] ERROR (XendDomainInfo:470) VM start failed Traceback (most recent call last):
File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 449, in start
XendTask.log_progress(0, 30, self._constructDomain)
File "//usr/lib/python/xen/xend/XendTask.py", line 209, in log_progress
retval = func(*args, **kwds)
File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 2084, in_constructDomain
ssidref = security.calc_dom_ssidref_from_info(self.info)
File "//usr/lib/python/xen/util/xsm/flask/flask.py", line 34, incalc_dom_ssidref_from_info
ssidref = label2ssidref(info['security_label'], "", "")
KeyError: 'security_label'
Obviously, xend requires a security_label through Xen-API. Then I tried to find some codes in xm that handle security_label, but I had no luck.
Am I totally incorrect?
Is there a way to bring up a guest with a FLASK's security_label assinged? And I'd be happy if someone tells me where any document on FLASK is, since I don't find one in either the xen-unstable tree or the Xen wiki.
Regards,
Hiroya