[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 1/2] make xen ocaml safe-strings compliant
On Thu, Feb 08, 2018 at 06:03:48PM +0000, Wei Liu wrote: > On Thu, Feb 08, 2018 at 06:49:58PM +0100, Dario Faggioli wrote: > > On Tue, 2018-01-30 at 22:55 +0000, Michael Young wrote: > > > Xen built with ocaml 4.06 gives errors such as > > > Error: This expression has type bytes but an expression was > > > expected of type string > > > as Byte and safe-strings which were introduced in 4.02 are the > > > default in 4.06. > > > This patch which is partly by Richard W.M. Jones of Red Hat > > > from https://bugzilla.redhat.com/show_bug.cgi?id=1526703 > > > fixes these issues. > > > > > > Signed-off-by: Michael Young <m.a.young@xxxxxxxxxxxx> > > > Reviewed-by: Christian Lindig <christian.lindig@xxxxxxxxxx> > > > > > So, with this patch, oxenstord does not start for me. > > > > Systemd says this (sorry, it's not the full output.. I don't have it > > right now, but can produce it): > > > > systemctl status xenstored > > ... > > Active: failed (Result: protocol) since Thu 2018-02-08 17:47:56 CET; 12min > > ago > > ... > > Feb 08 17:47:56 Zhaman systemd[1]: xenstored.service: Failed with result > > 'protocol'. > > > > Just running oxenstored from command line seems to exits with 0, but > > there's not an oxenstored process running. > > > > Getting rid of what is now commit "make xen ocaml safe-strings > > compliant" (df1e4c6e7f8892e950433ff33c215df0cd7b30f7), things work > > again for me. > > > > OK. I will revert the relevant commits in staging. I'm sure this will > block osstest flights. > Correction: osstest currently still runs Debian jessie, which has ocaml 4.01, which means the bump to 4.02 in staging is likely cause oxenstored to be disabled. New flights could still pass but that's due to oxenstored not getting tested. It is convoluted, I know. :-/ I need to at least revert the safe-string patches in staging. As for the version bump, I'm not so sure. On one hand it is useless in its own and leaving the bump in tree actually stops the testing of oxenstored, on the other hand it is a must-have for safe-string patch, assuming we will have a proper safe-string fix soon-ish we can leave them in staging. Christian, do you have any idea when you can look into fixing the safe-string patch? And osstest should really be upgraded to strech (which has 4.02). Wei. > Wei. > > > Regards, > > Dario > > > > PS. There has been a v2 of this patch, I think, but I don't have in my > > emails any longer, so I'm replying to this one. > > > > -- > > <<This happens because I choose it to happen!>> (Raistlin Majere) > > ----------------------------------------------------------------- > > Dario Faggioli, Ph.D, http://about.me/dario.faggioli > > Software Engineer @ SUSE https://www.suse.com/ > > _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |