From: "Vasilis Liaskovitis" Subject: [RFC] removing proc-xen.mount due to systemd change Date: Mon, 02 Oct 2017 11:21:30 +0200 Message-ID: <59D2051A02000072001E7B87@smtp.nue.novell.com> References: <59D2051A02000072001E7B87@smtp.nue.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__PartECD46A0A.0__=" Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dywut-0003jh-9f for xen-devel@lists.xenproject.org; Mon, 02 Oct 2017 09:21:35 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: xen-devel@lists.xenproject.org Cc: Juergen Gross , Franck Bui List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__PartECD46A0A.0__= Content-Type: multipart/alternative; boundary="=__PartECD46A0A.1__=" --=__PartECD46A0A.1__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hello, It is possible for systemd services to check for dom0 detection before = xenfs gets mounted by proc-xen.mount. See this systemd bug report for an = example: https://github.com/systemd/systemd/issues/6442 Upstream systemd has accepted the patch for this: https://github.com/system= d/systemd/pull/6662, which mounts xenfs at systemd init time i.e. making /proc/xen an API file. However the issue now is that proc-xen.mount will refuse to mount = /proc/xen as it an API file system, and the service will fail. This breaks = xen, as other services depending on proc-xen.mount also fail. What is the preferred way to deal with this in upstream xen? - We can remove proc-xen.mount completely, for systems using systemd. - any other options? thank you, - Vasilis --=__PartECD46A0A.1__= Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Description: HTML =0Abody p =0A{ =0A margin: 0px; =0A}=0A

It is possible for systemd services to check for dom0 = detection before xenfs gets mounted by proc-xen.mount. See this systemd = bug report for an example:

Upstream systemd has accepted the patch for = this: https://gith= ub.com/systemd/systemd/pull/6662,

e = will fail. This breaks xen, as other services depending on proc-xen.mount = also fail.

What is the preferred way to deal with this in upstream = xen?



thank you,
- Vasilis
--=__PartECD46A0A.1__=-- --=__PartECD46A0A.0__= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --=__PartECD46A0A.0__=--