with SCREEN=yes, "/etc/init.d/xendomains stop" fails when it cannot successfully shut down the screen session attached to the automatically started domU consoles. this can, for example, happen when root attached himself to the screen session using "screen -DR" and more or less accidentally closing it afterwards. solution: check whether the xen screen session is running at all by sending "sleep 0" first and if that exits with 0, then send "quit", if not, eend 0 (see patch 1). alternative solution: make "quit" be non-fatal in any case (see patch 2).
Created attachment 173484 [details, diff] xendomains patch 1
Created attachment 173485 [details, diff] xendomains patch 2
ping
Just do it, Wolfram. Noone will be upset if you fix it.
In portage (3.4.1-r1).