Xendomains doesn't starts correctly
Hi,
I have upgraded alpine linux from 2.3 to 2.4.3 and xendomains doesn’t
starts properly. The only error that daemon shows is “ERROR: xendomains
failed to start”.
After some trial and error, I detected that adding a “sleep 10” between
lines 41 and 42 overcomes the problem but it isn’t a elegant solution.
I have no idea about the reason of this error nor why this simple sleep
does that it works.
In any case, as a preliminary work-around, the diff is:
--- xendomains.old
+++ xendomains
@@ -39,6 +39,7 @@
if using_screen ; then
ebegin "Creating screen session to hold domain consoles"
( screen -c ${SCREENRC:-/dev/null} -d -m -S ${SCREEN_NAME} -t dom0 \
+ && sleep 10 \
&& ${screen_cmd} zombie dr \
&& logrotate -f /etc/xen/xen-consoles.logrotate \
&& ${screen_cmd} logfile /var/log/xen-consoles/%t.log \
Can I do something to help in the bug resolution?
Many thanks in advance.
Take care,
Joan
(from redmine: issue id 1181, created on 2012-06-01, closed on 2012-07-03)
- Changesets:
- Revision e247ca04 by Natanael Copa on 2012-06-21T13:33:56Z:
main/xen: fix xendomains init script to wait for screen
We need wait til the detatched screen has created the connection
sockets before trying to set the opts to it.
ref #1181
- Revision d3bebbe0 by Natanael Copa on 2012-06-22T12:49:08Z:
main/xen: fix xendomains init script to wait for screen
We need wait til the detatched screen has created the connection
sockets before trying to set the opts to it.
fixes #1181
(cherry picked from commit e247ca0455a53e070f24b72688e6b6aafbdd9a11)
- Revision a9d7e1f8 by Natanael Copa on 2012-06-22T14:45:48Z:
main/xen: use default screendir location
ref #1181
Otherwise screen -x will not work without manually setting screen dir
(cherry picked from commit 01f58adb24ce238a77eeac9569e708dbb121776d)