Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Fixed] xenstored syntax error on line 21 operand
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
ch102247
n00b
n00b


Joined: 27 Jan 2014
Posts: 2

PostPosted: Tue Jan 28, 2014 1:38 am    Post subject: [Fixed] xenstored syntax error on line 21 operand Reply with quote

After the last update world, Xen was upgraded to 4.3.1-r1. During startup, when it gets to starting xenstored, I get the following, just repeating infinitely:

Code:
./etc/init.d/xenstored: line 21: ((: /run/xenstored: syntax error: operand expected (error token is "/run/xenstored")


This prevents me from continuing the boot, it only responds to a Ctrl-Alt-Del. If I boot a non-xen kernel, it can't run this, and boot completes. I've taken xenstored and xenconsoled out of the default boot sequence, and now I can boot with a xen kernel. If I try manually starting xenstored, I get the same error message, but can control-C to end it. I looked in the system log and didn't see much:


Code:
Jan 27 16:45:43  kernel: [ 2148.786240] xen_pciback: backend is vpci
Jan 27 16:45:43  kernel: [ 2148.806721] xen_acpi_processor: Uploading Xen processor PM info
Jan 27 16:45:43  xenstored: Checking store ...
Jan 27 16:45:43  xenstored: Checking store complete.
Jan 27 16:45:43  xenstored: Checking store ...
Jan 27 16:45:43  xenstored: Checking store complete.
Jan 27 16:45:46  /etc/init.d/xenstored[5707]: xenstored: caught SIGINT, aborting


I've been looking around for a while, haven't seen anyone else having this issue, any thoughts or additional places I should be looking for information? Kernel is 3.11.2 hardened. Thanks!


Last edited by ch102247 on Thu Jan 30, 2014 1:23 am; edited 1 time in total
Back to top
View user's profile Send private message
hm1
n00b
n00b


Joined: 28 Jan 2014
Posts: 1

PostPosted: Tue Jan 28, 2014 5:42 pm    Post subject: Reply with quote

Hi,

Apparently it's a minor bug in the script which is reusing the same variable. You can fix it by inserting a new line 21 on /etc/init.d/xenstored with i=0 (right before the line "until xenstore-exists ...)
Back to top
View user's profile Send private message
ch102247
n00b
n00b


Joined: 27 Jan 2014
Posts: 2

PostPosted: Thu Jan 30, 2014 1:23 am    Post subject: Reply with quote

Thanks, that seems to have fixed it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum