From: Wei Liu Subject: XSM: new set of "avc denied" Date: Mon, 25 May 2015 10:40:32 +0100 Message-ID: <20150525094032.GV19083@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Ywos8-0001ml-Qc for xen-devel@lists.xenproject.org; Mon, 25 May 2015 09:40:36 +0000 Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Daniel De Graaf , wei.liu2@citrix.com, Ian Campbell List-Id: xen-devel@lists.xenproject.org I had a look at Osstest's latest xen-unstable run [0]. With Ian's patch series we finally passed the point of guest creation on x86. We now have a new set of "avc denied". May 24 20:18:05.945118 (XEN) avc: denied { get_vnumainfo } for domid=1 scontext=system_u:system_r:domU_t tcontext=system_u:system_r:domU_t_self tclass=domain2 This is HVM loader trying to call get_vnumainfo May 24 20:28:50.593013 (XEN) avc: denied { logdirty } for domid=0 target=3 scontext=system_u:system_r:dom0_t tcontext=system_u:system_r:domU_t tclass=shadow May 24 20:29:20.721085 (XEN) avc: denied { disable } for domid=0 target=3 scontext=system_u:system_r:dom0_t tcontext=system_u:system_r:domU_t tclass=shadow May 24 20:29:20.737023 (XEN) avc: denied { disable } for domid=0 target=3 scontext=system_u:system_r:dom0_t tcontext=system_u:system_r:domU_t tclass=shadow The above failures made guest local migration test fail for both PV and HVM guests. May 24 14:36:47.541016 (XEN) avc: denied { writeconsole } for domid=1 scontext=system_u:system_r:domU_t tcontext=system_u:system_r:xen_t tclass=xen This is PV specific, I think it was due to PV guest was configured to write to console and XSM (rightfully?) rejected that. My guess is that HVM is not configured to write to console so I don't see that in HVM test cases. Wei. [0] http://logs.test-lab.xenproject.org/osstest/logs/57005/