First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 148628
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Andrew Ross (RETIRED) <aross@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Robert S <robert.spam.me.senseless@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 148628 depends on: Show dependency tree
Show dependency graph
Bug 148628 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-09-22 04:28 0000
My /etc/xen/auto dir. contains the following line:

name = "debian31"

When I start /etc/init.d/xendomains it gives the domain the title 'debian31"' -
this should be 'debian31' without the ".
# /etc/init.d/xendomains start 
 * Starting Xen domains from /etc/xen/auto 
 * Creating screen session to hold domain consoles ... [ ok ] 
 * Starting domain debian31" ... [ ok ] 

When I shut this down, it doesn't recognise this domain:
# /etc/init.d/xendomains stop 
 * Shutting down Xen domains from /etc/xen/auto 
 * Not stopping domain debian31" - not running 
 * Closing screen session xen ... 

This seems to screw things up when I reboot - the domain won't start.

The solution is: don't use numbers in the xen domain name (maybe the init
script should point this out if this is important) OR to replace ":alpha:" with
":alnum:" in line 14 in the /etc/init.d/xendomains script thus

local name_from_file=$(sed -rn 's/^name\W*=\W*\"?([[:alpha:]_]+)\"?\W*;?/\1/p'
"${1}" | tail -n 1)

changes to 

local name_from_file=$(sed -rn 's/^name\W*=\W*\"?([[:alnum:]_]+)\"?\W*;?/\1/p'
"${1}" | tail -n 1)

------- Comment #1 From Andrew Ross (RETIRED) 2006-09-22 07:29:49 0000 -------
Thanks, your fix will be included in -r4

------- Comment #2 From Robert S 2006-09-24 04:51:34 0000 -------
Maybe a few other character should be allowed.  The demo domains have "-" and
"." in them.  I think that these should work run without errors.

------- Comment #3 From Andrew Ross (RETIRED) 2006-10-13 17:06:40 0000 -------
Fixed in app-emulation/xen-tools-3.0.2-r4, thanks.

First Last Prev Next    No search results available      Search page      Enter new bug