Skip to contentSkip to conversation

libxenstore from 4.1 incompatible with xenstore from 4.0

DISCUSSION Bastian Blank 2 participants 8 messages Apr 11, 2011 – May 19, 2011

lore
Share & tools
lore
#0 lore raw

Hi

libxenstore 4.1 is incompatible with the xenstore of 4.0. xs_domain_open was changed to use the socket if possible. The socket lacks the domain-rewrite feature of the kernel, so the daemon will get the relative path and bail out.

Bastian

Signature · 3 lines
Is truth not truth for all?
		-- Natira, "For the World is Hollow and I have Touched
		   the Sky", stardate 5476.4.
#1 lore raw

Bastian Blank writes ("[Xen-devel] libxenstore from 4.1 incompatible with xenstore from 4.0"):

Quoted 4 lines

libxenstore 4.1 is incompatible with the xenstore of 4.0. xs_domain_open was changed to use the socket if possible. The socket lacks the domain-rewrite feature of the kernel, so the daemon will get the relative path and bail out.

With which callers of libxenstore are you seeing this as a problem ?

Ian.

#2 lore raw
Quoted 6 lines · Ian Jackson

Bastian Blank writes ("[Xen-devel] libxenstore from 4.1 incompatible with xenstore from 4.0"):

Quoted 4 lines

libxenstore 4.1 is incompatible with the xenstore of 4.0. xs_domain_open was changed to use the socket if possible. The socket lacks the domain-rewrite feature of the kernel, so the daemon will get the relative path and bail out.

With which callers of libxenstore are you seeing this as a problem ?

The hotplug scripts. They use XENBUS_PATH provided by the kernel, which is relative.

Bastian

Signature · 3 lines
Genius doesn't work on an assembly line basis.  You can't simply say,
"Today I will be brilliant."
		-- Kirk, "The Ultimate Computer", stardate 4731.3
#3 lore raw

Bastian Blank writes ("Re: [Xen-devel] libxenstore from 4.1 incompatible with xenstore from 4.0"):

Quoted 5 lines · Ian Jackson
Quoted 1 line

With which callers of libxenstore are you seeing this as a problem ?

The hotplug scripts. They use XENBUS_PATH provided by the kernel, which is relative.

I don't understand why this isn't a problem for us. What is different about your setup ?

Ian.

#4 lore raw
Quoted 7 lines · Ian Jackson

Bastian Blank writes ("Re: [Xen-devel] libxenstore from 4.1 incompatible with xenstore from 4.0"):

Quoted 4 lines · Ian Jackson
Quoted 1 line

With which callers of libxenstore are you seeing this as a problem ?

The hotplug scripts. They use XENBUS_PATH provided by the kernel, which is relative.

I don't understand why this isn't a problem for us. What is different about your setup ?

Take Xen 4.0 and the libxenstore from 4.1 and see if it still works. As long as you consider Xen with all its parts inseparable this is no problem. However, the ABI names makes no sense then.

Debian unstable ships one libxenstore (which is 4.1 in the meantime) but may use several versions of the core Xen tools depending on the hypervisor.

Bastian

Signature · 3 lines
... bacteriological warfare ... hard to believe we were once foolish
enough to play around with that.
		-- McCoy, "The Omega Glory", stardate unknown
#5 lore raw

Bastian Blank writes ("Re: [Xen-devel] libxenstore from 4.1 incompatible with xenstore from 4.0"):

Quoted 1 line

Take Xen 4.0 and the libxenstore from 4.1 and see if it still works.

You're using the new libxenstore with older versions of the calling programs from the xen-4.0 tree ? I don't think this is a support combination.

Ian.

#6 lore raw
Quoted 4 lines · Ian Jackson

Bastian Blank writes ("Re: [Xen-devel] libxenstore from 4.1 incompatible with xenstore from 4.0"):

Quoted 1 line

Take Xen 4.0 and the libxenstore from 4.1 and see if it still works.

You're using the new libxenstore with older versions of the calling programs from the xen-4.0 tree ?

I'm using libxenstore and the xenstore utils from 4.1 and xenstored plus hypervisor from 4.0.

Quoted 2 lines

I don't think this is a support
combination.

Well. The abiname of libxenstore tells a different story.

Bastian

Signature · 3 lines
	"Beauty is transitory."
	"Beauty survives."
		-- Spock and Kirk, "That Which Survives", stardate unknown
#7 lore raw

Bastian Blank writes ("Re: [Xen-devel] libxenstore from 4.1 incompatible with xenstore from 4.0"):

Quoted 11 lines · Ian Jackson
Quoted 2 lines

You're using the new libxenstore with older versions of the calling programs from the xen-4.0 tree ?

I'm using libxenstore and the xenstore utils from 4.1 and xenstored plus hypervisor from 4.0.

Quoted 2 lines

I don't think this is a support
combination.

Well. The abiname of libxenstore tells a different story.

I'm sorry that we then apparently forgot to increment the version for xenstore. I think it's too late now. We should bump it for 4.2.

Ian.